diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index aad3c58938c..f92b0093eae 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -145,6 +145,9 @@ help: @echo " * check_splint - run blenders source through splint (C only)" @echo " * check_sparse - run blenders source through sparse (C only)" @echo "" + @echo "Documentation Targets" + @echo " * doc_py - generate sphinx python api docs" + @echo "" # ----------------------------------------------------------------------------- # Packages @@ -222,6 +225,17 @@ check_sparse: cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_sparse.py +# ----------------------------------------------------------------------------- +# Documentation +# + +# Simple version of ./doc/python_api/sphinx_doc_gen.sh with no PDF generation. +doc_py: + $(BUILD_DIR)/bin/blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py + cd doc/python_api ; sphinx-build -n -b html sphinx-in sphinx-out + @echo "docs written into: 'doc/python_api/sphinx-out/index.html'" + + clean: $(MAKE) -C $(BUILD_DIR) clean |