View | Details | Raw Unified | Return to bug 221891 | Differences between
and this patch

Collapse All | Expand All

(-)lang/swift/files/patch-swift-docs-CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- swift/docs/CMakeLists.txt.orig	2017-04-21 21:18:29.000000000 +0000
2
+++ swift/docs/CMakeLists.txt	2018-01-22 08:47:29.543188000 +0000
3
@@ -11,7 +11,7 @@
4
 
5
 SET(SPHINX_ARGS
6
   -W
7
-  -D latex_paper_size=${SWIFT_SPHINX_PAPER_SIZE}
8
+  -D latex_elements.papersize=${SWIFT_SPHINX_PAPER_SIZE}
9
   -d ${CMAKE_BINARY_DIR}/doctrees)
10
 
11
 if(SPHINX_EXECUTABLE)
(-)lang/swift/files/patch-swift-docs-conf.py (+20 lines)
Line 0 Link Here
1
--- swift/docs/conf.py.orig	2017-04-21 21:18:29.000000000 +0000
2
+++ swift/docs/conf.py	2018-01-22 12:34:17.478075000 +0000
3
@@ -29,7 +29,7 @@
4
 extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
5
 
6
 # Add any paths that contain templates here, relative to this directory.
7
-templates_path = ['_templates']
8
+templates_path = ['_templates', 'archive']
9
 
10
 # The suffix of source filenames.
11
 source_suffix = '.rst'
12
@@ -146,7 +146,7 @@
13
 
14
 # Additional templates that should be rendered to pages, maps page names to
15
 # template names.
16
-html_additional_pages = {'LangRef': 'archive/LangRef.html'}
17
+html_additional_pages = {'archive/LangRef': 'LangRef.html'}
18
 
19
 # If false, no module index is generated.
20
 # html_domain_indices = True
(-)lang/swift/files/patch-swift-docs-proposals-InitializerInheritance.rst (+11 lines)
Line 0 Link Here
1
--- swift/docs/proposals/InitializerInheritance.rst.orig	2017-04-21 21:18:29.000000000 +0000
2
+++ swift/docs/proposals/InitializerInheritance.rst	2018-01-22 11:07:00.559384000 +0000
3
@@ -135,7 +135,7 @@
4
 Complete object initializers
5
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
 Introduce the notion of a complete object initializer, which is
7
-written as an initializer with ``Self`` as its return type [#], e.g.::
8
+written as an initializer with ``Self`` as its return type [#]_, e.g.::
9
 
10
   init() -> Self {
11
     // ...

Return to bug 221891