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). --- release/scripts/modules/bpy/utils/previews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/modules/bpy/utils/previews.py b/release/scripts/modules/bpy/utils/previews.py index c67c523ea72..568116b027c 100644 --- a/release/scripts/modules/bpy/utils/previews.py +++ b/release/scripts/modules/bpy/utils/previews.py @@ -30,7 +30,7 @@ This allows scripts to generate their own previews, and use them as icons in UI Custom Icon Example ------------------- -.. literalinclude:: ../../../release/scripts/templates_py/ui_previews_custom_icon.py +.. literalinclude:: __/__/__/release/scripts/templates_py/ui_previews_custom_icon.py """ __all__ = ( -- cgit v1.2.3