Skip to content

Commit 8eaf163

Browse files
committed
Give up on multiple readthedocs PDFs
It doesn't appear possible to adapt the readthedocs build process to generate multiple PDFs (readthedocs/readthedocs.org#2045). Instead, build Getting Started and Walkthough files locally and serve them from doc/_static.
1 parent 1f2dd1e commit 8eaf163

File tree

4 files changed

+5
-21
lines changed

4 files changed

+5
-21
lines changed

doc/_static/MDTF_getting_started.pdf

135 KB
Binary file not shown.

doc/_static/MDTF_walkthrough.pdf

267 KB
Binary file not shown.

doc/conf.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103
#
104104
html_theme_options = {
105105
'extra_nav_links' : {
106-
"Getting Started (PDF)": "https://buildmedia.readthedocs.org/media/pdf/MDTF-diagnostics/latest/MDTF_getting_started.pdf",
107-
"Developer's Walkthough (PDF)": "https://buildmedia.readthedocs.org/media/pdf/MDTF-diagnostics/latest/MDTF_walkthrough.pdf",
108-
"Full documentation (PDF)": "https://buildmedia.readthedocs.org/media/pdf/MDTF-diagnostics/latest/mdtf-diagnostics.pdf"
106+
"Getting Started (PDF)": "https://mdtf-diagnostics.readthedocs.io/en/latest/_static/MDTF_getting_started.pdf",
107+
"Developer's Walkthough (PDF)": "https://mdtf-diagnostics.readthedocs.io/en/latest/_static/MDTF_walkthrough.pdf",
108+
"Full documentation (PDF)": "https://mdtf-diagnostics.readthedocs.io/_/downloads/en/latest/pdf/"
109109
}
110110
}
111111

@@ -177,13 +177,13 @@
177177
u'MDTF Diagnostics Documentation', author, 'manual'
178178
),
179179
(
180-
'tex_getting_started', 'MDTF_getting_started.tex_',
180+
'tex_getting_started', 'MDTF_getting_started.tex',
181181
u"MDTF Getting Started Guide",
182182
r"Thomas Jackson (GFDL), Yi-Hung Kuo (UCLA), Dani Coleman (NCAR)",
183183
'sphinxmdtfhowto'
184184
),
185185
(
186-
'tex_walkthrough', 'MDTF_walkthrough.tex_',
186+
'tex_walkthrough', 'MDTF_walkthrough.tex',
187187
u"MDTF Developer's Walkthrough",
188188
(
189189
r"Yi-Hung Kuo\textsuperscript{a} \and Dani Coleman\textsuperscript{b} "
@@ -197,7 +197,6 @@
197197
]
198198

199199
latex_additional_files = [
200-
'latex/latexmkrc',
201200
'latex/sphinxmdtfhowto.cls'
202201
]
203202

doc/latex/latexmkrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)