Commit Graph

13776 Commits

Author SHA1 Message Date
Takeshi KOMIYA
337780c89f Migrate to py3 style type annotation: sphinx.application 2019-12-25 02:04:08 +09:00
Takeshi KOMIYA
6e88d66543
Merge pull request #6950 from tk0miya/refactor_type_annotation_locale
Migrate to py3 style type annotation: sphinx.locale
2019-12-25 01:27:21 +09:00
Takeshi KOMIYA
cbc9cb2cf5
Merge pull request #6949 from tk0miya/refactor_type_annotation_search
Migrate to py3 style type annotation: sphinx.search
2019-12-25 01:27:00 +09:00
Takeshi KOMIYA
0573b87c9f Migrate to py3 style type annotation: sphinx.locale 2019-12-25 01:15:49 +09:00
Takeshi KOMIYA
4ec7fdf24b Migrate to py3 style type annotation: sphinx.search 2019-12-25 01:09:55 +09:00
Takeshi KOMIYA
aca852f3dc
Merge pull request #6948 from tk0miya/refactor_indexdomain
Stop to use deprecated API: env.indexentries
2019-12-25 00:53:41 +09:00
Takeshi KOMIYA
fa98dc467a Stop to use deprecated API: env.indexentries 2019-12-25 00:41:34 +09:00
Takeshi KOMIYA
28ebe127a8 Merge branch '2.3.2' into 2.0 2019-12-22 22:58:53 +09:00
Takeshi KOMIYA
d09c28deee Bump version 2019-12-22 22:57:32 +09:00
Takeshi KOMIYA
131081de5a Bump to 2.3.1 final 2019-12-22 22:55:35 +09:00
Takeshi KOMIYA
43c089fd28 Fix flake8 violation 2019-12-22 18:45:38 +09:00
hidaruma
b43bd7d335 mv lines about copying logo into copying images 2019-12-22 18:20:11 +09:00
Takeshi KOMIYA
716607f831
Merge pull request #6838 from tk0miya/6837_nested_table
Close #6837: LaTeX: Support a nested table
2019-12-22 18:12:10 +09:00
Takeshi KOMIYA
72fa75cb9a Close #6837: LaTeX: Support a nested table 2019-12-22 18:00:58 +09:00
Takeshi KOMIYA
26cd3019c3
Merge pull request #6543 from tk0miya/refactor_indexentries
Proposal: Add IndexDomain for database of general indices
2019-12-22 17:27:38 +09:00
Takeshi KOMIYA
6d6fe9da0d Add IndexDomain 2019-12-22 17:20:35 +09:00
Takeshi KOMIYA
cf50ec3abe Update CHANGES for PR #6906 2019-12-22 15:58:40 +09:00
Takeshi KOMIYA
218c84cba5
Merge pull request #6906 from kpnr/patch-1
Update parser.py
2019-12-22 15:56:57 +09:00
Takeshi KOMIYA
e0abf8ca54
Merge pull request #6842 from anntzer/ternary
Replace `a and b or c` by the more legible `b if a or c`.
2019-12-22 15:47:25 +09:00
Takeshi KOMIYA
960ca85fea
Merge pull request #6941 from tk0miya/6936_autogen_raises_AttributeError
Fix #6936: sphinx-autogen: raises AttributeError
2019-12-22 13:22:26 +09:00
Takeshi KOMIYA
8a1994d940 Fix #6936: sphinx-autogen: raises AttributeError 2019-12-22 10:39:46 +09:00
Antony Lee
814513ba9f Replace a and b or c by the more legible b if a or c. 2019-12-21 11:50:18 +01:00
Takeshi KOMIYA
acdcf81599
Merge pull request #6934 from tk0miya/tests_with_docutils-0.16rc1
test: Testing with docutils-0.16rc1
2019-12-21 12:15:05 +09:00
Takeshi KOMIYA
6ed6f9bbcb Merge branch '2.3.1' into 2.0 2019-12-21 12:03:21 +09:00
Takeshi KOMIYA
0cc01a1606
Merge pull request #6935 from tk0miya/mypy-0.761
Fix mypy violations (for mypy-0.761) (T/O)
2019-12-21 12:00:14 +09:00
Takeshi KOMIYA
56940b0d76 Fix mypy violations (for mypy-0.761) 2019-12-21 11:52:59 +09:00
Takeshi KOMIYA
0e0930d712 test: Testing with docutils-0.16rc1 2019-12-21 11:38:31 +09:00
Takeshi KOMIYA
de6184e43f
Merge pull request #6927 from tk0miya/6856_i18n_parser
Fix #6855: Non-RST translated text should be parsed by the appropriate parser
2019-12-16 01:58:57 +09:00
Takeshi KOMIYA
00c30679cf Deprecate sphinx.io.FiletypeNotFoundError and get_filetype() 2019-12-16 01:45:02 +09:00
James McKinney
2f768cf5a7 Fix #6855: Non-RST translated text should be parsed by the appropriate parser 2019-12-16 01:38:22 +09:00
Takeshi KOMIYA
876fd40cea Update CHANGES for PR #6925 2019-12-16 01:30:21 +09:00
Takeshi KOMIYA
9b958f9525
Merge pull request #6925 from jdufresne/text-js
Remove redundant type="text/javascript" from <script> elements
2019-12-16 01:29:46 +09:00
Takeshi KOMIYA
108372c7d7
Merge pull request #6922 from tk0miya/6446_sphinx_ext_durations
Close #6446: Add sphinx.ext.durations to inspect durations of build
2019-12-16 01:28:40 +09:00
Jon Dufresne
e6915baae8 Remove redundant type="text/javascript" from <script> elements
In HTML5, <script> elements default to MIME type text/javascript. The
HTML5 living standard and MDN recommend against including the attribute.

