freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] builds/freetype.mk: Invoke `mkdocs` as


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] builds/freetype.mk: Invoke `mkdocs` as a Python module
Date: Sat, 19 Aug 2023 12:39:24 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • e907eef6
    by Hugh McMaster at 2023-08-19T22:02:14+10:00
    builds/freetype.mk: Invoke `mkdocs` as a Python module
    
    FreeType's `refdoc` target currently allows users to override the
    default Python path, which is useful for testing and development.
    
    In contrast, `mkdocs` is invoked via the default Python path.
    
    Invoking `mkdocs` via Python's module syntax allows for greater
    flexibility, although there is no change for the default use case.
    

1 changed file:

Changes:

  • builds/freetype.mk
    ... ... @@ -299,7 +299,7 @@ refdoc:
    299 299
                       $(PUBLIC_DIR)/config/*.h \
    
    300 300
                       $(PUBLIC_DIR)/cache/*.h
    
    301 301
     	@echo Building static site...
    
    302
    -	cd $(DOC_DIR) && mkdocs build
    
    302
    +	cd $(DOC_DIR) && $(PYTHON) -m mkdocs build
    
    303 303
     	@echo Done.
    
    304 304
     
    
    305 305
     # Variables for running `refdoc' with Python's `virtualenv'.  The
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]