Skip to content

Commit 56b314f

Browse files
danielpunkassCodaFi
authored andcommitted
Fix documentation build (swiftlang#9980)
* Fix a documentation build failure caused by missing _ underscore in footnote citation. * Get archive/LangRef.html building again. I'm not sure this is the most desirable way to address the failure to locate archive/LangRef.html but I confirmed this causes the desired _build/html/archive/LangRef.html to be created when making docs.
1 parent 6c836db commit 56b314f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
3030

3131
# Add any paths that contain templates here, relative to this directory.
32-
templates_path = ['_templates']
32+
templates_path = ['_templates', 'archive']
3333

3434
# The suffix of source filenames.
3535
source_suffix = '.rst'
@@ -146,7 +146,7 @@
146146

147147
# Additional templates that should be rendered to pages, maps page names to
148148
# template names.
149-
html_additional_pages = {'LangRef': 'archive/LangRef.html'}
149+
html_additional_pages = {'archive/LangRef': 'LangRef.html'}
150150

151151
# If false, no module index is generated.
152152
# html_domain_indices = True

docs/proposals/InitializerInheritance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ doing so is safe.
135135
Complete object initializers
136136
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137137
Introduce the notion of a complete object initializer, which is
138-
written as an initializer with ``Self`` as its return type [#], e.g.::
138+
written as an initializer with ``Self`` as its return type [#]_, e.g.::
139139

140140
init() -> Self {
141141
// ...

0 commit comments

Comments
 (0)