Skip to content

Commit 6343acc

Browse files
committed
Make whole documentation available as PDF in RTD
Read The Docs shows only one PDF file, we currently produce multiple ones (which we'd like to keep). Generate one more "master" document which contains all other content. The only "problem" is that the top-level section is always a chapter, i.e. what is a section in the master document is a chapter in the individual documents.
1 parent eaac409 commit 6343acc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@
150150
# (source start file, target name, title,
151151
# author, documentclass [howto, manual, or own class]).
152152
latex_documents = [
153-
# (master_doc, 'opensocdebug.tex', u'Open SoC Debug Documentation Library',
154-
# u'The Open SoC Debug Contributors', 'manual'),
155-
156153
('01_overview/index', 'osd-overview.tex', u'Open SoC Debug Overview',
157154
u'The Open SoC Debug Contributors', 'manual'),
158155

@@ -165,6 +162,11 @@
165162
('04_implementer/index', 'osd-implementerguide.tex',
166163
u'Open SoC Debug Implementer Guides',
167164
u'The Open SoC Debug Contributors', 'manual'),
165+
166+
# The last document is the one and only one made available by RTD
167+
(master_doc, 'opensocdebug.tex',
168+
u'Open SoC Debug Documentation Library',
169+
u'The Open SoC Debug Contributors', 'manual'),
168170
]
169171

170172
latex_toplevel_sectioning = 'chapter'

0 commit comments

Comments
 (0)