Commit Graph

136 Commits

Author SHA1 Message Date
Takeshi KOMIYA
a7cab001d9 Drop APIs deprecated in 2.0 2018-09-03 00:31:33 +09:00
Takeshi KOMIYA
db1582833d Merge pull request #5346 from tk0miya/add_NodeMatcher
[Proposal] Add a helper class for Node.traverse()
2018-08-29 23:49:59 +09:00
Takeshi KOMIYA
17fbf439c6 Apply NodeMatcher to Sphinx 2018-08-26 18:14:07 +09:00
Takeshi KOMIYA
328ff6eeae Fix i18n: warnings for translation catalogs have wrong line numbers 2018-08-22 21:01:50 +09:00
Takeshi KOMIYA
f3019ee197 Apply :confval:trim_doctest_flags to all builders (cf. text, manpages) 2018-07-21 13:54:51 +09:00
Takeshi KOMIYA
4f296c5e67 Refactor: Run highlightlang on resolving phase 2018-07-21 13:54:09 +09:00
Takeshi KOMIYA
3e57ea0a52 Merge branch '1.7' 2018-07-17 00:37:40 +09:00
Takeshi KOMIYA
aad56c0361 Fix #3329: i18n: crashed by auto-symbol footnote references 2018-07-15 20:48:39 +09:00
Takeshi KOMIYA
56b9eaebce Fix #5017: old displaymath node makes writers crashed 2018-05-31 13:38:23 +09:00
Takeshi KOMIYA
e675ad2ec9 Enable math_block node rendering by default (without HTML builders) 2018-05-17 00:42:22 +09:00
Takeshi KOMIYA
4e04bff4f5 Enable math node rendering by default (without HTML builders)
Nowadays, math elements (inline and block level equations) are
integrated into reST spec by default.  But, in Sphinx, they are
not enabled by default.  For this reason, users have to enable
one of math extensions even if target builder supports math
elements directly.

