From 421ec972768b46ba453bb3760b451f05e72a1da6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 Jun 2016 11:20:13 +1000 Subject: 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). --- doc/python_api/rst/bge.texture.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/python_api/rst/bge.texture.rst') diff --git a/doc/python_api/rst/bge.texture.rst b/doc/python_api/rst/bge.texture.rst index 0c049a50fd4..f5d325f7ce8 100644 --- a/doc/python_api/rst/bge.texture.rst +++ b/doc/python_api/rst/bge.texture.rst @@ -39,26 +39,26 @@ When the texture object is deleted, the new texture is deleted and the old textu .. module:: bge.texture -.. include:: ../examples/bge.texture.py +.. include:: __/examples/bge.texture.py :start-line: 1 :end-line: 5 -.. literalinclude:: ../examples/bge.texture.py +.. literalinclude:: __/examples/bge.texture.py :lines: 7- -.. include:: ../examples/bge.texture.1.py +.. include:: __/examples/bge.texture.1.py :start-line: 1 :end-line: 6 -.. literalinclude:: ../examples/bge.texture.1.py +.. literalinclude:: __/examples/bge.texture.1.py :lines: 8- -.. include:: ../examples/bge.texture.2.py +.. include:: __/examples/bge.texture.2.py :start-line: 1 :end-line: 6 -.. literalinclude:: ../examples/bge.texture.2.py +.. literalinclude:: __/examples/bge.texture.2.py :lines: 8- -- cgit v1.2.3