Commit Graph

10433 Commits

Author SHA1 Message Date
Takeshi KOMIYA
70a622b86c Revert "Use typing.TYPE_CHECKING for typehints"
This reverts commit a073e17537.
2018-03-13 23:23:15 +09:00
Takeshi KOMIYA
2fd24f9129 Revert "Use typing.TYPE_CHECKING"
This reverts commit f51b644f39.
2018-03-13 23:23:14 +09:00
jfbu
c4e12ff012 Add TODO notes
modified:   sphinx/ext/mathbase.py
	modified:   sphinx/writers/latex.py
2018-03-12 17:00:01 +01:00
jfbu
711b8ecf70 Fix vertical space before equation in latex (closes: #4574) 2018-03-11 11:36:16 +01:00
Jean-François B
87e8dd16b2
Merge pull request #4728 from jfbu/textcomp_warn
Fix #4727: Option clash for package textcomp
2018-03-11 10:33:43 +01:00
jfbu
90dfce5367 Fix #4727: Option clash for package textcomp
Some packages loaded from user customized 'fontpkg' key may load
textcomp with no option, clashing with sphinx.sty which comes later
and wants it with "warn" option. This makes sure textcomp receives
always "warn" option, even if loaded prior to sphinx.

	modified:   CHANGES
	modified:   sphinx/templates/latex/latex.tex_t
	modified:   sphinx/texinputs/sphinx.sty
2018-03-11 09:08:21 +01:00
Takeshi KOMIYA
9fffb1e4ab
Merge branch '1.7' into 4716_make_not_found 2018-03-08 20:40:34 +09:00
Takeshi KOMIYA
e4fd16af9f
Merge pull request #4719 from tk0miya/relax-numref-on-sections
Relax numref on sections
2018-03-08 20:39:08 +09:00
Takeshi KOMIYA
f84917b8b1 Fix #4716: Generation PDF file with TexLive on Windows, file not found error 2018-03-08 16:28:49 +09:00
Takeshi KOMIYA
8b0812edc2 Update CHANGES for PR #4444 2018-03-08 01:12:10 +09:00
Takeshi KOMIYA
88abc67bf8 Merge branch '1.7' into relax-numref-on-sections 2018-03-08 01:11:12 +09:00
Takeshi KOMIYA
31db987d68 Update testcases 2018-03-08 01:11:07 +09:00
Takeshi KOMIYA
5c07c053e4
Merge pull request #4715 from tk0miya/4611_fix_epubfilename
Fix filename of epub (refs: #4611)
2018-03-08 00:59:58 +09:00
Takeshi KOMIYA
3140deb690
Merge pull request #4709 from tk0miya/4701_viewcode
Fix #4701: viewcode: Misplaced ``<div>`` in viewcode html output
2018-03-07 23:26:39 +09:00
Takeshi KOMIYA
11fa47769b Fix filename of epub (refs: #4611) 2018-03-07 10:53:01 +09:00
Takeshi KOMIYA
9bd3aaf3dc
Merge branch '1.7' into 4701_viewcode 2018-03-07 10:34:46 +09:00
Takeshi KOMIYA
2994c12513
Merge pull request #4713 from Naereen/patch-2
Update apidoc.py to fix a tiny English typo
2018-03-07 00:53:03 +09:00
Takeshi KOMIYA
1f71cb3944
Merge pull request #4694 from tk0miya/4689_fix_autosummary_extract_summary
Fix #4689: autosummary: unexpectedly strips docstrings containing "i.e."
2018-03-07 00:50:09 +09:00
Takeshi KOMIYA
65e41f7095
Merge pull request #4704 from tk0miya/dont_stringify_exceptions
Use "%r" to stringify exceptions
2018-03-07 00:48:52 +09:00
Lilian Besson
21fa15be2c
Update apidoc.py
See #4712
2018-03-06 16:37:46 +01:00
jfbu
60c62df009 Add German translation of "continues on next page" and compile catalogs
modified:   sphinx/locale/de/LC_MESSAGES/sphinx.mo
	modified:   sphinx/locale/de/LC_MESSAGES/sphinx.po
	modified:   sphinx/locale/pl/LC_MESSAGES/sphinx.mo
2018-03-05 19:08:51 +01:00
Takeshi KOMIYA
f1c6c22e84 Fix #4701: viewcode: Misplaced `<div>` in viewcode html output 2018-03-05 23:46:34 +09:00
Takeshi KOMIYA
95b53a6312
Merge branch 'master' into dont_stringify_exceptions 2018-03-04 02:25:12 +09:00
Takeshi KOMIYA
f89c7f31e8
Merge pull request #4705 from tk0miya/i18n
Make console and warning messages translatable
2018-03-04 02:20:54 +09:00
Takeshi KOMIYA
fdefe987d5 Fix #4689: autosummary: unexpectedly strips docstrings containing "i.e." 2018-03-04 02:12:13 +09:00
Takeshi KOMIYA
8e0cca01e5
Merge pull request #4687 from tk0miya/1042_strip_parens
Fix pydomain: always strip parenthesis if empty (refs: #1042)
2018-03-04 02:10:44 +09:00
Takeshi KOMIYA
b707ab35e5
Merge branch '1.7' into 1042_strip_parens 2018-03-04 02:10:31 +09:00
Takeshi KOMIYA
84c475b490 Use six.text_type to stringify exceptions
On py2, an exception having i18nized message causes UnicodeError on
stringify.  This uses ``six.text_type()`` to stringify them instead.
2018-03-03 23:25:58 +09:00
Takeshi KOMIYA
6faef28150 Make console and warning messages translatable 2018-03-03 23:18:38 +09:00
Takeshi KOMIYA
0e2ef9cada
Merge pull request #4703 from tk0miya/fix_autodoc_logging
Fix autodoc: crashed when invalid options given
2018-03-03 20:20:52 +09:00
Takeshi KOMIYA
1f5b40c291
Merge pull request #4702 from tk0miya/drop_pngmath
Remove sphinx.ext.pngmath
2018-03-03 20:19:43 +09:00
Takeshi KOMIYA
10248ebf90
Merge pull request #4698 from tk0miya/i18nize_commands
Make sphinx-* commands translatable
2018-03-03 20:19:09 +09:00
Takeshi KOMIYA
410c70a1e4
Merge pull request #4697 from tk0miya/move_labels
Move labels
2018-03-03 20:08:53 +09:00
Takeshi KOMIYA
e2f481c956 Merge branch '1.7' 2018-03-03 20:03:45 +09:00
Takeshi KOMIYA
52f212c115
Merge pull request #4707 from tk0miya/mypy
Fix mypy violations
2018-03-03 20:01:38 +09:00
Takeshi KOMIYA
fd89be7f0f Fix mypy violations 2018-03-03 14:56:46 +09:00
Takeshi KOMIYA
7e39e2c626 Fix mypy violations 2018-03-03 02:54:55 +09:00
Takeshi KOMIYA
ad7d77d010 refactor: Move pairindextypes to sphinx.domains.python 2018-03-03 02:54:55 +09:00
Takeshi KOMIYA
50ffe5b7c2 refactor: Move versionlabels to sphinx.directives.other 2018-03-03 02:54:54 +09:00
Takeshi KOMIYA
adc8c80190 Fix autodoc: crashed when invalid options given 2018-03-03 02:35:28 +09:00
Takeshi KOMIYA
31fd657962 Make sphinx-* commands translatable 2018-03-03 01:48:40 +09:00
Takeshi KOMIYA
6872d5b337 Fix pydomain: always strip parenthesis if empty (refs: #1042) 2018-03-03 01:41:49 +09:00
Takeshi KOMIYA
3efadc63cc
Merge pull request #4696 from tk0miya/4685_autosummary_warning
Fix #4685: autosummary emits meaningless warnings
2018-03-03 01:34:30 +09:00
Takeshi KOMIYA
80176cdc76
Merge pull request #4693 from tk0miya/4655_detect_error_on_compile_catalogs
Catch errors on compiling catalogs (refs: #4655)
2018-03-03 01:33:45 +09:00
Takeshi KOMIYA
c33bc6fac3
Merge pull request #4691 from tk0miya/fix_infinit_loop_on_make_mode
Fix infinit loop on make-mode
2018-03-03 01:32:57 +09:00
Takeshi KOMIYA
d7bfef13bf
Merge pull request #4690 from tk0miya/1598_awesome_sphinxdoc
doc: Add a reference to awesome-sphinxdoc
2018-03-03 01:26:27 +09:00
Takeshi KOMIYA
cdd5503f5d Remove sphinx.ext.pngmath 2018-03-03 00:18:53 +09:00
Takeshi KOMIYA
c0a6795a0f
Merge pull request #4590 from stephenfin/doc-rework
Doc rework (user guide, part 2)
2018-03-02 01:59:51 +09:00
Takeshi KOMIYA
608695e851
Merge pull request #4695 from mitya57/pgen2
Remove the remaining traces of sphinx.pycode.pgen2 module
2018-03-02 01:21:58 +09:00
Takeshi KOMIYA
9ca956dda7
Merge pull request #4675 from tk0miya/deprecation_list
doc: Add deprecation list
2018-03-02 01:11:33 +09:00