Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-13 10:59:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-13 10:59:09 +0400
commitc40b976ea87bcbab01a8f939d20996ba1a465772 (patch)
tree5b7b30fbe96e89dd766593451ec98409f81718c4 /GNUmakefile
parent7360f64a5138ce633fda93fbe06d850daa649d57 (diff)
py docs - gpu module wasn't included in docs.
also added convenience target to build sphinx api docs: make doc_py
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile14
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