|
149 | 149 | # Grouping the document tree into LaTeX files. List of tuples
|
150 | 150 | # (source start file, target name, title,
|
151 | 151 | # author, documentclass [howto, manual, or own class]).
|
152 |
| -latex_documents = [ |
153 |
| - ('01_overview/index', 'osd-overview.tex', u'Open SoC Debug Overview', |
154 |
| - u'The Open SoC Debug Contributors', 'manual'), |
155 |
| - |
156 |
| - ('02_spec/index', 'osd-spec.tex', u'Open SoC Debug Specification', |
157 |
| - u'The Open SoC Debug Contributors', 'manual'), |
158 |
| - |
159 |
| - ('03_user/index', 'osd-userguide.tex', u'Open SoC Debug User Guides', |
160 |
| - u'The Open SoC Debug Contributors', 'manual'), |
161 |
| - |
162 |
| - ('04_implementer/index', 'osd-implementerguide.tex', |
163 |
| - u'Open SoC Debug Implementer Guides', |
164 |
| - u'The Open SoC Debug Contributors', 'manual'), |
165 |
| - |
166 |
| - # The last document is the one and only one made available by RTD |
| 152 | +latex_documents = [] |
| 153 | +if not read_the_docs_build: |
| 154 | + latex_documents += [ |
| 155 | + ('01_overview/index', 'osd-overview.tex', u'Open SoC Debug Overview', |
| 156 | + u'The Open SoC Debug Contributors', 'manual'), |
| 157 | + |
| 158 | + ('02_spec/index', 'osd-spec.tex', u'Open SoC Debug Specification', |
| 159 | + u'The Open SoC Debug Contributors', 'manual'), |
| 160 | + |
| 161 | + ('03_user/index', 'osd-userguide.tex', u'Open SoC Debug User Guides', |
| 162 | + u'The Open SoC Debug Contributors', 'manual'), |
| 163 | + |
| 164 | + ('04_implementer/index', 'osd-implementerguide.tex', |
| 165 | + u'Open SoC Debug Implementer Guides', |
| 166 | + u'The Open SoC Debug Contributors', 'manual'), |
| 167 | + ] |
| 168 | + |
| 169 | +# ReadTheDocs only supports a single PDF document, make the combined doc |
| 170 | +# available. |
| 171 | +latex_documents += [ |
167 | 172 | (master_doc, 'opensocdebug.tex',
|
168 | 173 | u'Open SoC Debug Documentation Library',
|
169 | 174 | u'The Open SoC Debug Contributors', 'manual'),
|
|
0 commit comments