# HG changeset patch
# User Florent Hivert <Florent.Hivert@univ-rouen.fr>
# Date 1359115728 -3600
# Node ID 8bececb7898445d5cb6fe97ee58930a0e9d34835
# Parent 43f14746117b5d05f54d33cdf050dbf38389b002
[mq]: trac-6495_silence_warning-fh.patch
diff --git a/doc/common/conf.py b/doc/common/conf.py
a
|
b
|
extlinks = { |
125 | 125 | 'trac': ('http://trac.sagemath.org/%s', 'trac ticket #'), |
126 | 126 | 'wikipedia': ('http://en.wikipedia.org/wiki/%s', 'Wikipedia article ')} |
127 | 127 | |
| 128 | # By default document are not master. |
| 129 | multidocs_is_master = True |
| 130 | |
128 | 131 | # Options for HTML output |
129 | 132 | # ----------------------- |
130 | 133 | |
diff --git a/doc/common/multidocs.py b/doc/common/multidocs.py
a
|
b
|
def init_subdoc(app): |
229 | 229 | app.info(bold("Compiling the master document")) |
230 | 230 | app.connect('env-updated', merge_environment) |
231 | 231 | app.connect('html-collect-pages', merge_js_index) |
| 232 | if app.config.multidocs_subdoc_list: |
| 233 | # Master file with indexes computed by merging indexes: |
| 234 | # Monkey patch index fetching to silence warning about broken index |
| 235 | def load_indexer(docnames): |
| 236 | app.builder.info(bold('Skipping loading of indexes'), nonl=1) |
| 237 | app.builder.load_indexer = load_indexer |
| 238 | |
232 | 239 | else: |
233 | 240 | app.info(bold("Compiling a sub-document")) |
234 | 241 | app.connect('env-updated', fetch_citation) |
diff --git a/doc/en/website/conf.py b/doc/en/website/conf.py
a
|
b
|
latex_documents = [ |
33 | 33 | u'The Sage Development Team', 'manual'), |
34 | 34 | ] |
35 | 35 | |
36 | | |
37 | | |
38 | 36 | html_additional_pages = { |
39 | 37 | 'index': 'index.html', |
40 | 38 | } |