freebsd-ports/lang/swift/files/patch-swift-docs-conf.py
Marcelo Araujo 761493be4d - Update textproc/py-sphinx to 1.6.5. [0]
- Update all ports that depends of py-sphinx. [0]
- Add conditional RUN_DEPENDS. [1]
- Add TEST_DEPENDS. [1]

PR:		ports/221891 [0] and ports/225136 [1]
Submitted by:	sunpoet [1]
Approved by:	antoine (portmgr)
Exprun by:	antoine (several rounds)
Sponsored by:	iXsystems, Inc.
2018-01-29 06:45:16 +00:00

20 lines
730 B
Python

--- 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