From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type

> The HTML5 specification urges authors to omit the attribute rather
> than provide a redundant MIME type.

From https://html.spec.whatwg.org/#the-script-element

> Authors should omit the type attribute instead of redundantly setting
> it.
2019-12-15 07:52:40 -08:00
Takeshi KOMIYA
29687a29f1 Close #6446: Add sphinx.ext.durations to inspect durations of build 2019-12-16 00:47:23 +09:00
Takeshi KOMIYA
0f79bccb35 Update CHANGES for PR #6910 2019-12-16 00:46:17 +09:00
Takeshi KOMIYA
0b53356a76 Bump version 2019-12-16 00:06:27 +09:00
Takeshi KOMIYA
cb5fab5db9 Bump version 2019-12-16 00:03:44 +09:00
Takeshi KOMIYA
86143a54b8 Bump to 2.3.0 final 2019-12-16 00:01:29 +09:00
Takeshi KOMIYA
076013602b
Merge pull request #6891 from jfbu/latex_6890_curlyquote
LaTeX: avoid quotes and TeX ligature replacements in PDF output
2019-12-15 23:21:55 +09:00
jfbu
e49e98a9fa Update CHANGES for PR #6891 2019-12-15 14:27:30 +01:00
Takeshi KOMIYA
d6f1351528
Merge pull request #6908 from tk0miya/6900_sphinx-build-D_accepts_boolean
Fix #6900: sphinx-build: Allow to pass boolean value via ``-D`` option
2019-12-15 22:21:43 +09:00
Takeshi KOMIYA
dc8cf9eba3
Merge pull request #6919 from tk0miya/6781_custom_POT_headers
Close #6781: gettext Add confvals to customize headers of POT file
2019-12-15 22:20:18 +09:00
jfbu
30b26dd6a1 LaTeX: avoid quotes and TeX ligature replacements in PDF output
Refs: #6890

The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.

The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.

https://github.com/latex3/hyperref/issues/112

Note to expert LaTeX users: if Sphinx latex user with xelatex has

- turned off Smart Quotes for some reason,

- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888) to this effect,

then this should be added to LaTeX preamble:

    \def\sphinxhyphen#1{-}% (\protected is now not needed)
    \let\sphinxhyphenforbookmarks\sphinxhyphen
2019-12-15 14:19:50 +01:00
Takeshi KOMIYA
ebdd210a6b Fix #6900: sphinx-build: -D option does not considers 0 and 1 as a boolean value 2019-12-15 22:07:05 +09:00
Takeshi KOMIYA
3e10cdb3d9 Close #6781: gettext Add confvals to customize headers of POT file
* gettext_last_translator
* gettext_language_team
2019-12-15 22:06:18 +09:00
Takeshi KOMIYA
2ec6ce85ef
Merge pull request #6924 from tk0miya/pinning_coverage
CI: Pinning coverage < 5.0
2019-12-15 22:04:29 +09:00
Takeshi KOMIYA
42f6b91333 CI: Pinning coverage < 5.0 2019-12-15 20:40:59 +09:00
Takeshi KOMIYA
24908e0fa9 Update CHANGES for PR #6632 2019-12-14 23:29:41 +09:00
Takeshi KOMIYA
344f9dcc70
Merge pull request #6923 from tk0miya/6632
Add get_secnumber to simplify add_secnumber
2019-12-14 23:25:33 +09:00