This change starts to enable them by default.  As a first step,
this replaces math node and its structure by docutils based one.
2018-05-15 22:27:49 +09:00
Takeshi KOMIYA
bc19cf72c9 Merge branch '1.7' 2018-05-14 01:04:45 +09:00
Takayuki SHIMIZUKAWA
79650f5827 fix #4938: i18n doesn't handle node.title correctly (#4939) 2018-05-11 20:51:07 +09:00
Takeshi KOMIYA
9f1fead9c5 Fix wrong argument for Domain.process_doc 2018-05-09 22:59:37 +09:00
Takeshi KOMIYA
6d6864abf0 doc: Remove meaningless spaces 2018-04-22 18:01:02 +09:00
Takeshi KOMIYA
0354b29459 Merge branch 'master' into 4827_remove_substitution_defs_from_doctree 2018-04-21 19:20:40 +09:00
Takeshi KOMIYA
1542622cf7 Merge pull request #4853 from tk0miya/4810_order_of_transforms
Change processing order of reading a document
2018-04-21 19:17:27 +09:00
Takeshi KOMIYA
45e691eb9b Merge branch 'master' into 4827_remove_substitution_defs_from_doctree 2018-04-21 14:50:23 +09:00
Takeshi KOMIYA
ed3bc1a87e Merge pull request #4833 from tk0miya/add_docs_for_ImageConverter
doc: Add ImageConverter to utils
2018-04-21 14:44:02 +09:00
Takeshi KOMIYA
ea7d30a190 doc: Add ImageConverter to utils 2018-04-21 11:21:27 +09:00
Takeshi KOMIYA
538c061e7c Change priority of doctree-read event 2018-04-16 00:16:18 +09:00
Takeshi KOMIYA
af58d7faed Remove substitution_definition nodes from doctree on reading phase (refs: #4827) 2018-04-15 02:35:26 +09:00
Takeshi KOMIYA
5e4da90ffa Change priority of sphinx-domains 2018-04-15 02:34:26 +09:00
Takeshi KOMIYA
765aec565d Change priority of SphinxSmartQuotes 2018-04-15 02:17:36 +09:00
Takeshi KOMIYA
557514330f Merge branch '1.7' 2018-04-14 15:46:31 +09:00
Takeshi KOMIYA
5ef8da518f Fix #4784: latex_show_urls assigns incorrect footnote numbers 2018-04-12 23:40:15 +09:00
Takeshi KOMIYA
1dd605971c Merge pull request #4804 from tk0miya/add_SphinxDirective
Add SphinxDirective class
2018-04-08 23:30:19 +09:00
Takeshi KOMIYA
ab04a55dbf Add document for utility classes 2018-03-31 00:05:03 +09:00
Takeshi KOMIYA
962b6d459e Drop document.settings.gettext_compact 2018-03-30 13:06:11 +09:00
Takeshi KOMIYA
0f3fa689a4 Deprecate env._nitpick_ignore 2018-03-26 02:05:58 +09:00
Takeshi KOMIYA
f9753e30de Merge branch '1.7' 2018-03-21 20:55:30 +09:00
Takeshi KOMIYA
9efaf18852 Merge branch '1.7' 2018-03-18 01:21:01 +09:00
Takeshi KOMIYA
0eb5e0865a Fix #4688: Error to download remote images having long URL 2018-03-17 13:43:42 +09:00
Takeshi KOMIYA
27abce6306 Show warning on creating directory for remote image (refs: #4688) 2018-03-17 13:38:34 +09:00
Takeshi KOMIYA
40446f5949 Fix mypy violations 2018-03-14 01:03:02 +09:00
Takeshi KOMIYA
70a622b86c Revert "Use typing.TYPE_CHECKING for typehints"
This reverts commit a073e17537.
2018-03-13 23:23:15 +09:00
Takeshi KOMIYA
6faef28150 Make console and warning messages translatable 2018-03-03 23:18:38 +09:00
Takeshi KOMIYA
645ad75523 Fix mypy violations 2018-02-26 02:21:26 +09:00
Takeshi KOMIYA
a2bce15989 Merge branch '1.7' 2018-02-23 23:44:00 +09:00
Takeshi KOMIYA
c41e746b7a Fix #4662: any refs with term targets crash when an ambiguity is encountered 2018-02-23 23:05:58 +09:00
Takeshi KOMIYA
5789b25847 Change interface of add_source_parser() and add add_source_suffix() 2018-02-21 10:54:49 +09:00
Takeshi KOMIYA
f8bb40ab30 Merge branch '1.7' 2018-02-18 12:39:07 +09:00
Takeshi KOMIYA
5d1b8ff55f Fix mypy violations 2018-02-14 22:57:41 +09:00
Takeshi KOMIYA
a073e17537 Use typing.TYPE_CHECKING for typehints 2018-02-14 22:57:38 +09:00
Takeshi KOMIYA
6cf0698b0c Merge branch '1.7' 2018-02-12 16:20:00 +09:00
Takeshi KOMIYA
4ef4ef7d14 optimize: Don't use transform to process only nodes on resolving toctree
This avoid to use ``SphinxTransformer`` to apply ``process_only_nodes``
on resolving toctree.  It can skip to generate documentation node.  The
generation is too heavy process only for single transformation.
2018-02-11 19:28:48 +09:00
Takeshi KOMIYA
dc2b153835 Update type annotations 2018-02-04 15:14:51 +09:00
Takeshi KOMIYA
4647fcee45 Merge branch '1.7-release' 2018-01-31 20:40:56 +09:00
Takeshi KOMIYA
a5fea73d0c Merge branch 'master' into integrate_source_suffix_and_source_parsers 2018-01-31 00:04:11 +09:00
Takeshi KOMIYA
c9f511ad19 Fix #4230: slowdown in writing document with sphinx 1.6
``docutils.utils.new_document()`` is much slower than an instantiation
of document node.  This adds a much faster alternative of the function
which uses caches internally.
2018-01-30 21:34:22 +09:00