Commit Graph
1278 Commits
Author SHA1 Message Date
Takeshi KOMIYA da94ca5699 Merge branch '2327_toplevel_sectioning' 2016-03-03 20:41:17 +09:00
Takeshi KOMIYA 3939c4d684 Merge branch '2229_suppress_warnings' 2016-03-03 20:40:38 +09:00
Takeshi KOMIYA 110c2b0dbc Fix #2327: Add latex_toplevel_sectioning to switch the top level sectioning of LaTeX document. 2016-03-02 11:18:08 +09:00
Takeshi KOMIYA c05a0f9904 Merge branch 'stable' 2016-03-02 11:15:55 +09:00
Takeshi KOMIYA 119b971804 update doc: LaTeX writer now refers maxdepth option (ref #2358) 2016-03-02 11:11:11 +09:00
Takeshi KOMIYA 2441c647d2 Fix #2229: no warning is given for unknown options 2016-02-23 12:23:06 +09:00
Takeshi KOMIYA ae9d786390 Add :confval:suppress_warnings to supress arbitrary warning message 2016-02-23 12:23:06 +09:00
Takeshi KOMIYA 84fb1b7617 Fix #2245: Add `latex_elements["passoptionstopackages"]` option to call PassOptionsToPackages in early stage of preambles 2016-02-23 00:14:03 +09:00
Takeshi KOMIYA 904163f5b6 Merge pull request #2276 from tk0miya/1921_figure_substitutions
Fix #1921: Support figure substitutions by locale
2016-02-22 23:55:53 +09:00
Takeshi KOMIYA 3f0843bca0 Add figure_language_filename to customize filename pattern for figure substitutions 2016-02-22 21:32:05 +09:00
Takeshi KOMIYA 1f5aa28db0 Fix #1921: Support figure substitutions by locale 2016-02-22 21:32:05 +09:00
shimizukawa cea8c85bf0 remove a part of description that mentioned about epub3 internal formating. 2016-02-22 10:36:39 +09:00
shimizukawa 905cbd09ed Fix: ambiguous description for epub3_page_progression_direction conf value. 2016-02-22 10:20:28 +09:00
Takeshi KOMIYA 2b93e09c0a Highlighting fallbacks by default
In 423bf7b, I tried to add fallback mechanism to ``python3``. But it breaks
the python3 highlighting on python2 environment.

This adds ``'default'`` to highlighting languages; it works like
``'python3'``, but fallbacks if failed Highlighting. And this removes
try-parse step from ``'python3'`` language. Now, it highlights regardless of
runtime environments.  Thanks to Yoshiki SHIBUKAWA.
2016-02-20 00:44:28 +09:00
shimizukawa a7ae5e39d9 fix wrong documentation 2016-02-15 09:45:04 +09:00
Takeshi KOMIYA 4452cc3d2e Fix #794: Date formatting in latex output is not localized 2016-02-14 21:48:24 +09:00
shimizukawa e6a5a3a92e classifier of glossary terms can be used for index entries grouping key. The classifier also be used for translation. See also :ref:glossary-directive. 2016-02-14 19:28:58 +09:00
shimizukawa 0992ce542b Closes #1853: support custom text splitter on html search with language='ja'. 2016-02-14 19:23:51 +09:00
Takayuki SHIMIZUKAWA e1394b5427 Merge pull request #2321 from sphinx-doc/py-3-highlighting
The default highlight language is now Python 3. Use it in viewcode as well.
2016-02-14 19:10:05 +09:00
Georg Brandl d59f23b2c8 Fix highlight languages in docs. 2016-02-14 09:37:55 +01:00
Georg Brandl c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
shimizukawa 81a0f13199 Merge pull request #1854 from mocobeta/search_ja_janome
Allow to choose Janome for Japanese splitter.
2016-02-14 16:46:21 +09:00
Takeshi KOMIYA 7a4f914f91 Fix #1286, #2099: Add `sphinx.ext.autosectionlabel` extension to allow reference sections using its title 2016-02-14 16:30:57 +09:00
Takeshi KOMIYA 56cad8ad7c docs: sort extension list alphabetically 2016-02-14 16:07:52 +09:00
Takeshi KOMIYA 2ec60d5919 Fix #1858: Support numbering custom nodes 2016-02-14 14:49:34 +09:00
Takeshi KOMIYA a391b1a1db Add Sphinx.add_enumerable_node() to add enumerable nodes for numfig feature 2016-02-14 14:49:34 +09:00
Takeshi KOMIYA dca1669b2f Merge pull request #2300 from akruis/feature_autoclass_content_from__new__
Feature: enhance autoclass:: to use the docstring of __new__ if __init__ method's is missing of empty
2016-02-14 14:45:25 +09:00
Georg Brandl 5e8642983b Fixup links in the documentation. 2016-02-13 16:00:46 +01:00
Alex Gaynor 79206ef7b1 fixed indentation here as well 2016-02-13 09:23:00 -05:00
Alex Gaynor 374c6a6db3 fixed indentation 2016-02-13 09:18:41 -05:00
Alex Gaynor 4f00a9905c Fixed #1099 -- allow the linkcheck builder to retry on errors.
This is useful because if you run linkcheck often, you are likely to see lots of transient network errors, which usually disappear if you simply try again.
2016-02-13 08:52:38 -05:00
shimizukawa 980653f277 Merge with stable
Conflicts:
	sphinx/environment.py
	sphinx/ext/autodoc.py
	sphinx/writers/latex.py
2016-02-09 23:19:49 +09:00
Eric Holscher c22f5beb75 Add suffix to HTML context. Fixes #1873 2016-02-09 18:01:12 +09:00
shimizukawa e2208c12a0 Update CHANGES and documentation for #1751. 2016-02-08 23:31:02 +09:00
SHIMIZU Taku bca16504d1 Add a documentation for epub3 builder. 2016-02-07 14:20:32 +09:00
Anselm Kruis 0311f33347 Feature: enhance autoclass:: to use the docstring of __new__
The method new is an alternative to __init__, but autoclass does not 
respect __new__. This commit enhances the directive autoclass:: to try
__new__ method's docstring, if __init__ method's docstring is missing or
empty.

The commit also adds tests and updates the documentation.
2016-02-05 19:09:43 +01:00
shimizukawa c6289c311f Fix documentation for 'mo auto build". 2016-01-30 16:37:58 +09:00
shimizukawa 8740030e80 Fix documentation for 'mo auto build". 2016-01-30 16:14:48 +09:00
Takeshi KOMIYA ae478f678e Fix #2022: html_extra_path also copies dotfiles and refers exclude_patterns 2016-01-24 19:17:50 +09:00
Takeshi KOMIYA 04a8c26eab Fix #2235: `needs_sphinx` supports micro version comparison 2016-01-21 13:51:17 +09:00
Takeshi KOMIYA 40a1b37d99 Merge pull request #1939 from bukzor/dummy-builder
add a dummy builder, for syntax checkers
2016-01-20 10:36:00 +09:00
Hong Xu 540400635a math: Add math_number_all to enforce numbering all displayed math. 2016-01-18 23:47:01 -08:00
Takeshi KOMIYA 0cbb29e342 Update docs for #2221 2016-01-19 00:53:10 +09:00
Takeshi KOMIYA 4c4450d958 Fix #656: Add `graphviz_dot option to graphviz directives to switch the dot` command 2016-01-18 23:56:05 +09:00
Takeshi KOMIYA cf5e138a53 Merge pull request #2207 from tk0miya/baseclass_for_parsers
Add sphinx.parsers.Parser class; a base class for new parsers
2016-01-17 19:17:58 +09:00
Takeshi KOMIYA f89e3dfee3 Update docs about sphinx.parsers.Parser class 2016-01-17 19:18:02 +09:00
Takeshi KOMIYA 738bb589d9 Merge pull request #2209 from tk0miya/2162_add_source_parser_API
Fix #2162: Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension
2016-01-17 19:07:18 +09:00
Takeshi KOMIYA 8c8f3dbc9b Merge pull request #2208 from tk0miya/2027_html_title_only_accepts_string
Fix #2027: ``make epub`` got errors if ``html_title`` is None
2016-01-17 18:59:44 +09:00
Georg Brandl 4f72bdb722 Merge branch 'stable' 2016-01-14 22:54:08 +01:00
Georg Brandl 46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00