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>2016-06-12 04:20:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-12 04:31:28 +0300
commit421ec972768b46ba453bb3760b451f05e72a1da6 (patch)
tree0a5363f0163557d6a6558f188a70a416228b9d98 /doc/python_api/rst_from_bmesh_opdefines.py
parent2b15a588a1877231d73f8dd8ad81f8a6c0a850af (diff)
Docs: Support out-of-source reference-API builds
This was originally supported, however relative links to examples & templates made it fail. Now files in the source tree are copied to the build-dir, with ".." replaced with "__" to avoid having to mirror Blender's source-layout in the Sphinx build-dir. Also skip uploading the built docs when an SSH user-name isn't passed to sphinx_doc_gen.sh instead of aborting (so people w/o SSH access to our servers can use the shell-script).
Diffstat (limited to 'doc/python_api/rst_from_bmesh_opdefines.py')
-rw-r--r--doc/python_api/rst_from_bmesh_opdefines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py
index ebcedbf71f1..cdbed88cc88 100644
--- a/doc/python_api/rst_from_bmesh_opdefines.py
+++ b/doc/python_api/rst_from_bmesh_opdefines.py
@@ -57,7 +57,7 @@ Operator Example
++++++++++++++++
This script shows how operators can be used to model a link of a chain.
-.. literalinclude:: ../examples/bmesh.ops.1.py
+.. literalinclude:: __/examples/bmesh.ops.1.py
"""