Commit Graph

1695 Commits

Author SHA1 Message Date
Takeshi KOMIYA
45a61843ec Make ImportWarning silent 2017-04-27 21:24:29 +09:00
Dmitry Shachnev
f99f5b23ee Backport fixes for French quotes from docutils 2017-04-25 14:17:31 +03:00
Dmitry Shachnev
1f9e251943 Add tests for English, Russian and French smart quotes 2017-04-25 14:17:29 +03:00
Dmitry Shachnev
edc7f30b9c Remove the custom smartypants code
Instead rely on docutils’ ‘smart_quotes’ option which is available
since docutils 0.10.

This adds support for internationalization: our code supported only
English quotes, while docutils code supports 27 different languages.

Closes #498, #580, #3345, #3472.
2017-04-25 14:17:13 +03:00
Takeshi KOMIYA
c50321d3ca Merge branch 'master' into drop_websupport 2017-04-23 19:18:01 +09:00
Takeshi KOMIYA
e268e919d0 Merge pull request #3658 from tk0miya/3630_add_get_full_qualified_names
Add get_full_qualified_names() to std, js and cpp domains.
2017-04-23 18:36:06 +09:00
Takeshi KOMIYA
6cdc0542a6 Fix coding styles 2017-04-23 17:59:39 +09:00
Takeshi KOMIYA
3a0f7d3bad Merge branch 'master' into add_sphinx_factory 2017-04-23 17:06:20 +09:00
Takeshi KOMIYA
bc8646b1f1 Drop ununsed import 2017-04-23 16:54:00 +09:00
Takeshi KOMIYA
44b6044d4b Implement get_full_qualified_name() to CPPDomain (refs: #3630) 2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
96fa6d2972 Implement get_full_qualified_name() to JavascriptDomain (refs: #3630) 2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
db377ceb55 Implement get_full_qualified_name() to StandardDomain (refs: #3630) 2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
72f267c6ae Rename SphinxFactory class to SphinxComponentRegistry 2017-04-23 16:29:38 +09:00
Takeshi KOMIYA
19323d232a Merge pull request #3655 from tk0miya/compile_latex_only_on_py36
tests: compile by LaTeX only with py36
2017-04-23 16:28:03 +09:00
Takeshi KOMIYA
455dacc2f4 Merge branch 'master' into 3351_intersphinx_ref_with_context 2017-04-23 16:14:54 +09:00
Takeshi KOMIYA
78ea36a787 Move translators to SphinxFactory 2017-04-22 20:04:45 +09:00
Takeshi KOMIYA
f346e7dc1d Move source_parsers manager to SphinxFactory 2017-04-22 20:04:45 +09:00
Takeshi KOMIYA
3cf1883356 tests: compile by LaTeX only with py36 2017-04-22 18:14:06 +09:00
Takeshi KOMIYA
c0a39eb3f7 Simplify testcases for websupport
Now websupport modules has separated and move into
sphinxcontrib-websupport package.  They are also tested in the
package.  Hence, we should test the bridge code for them.
2017-04-22 17:54:20 +09:00
Takeshi KOMIYA
c525723807 Add sphinx.ext.imgconverter 2017-04-22 13:29:16 +09:00
Takeshi KOMIYA
241c0db7bc Merge branch 'master' into support_remote_images 2017-04-22 09:45:05 +09:00
Takeshi KOMIYA
e24779b1cc Drop old methods 2017-04-21 00:09:50 +09:00
Takeshi KOMIYA
ca7bb5140e Refactored again 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
faefe2b5a5 Add HTMLThemeFactory class 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
b405c0aaf5 Refactor sphinx.theming 2017-04-20 20:45:44 +09:00
Jakub Wilk
79a841e98c Remove misplaced flags from re.sub() calls
The 4th argument of re.sub() is maximum number of substitutions,
not flags.

Moreover, re.MULTILINE affects only semantics of ^ and $,
so it wouldn't have any effect on this regular expression.
2017-04-20 00:04:08 +02:00
Takayuki SHIMIZUKAWA
6cb582fdd3 Merge pull request #3449 from njsmith/getargspec-__wrapped__
On py3, use inspect.signature for more accurate signature calculation
2017-04-19 21:21:19 +09:00
Takeshi KOMIYA
be261ed71e Add utility methods and testcases to sphinx.util.images 2017-04-19 01:40:28 +09:00
Takeshi KOMIYA
25f4c004d8 Emit warning when fetching remote images failed 2017-04-19 01:40:17 +09:00
Takeshi KOMIYA
a5d77a8f06 Drop warning for nonlocal image URI 2017-04-19 01:40:17 +09:00
Takeshi KOMIYA
3c46c2f5ac Add ImageDownloader transform to support remote images on some builders 2017-04-19 01:40:17 +09:00
Takeshi KOMIYA
618ef6492c Merge pull request #1767 from Jellby/master
Allow setting 'rel' and 'title' attributes for stylesheets.
2017-04-19 00:04:43 +09:00
Takeshi KOMIYA
4738ef878c Merge pull request #3634 from tk0miya/failed_to_load_templates
Fix fail to load template file if the parent template is archived
2017-04-18 23:58:08 +09:00
Takeshi KOMIYA
f1b387bdcf Fix fail to load template file if the parent template is archived 2017-04-18 23:22:03 +09:00
Takeshi KOMIYA
690f07fa3c Merge pull request #3388 from smheidrich/autosectionlabel_prefix_document1
Added autosectionlabel_prefix_document config option
2017-04-18 01:16:00 +09:00
smheidrich
231976ff14 Added autosectionlabel_prefix_document config option. 2017-04-17 14:51:39 +02:00
Takeshi KOMIYA
13acfd3ce1 Rename test-image-glob to test-images 2017-04-16 21:53:01 +09:00
Takeshi KOMIYA
b39b0191a7 Fix #3351: intersphinx does not refers context 2017-04-16 18:25:21 +09:00
Jellby
e59a8028d7 Rewrite and simplify stylesheet handling
Thanks to tk0miya's comment, I learnt one can add stuff to template
blocks, that allows a much simpler stylesheet configuration, considering
that changes at the template level will be more... well, low-level.
Hopefully this is now acceptable.
2017-04-15 17:07:33 +02:00
Jellby
1cfed262d2 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/test_build_html.py
2017-04-15 15:54:06 +02:00
Takeshi KOMIYA
939f01eae3 Fix #3594: LaTeX: single raw directive has been considereed as block level element 2017-04-08 11:54:01 +09:00
Takeshi KOMIYA
fc41f43a70 Merge branch 'stable' 2017-04-02 19:05:50 +09:00
Takeshi KOMIYA
592b808005 Merge pull request #3585 from eric-wieser/escape-autosummary
BUG: Fix autosummary of members with a trailing underscore
2017-03-29 22:56:32 +09:00
Takeshi KOMIYA
d0384130cc Merge pull request #3518 from agjohnson/fix-singlehtml-empty-toctree
Allow empty toctree in singlehtml builder
2017-03-29 22:24:16 +09:00
Anthony Johnson
beee9e80cd Add another test for empty toctree 2017-03-29 00:52:35 -07:00
Eric Wieser
804891c4a1 BUG: Fix autosummary of members with a trailing underscore 2017-03-26 12:54:03 +01:00
Takeshi KOMIYA
3e46f52a96 Merge pull request #3475 from agjohnson/domain-js-add-nesting
Add nesting, package directive, and method directive to JavaScript domain
2017-03-26 18:16:04 +09:00
Takeshi KOMIYA
1dea386bc4 Fix #3108: Show warning if :start-at: and other literalinclude options does not match to the text 2017-03-26 18:13:50 +09:00
Takeshi KOMIYA
6d08efe2dd test: Replace app.buildername by app.builder.name 2017-03-26 17:33:56 +09:00
Takeshi KOMIYA
8f9dd64992 Merge branch 'stable' 2017-03-26 11:52:15 +09:00