diff options
Diffstat (limited to 'lang/swift/files/patch-swift-docs-conf.py')
-rw-r--r-- | lang/swift/files/patch-swift-docs-conf.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/swift/files/patch-swift-docs-conf.py b/lang/swift/files/patch-swift-docs-conf.py new file mode 100644 index 000000000000..bd485f6a4042 --- /dev/null +++ b/lang/swift/files/patch-swift-docs-conf.py @@ -0,0 +1,20 @@ +--- swift/docs/conf.py.orig 2017-04-21 21:18:29.000000000 +0000 ++++ swift/docs/conf.py 2018-01-22 12:34:17.478075000 +0000 +@@ -29,7 +29,7 @@ + extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo'] + + # Add any paths that contain templates here, relative to this directory. +-templates_path = ['_templates'] ++templates_path = ['_templates', 'archive'] + + # The suffix of source filenames. + source_suffix = '.rst' +@@ -146,7 +146,7 @@ + + # Additional templates that should be rendered to pages, maps page names to + # template names. +-html_additional_pages = {'LangRef': 'archive/LangRef.html'} ++html_additional_pages = {'archive/LangRef': 'LangRef.html'} + + # If false, no module index is generated. + # html_domain_indices = True |