Commit Graph

188 Commits

Author SHA1 Message Date
tk0miya
b9aa71ec39 Update comment for adhoc changes 2014-08-12 19:47:59 +09:00
tk0miya
5725ee0e82 Fix numbering section does not work at singlehtml mode (adhoc) 2014-08-12 11:22:34 +09:00
Takayuki Shimizukawa
f7399a261a Add app.set_translator() API to register or override a Docutils translator class like :confval:html_translator_class. 2014-08-05 00:18:54 +09:00
Takayuki Shimizukawa
2ba3e561b2 * fix over 80 chars line and remove unused import. 2014-06-15 15:42:23 +09:00
Takayuki Shimizukawa
ba4dcaa8dd use b prefix for bytes instead of sphinx.pycompat.b function. 2014-05-01 22:54:09 +09:00
Takayuki Shimizukawa
1e58062692 remove 'six' name except importing line. 2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
00eff0b7f6 use six privided text_type() to replace with unicode() to support py2/py3 in one source. refs #1350. 2014-04-29 23:44:12 +09:00
Takayuki Shimizukawa
ce4d342e20 use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350. 2014-04-29 21:20:56 +09:00
Takayuki Shimizukawa
c3c879f2c6 use six privided functions/classes to support py2/py3 in one source. refs #1350. 2014-04-29 19:59:58 +09:00
Georg Brandl
afd6c0b28d Merged in shibu/sphinx/add_stemmer (pull request #214) 2014-03-04 19:10:19 +01:00
Georg Brandl
ac92719ac3 Update copyright year. 2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Dmitry Shachnev
953b33d3f7 Merge 2014-01-22 18:34:51 +04:00
shibukawa yoshiki
ca63dba2ad merge default 2014-01-22 00:10:09 -08:00
shibukawa yoshiki
6892b5f191 Add html_search_* options templates to conf.py
Fix encode error when building
Add printing search language label when building
2014-01-20 20:41:47 -08:00
Georg Brandl
317930a7fb merge with stable 2014-01-20 21:21:33 +01:00
Viktor Haag
3c0c9cd198 updates per Georg Brandl:
- Change alteration to docs to express path relative to "configuration directory" and not "conf.py"
- Update block in HTML builder copying favicon to _static to mirror handling of html_logo
2014-01-20 13:27:52 -05:00
Viktor Haag
3706ed02ac address issue #1352 -- make sure to check for the actual file stored in config.html_logo. 2014-01-20 10:37:37 -05:00
Dmitry Shachnev
c2eaf2af81 Merge 2014-01-20 18:32:47 +04:00
Georg Brandl
8c2fabe117 The deprecated config values `exclude_trees, exclude_dirnames and unused_docs` have been removed. 2014-01-19 17:46:06 +01:00
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Takayuki Shimizukawa
cc7509966c merge heads 2014-01-15 05:25:56 +00:00
Georg Brandl
8d2715ebd9 html builder: add missing "done" output 2014-01-11 19:54:58 +01:00
Georg Brandl
9afe960855 Closes #1319: Do not crash if the `html_logo` file does not exist. 2014-01-10 15:07:17 +01:00
Takayuki Shimizukawa
a8fc938d1b Drop python-2.5 and remove 2.4,2.5 support codes 2013-12-15 14:16:53 +09:00
Georg Brandl
8b85355a22 Fix new html_extra_path option for singlehtml builder. 2013-09-16 04:33:02 +02:00
Matthias C. M. Troffaes
af73fc486e Actual implementation. 2013-08-22 09:30:25 +01:00
Takayuki Shimizukawa
f26de54a12 Support docutils.conf 'writers' and 'html4css1 writer' section by html writer.
latex, manpage and texinfo writers support 'writers' section.
2013-07-26 23:23:46 +09:00
Dmitry Shachnev
cec583b119 SingleHtml builder now calls write_doc_serialized(). Closes #1162. 2013-05-05 21:21:06 +04:00
Georg Brandl
ba39edb5db merge with parallel repo 2013-03-29 13:01:21 +01:00
Georg Brandl
519be8ed6e html builder: rename get_object_hash to get_stable hash
Also amend the docstring so that it is easier to understand the need for the function.
2013-03-29 11:17:34 +01:00
Roland Meister
a567d77e51 epub_use_index instead of html_use_index for epub builder (Issue #1106)
The change adds the method get_builder_config.
This allows use of the option epub_use_index instead
of html_use_index for epub output.
2013-03-06 18:43:21 +01:00
Takayuki Shimizukawa
a1bf7dbcf8 fix: output all html every time with python3.3.
Sphinx detect config changing by hash(str(cfgdict)).
In python3.3, str(dict_instance) retun another string per process.
2013-01-15 14:16:16 +09:00
Georg Brandl
5cd0841e5f builder: fix parallel build globals problems by splitting write_doc in two
stages: write_doc() and write_doc_serialized(), the latter of which is not
called in the parallel processes.

This costs speedup, of course: from about 50% we are down to about 30%
improvement on my 4-core machine.
2013-01-13 19:46:34 +01:00
Georg Brandl
83c6b8231e Set "allow_parallel" to false by default. 2013-01-13 19:44:09 +01:00
Georg Brandl
1832284e89 Closes #1067: implement pluggable search scorer and tweak scoring to give good results. Patch by Hernan Grecco. 2013-01-04 11:17:32 +01:00
Roland Meister
a0ebe5a3c5 Merge with birkenfeld/sphinx 2013-01-02 09:40:37 +01:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Roland Meister
50fadb9e94 Bug #1047: templating toctree()'s includehidden argument
Document the includehidden option and give it sane defaults.
See bug #1047 for implementation alternatives.
2012-12-10 21:54:11 +01:00
ms4py
88e852aa7e Create link to full size image if it is scaled with width or height. 2012-03-16 10:45:51 +01:00
Georg Brandl
17591ffe93 Fixes #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. 2012-03-10 19:24:03 +01:00
Georg Brandl
07427c48fb Merge with 1.0. 2011-09-22 14:39:27 +02:00
Georg Brandl
f250397f77 Always close .buildinfo file after reading. 2011-09-22 14:28:31 +02:00
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00
Georg Brandl
22777a5128 #528: Observe :confval:locale_dirs when looking for the JS translations file. 2011-01-04 09:34:44 +01:00
Georg Brandl
6219286df9 Use XML-entity-replace error handling in HTML output files. Fixes test_build.test_htmlhelp. 2011-01-04 00:17:08 +01:00
amenohi
0c7d972c81 On HTML Help, ignore 'html_output_encoding' and use langage encoding. 2010-11-18 17:18:15 +09:00
Georg Brandl
936c78cd32 Section headings in :rst:dir:only directives are now correctly handled. 2011-01-08 19:56:32 +01:00
Georg Brandl
357f8472c7 #534: warning message instead of crash if invalid Pygments lexer name is used. 2010-10-22 10:02:10 +02:00
Georg Brandl
7e5ff71c40 #513: Allow giving non-local URIs for JavaScript files, e.g. in the JSMath extension. 2010-08-25 10:26:15 +00:00