Commit Graph

18590 Commits

Author SHA1 Message Date
Takeshi KOMIYA
eb1a8a3341
Merge pull request #9966 from tk0miya/RemovedInSphinx50Warning
refactor: Remove RemovedInSphinx50Warning (partially)
2021-12-18 02:23:15 +09:00
Takeshi KOMIYA
1233d05f2c Merge branch 'master' into RemovedInSphinx50Warning 2021-12-17 02:14:31 +09:00
Takeshi KOMIYA
a933ee5876 Postpone the removal of c_warn_on_allowed_pre_v3 warnings to v6.0 2021-12-17 02:13:44 +09:00
Takeshi KOMIYA
5b7f7f825d refactor: Remove RemovedInSphinx50Warning (partially) 2021-12-17 02:12:00 +09:00
Takeshi KOMIYA
5dc27f5948 Merge branch '4.x' 2021-12-17 02:09:33 +09:00
Takeshi KOMIYA
8d0fd9e74a Merge branch '4.3.x' into 4.x 2021-12-17 02:09:04 +09:00
Takeshi KOMIYA
54613e05c4
Merge pull request #9983 from tk0miya/mypy-0.920
Fix mypy violations (with mypy-0.920)
2021-12-17 02:08:54 +09:00
Takeshi KOMIYA
95d6478747 Fix mypy violations (with mypy-0.920) 2021-12-17 02:01:33 +09:00
Takeshi KOMIYA
3d7bd318f1
Merge pull request #9972 from logithack/doc/fix-irc-network
doc: Point to IRC channel on Libera.Chat
2021-12-16 01:49:04 +09:00
Takeshi KOMIYA
3626c75de0
Merge pull request #9957 from tk0miya/refactor_DeprecationWarnings
Reduce DeprecationWarnings
2021-12-16 01:38:32 +09:00
Takeshi KOMIYA
e2b6d078c1
Merge pull request #9960 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-12-16 01:38:05 +09:00
Takeshi KOMIYA
f107ff4761
Merge pull request #9963 from tk0miya/refactor_doc
doc: Use "console" for the highlight language of console output
2021-12-16 01:37:39 +09:00
Takeshi KOMIYA
b1df3fa94b
Merge pull request #9287 from ssbarnea/fix/irc
Document new irc channel location
2021-12-16 01:33:53 +09:00
Ryan King
eeab5a089c doc: Point to IRC channel on Libera.Chat 2021-12-14 13:28:05 +01:00
Takeshi KOMIYA
dd27e35e4c doc: Use "console" for the highlight language of console output
Using "console" language is better for the console example (including
command-line prompt)
2021-12-13 14:20:37 +09:00
tk0miya
cd0128d1c5 Update message catalogs 2021-12-12 00:12:04 +00:00
Jean-François B
20732a3665
Merge pull request #9941 from jfbu/9940_pymultifunction_latex
Fix Multi-function declaration in Python domain has cramped vertical spacing   in latexpdf output (#9940)
2021-12-11 20:42:04 +01:00
Jean-François B
4c5aa2a2e5
Merge branch '4.x' into 9940_pymultifunction_latex 2021-12-11 20:28:53 +01:00
Takeshi KOMIYA
0e51ddef34 Merge branch '4.x' 2021-12-11 23:18:46 +09:00
Takeshi KOMIYA
dbbf5ae95b Update CHANGES for PR #9390 2021-12-11 23:18:20 +09:00
Takeshi KOMIYA
d743f21136
Merge pull request #9390 from marxin/fix-footnote-in-info
texinfo: fix emission of @footnote directives.
2021-12-11 23:15:46 +09:00
Takeshi KOMIYA
f886fc2625
Merge pull request #9958 from tk0miya/9108_accessible_highlights
Fix #9108: docs: Use default pygments_theme to get accessiblity
2021-12-11 23:15:27 +09:00
Takeshi KOMIYA
8e23b03263 refactor: texinfo: Remove CR char from output
The CR character was added for readability of output.  But it makes the
texinfo writer a bit complicated.  This removes it from output to keep
our code simple (reducing conditions).
2021-12-11 23:05:36 +09:00
Takeshi KOMIYA
5563f672ec Merge branch '4.x' into fix-footnote-in-info 2021-12-11 22:59:56 +09:00
Takeshi KOMIYA
dcfc3f60ec refactor: ssl.wrap_context() has been deprecated now 2021-12-11 11:38:24 +09:00
Takeshi KOMIYA
555e74b8ca refactor: app.html_themes was replaced by registry.html_themes 2021-12-11 11:38:24 +09:00
Takeshi KOMIYA
0b238d897c Fix #9108: docs: Use default pygments_theme to get accessiblity
To increse accessiblity of our docs, this changes the pygments_theme of
sphinx-docs.org to "default".  It was updated to meet WCAG AA in
https://github.com/pygments/pygments/pull/1940.
2021-12-11 11:34:51 +09:00
Takeshi KOMIYA
c6fc5dff53 Update CHANGES for PR #9793 2021-12-11 11:25:38 +09:00
Takeshi KOMIYA
4c7df3f09a
Merge pull request #9793 from samdoran/enable-parallel-on-macos
Set multiprocessing start method to `fork`
2021-12-11 11:23:34 +09:00
Takeshi KOMIYA
68703e87f7
Merge pull request #9953 from tk0miya/9947_source_info_less_topic_node
Fix #9947: i18n: topic directive having a bullet list can't be translatable
2021-12-11 11:00:21 +09:00
Takeshi KOMIYA
d3162d1ff2
Merge pull request #9931 from tk0miya/9075_autodoc_unqualified_typehints
Close #9075: autodoc: Add a config variable autodoc_unqualified_typehints
2021-12-11 10:59:23 +09:00
Takeshi KOMIYA
b5ee2d09fc Update CHANGES for PR #9578 2021-12-11 10:49:38 +09:00
Takeshi KOMIYA
18328981a1
Merge pull request #9578 from marxin/texinfo-add-texinfo_emit_document_references
texinfo: simplify reference emission.
2021-12-11 10:47:36 +09:00
Takeshi KOMIYA
9c6ebdf347 Fix flake8 warnings 2021-12-11 10:33:07 +09:00
Takeshi KOMIYA
8d071a8e8f
Merge branch '4.x' into texinfo-add-texinfo_emit_document_references 2021-12-11 10:27:50 +09:00
Takeshi KOMIYA
6f7b830546 Update CHANGES for PR #9391 2021-12-11 10:26:41 +09:00
Takeshi KOMIYA
b232b00cf8
Merge pull request #9391 from marxin/info-samp-with-variable
texinfo: improve variable in :samp: directives
2021-12-11 10:25:07 +09:00
jfbu
b902d855ba Update CHANGES for #9941 2021-12-10 20:34:53 +01:00
jfbu
091c2de1a0 Update CHANGES 2021-12-09 18:31:09 +01:00
jfbu
b23036570c Fix Multi-function declaration in Python domain has cramped spacing
Fix #9940

Avoid \pysiglinewithargsret tricks to get correct vertical spacing
in multiline declarations in case mark-up inserts a \phantomsection.

Activate such tricks also in \pysigline, but now with the
\phantomsection test.

Relates #7241, #8980, #8995
2021-12-09 18:30:42 +01:00
Jean-François B
7d6d5621fe
Merge pull request #9946 from jfbu/9949_latex
Fix #9944 (LaTeX writer visit_desc_content())
2021-12-09 18:25:30 +01:00
Jean-François B
e05741e8c7
Merge pull request #9949 from jfbu/9925_latex
LaTeX: prohibit also with xelatex linebreaks at dashes in literal text (not code-blocks) (fixes #9925)
2021-12-09 18:22:18 +01:00
jfbu
e1b2936892 Fix #9944 (LaTeX writer visit_desc_content())
The "~" was added 14 years ago at 3761223d85

Seems not to be needed anymore and causes extra vertical space in some
circumstances.
t
2021-12-09 18:18:08 +01:00
jfbu
2b60f75963 Update CHANGES 2021-12-09 18:12:56 +01:00
jfbu
ccd2c83f2f Add \sphinxhyphenin{inline,parsed}literal for customizability
Whether or not to allow linebreaks is matter of debate because user of
pdf can not reflow the displayed text, and overfull lines may lead to
loss of data beyond page border.

Since Sphinx 1.5, inline literals allow linebreaks after the characters
".", ",", ";", "?", "!", "/" and "\" (cf the inlineliteralwraps key of
latex_elements['sphinxsetup']).

With pdflatex the dash "-" does not allow a linebreak when used with a
monospace font (btw the dash is escaped to \sphinxhyphen{} which expands
back to a dash).  But this failed with xelatex, so previous commits
ensured nobreak behaviour by redefining \sphinxhyphen to be
\sphinxhyphennobreak when encountered in inline and parsed literals.

This commit adds \sphinxhyphenin{inline,parsed}literal macros which
default to \sphinxhyphennobreak and thus allow to customize how the
dashes from sources will behave in such contexts in pdf output.
2021-12-09 18:12:29 +01:00
Takeshi KOMIYA
73da161def
Merge pull request #9942 from jdknight/support-tox-coverage-on-win32
tox: support coverage on win32
2021-12-10 02:09:47 +09:00
jfbu
8ad49613a8 Make sure option names in xelatex pdf output do not split at dashes
Fix #9925
2021-12-09 18:09:33 +01:00
jfbu
3dbcab238d Fix inaccurate LaTeX comments 2021-12-09 18:09:33 +01:00
Takeshi KOMIYA
b5e5d62472
Merge pull request #9954 from tk0miya/master
Merge 4.x to master
2021-12-10 01:55:32 +09:00
Takeshi KOMIYA
980ccc4c2a Merge branch '4.x' 2021-12-10 01:45:15 +09:00