Commit Graph

19481 Commits

Author SHA1 Message Date
Adam Turner
8d99168794
Use get_settings() from Docutils 0.19 (#10624) 2022-07-02 10:56:29 +01:00
neilnaveen
cf8d5357fc
Set permissions for GitHub Actions (#10607) 2022-07-02 10:40:42 +01:00
Jean-François B
0d3f606dff LaTeX: code comments on sphinxShadowBox for topic directive 2022-07-01 09:42:52 +02:00
Jean-François B
6afde2e301 LaTeX: refactor sphinxShadowBox to allow colors for frame and shadow 2022-06-30 22:40:47 +02:00
Jean-François B
b9736f2348 Merge branch '5.0.x' into 5.x 2022-06-30 12:19:02 +02:00
Jean-François B
a7ef63a1fd LaTeX: fix #10506 (make Pygments \PYG macro \protected) 2022-06-30 12:01:36 +02:00
Jean-François B
c327f090d4 LaTeX: refactor \spx@fcolorbox to fix #10610 2022-06-30 09:49:30 +02:00
Jean-François B
52d8f3a3bc LaTeX: (cont'd) fix of code comments and slight refactoring 2022-06-30 00:00:16 +02:00
Jean-François B
2566f6e757 LaTeX: internal optimizations and comments 2022-06-29 23:18:58 +02:00
Jean-François B
d089b5c92d LaTeX: fix #10615 (relates: #10577) 2022-06-29 21:56:31 +02:00
Jean-François B
2e77290348 LaTeX: partially fix color issues for wrapped code lines with pagebreak
This does not fix entirely #10610 but it does sufficiently for it not to
require reverting #10577 which tried to solve #8686 conundrum.  In
extreme cases, the #8686 problem meant that some contents disappeared
at page bottom, so it is probably better to maintain #10577 which
will avoid any such overflow of code beyond its frame, even though in
some specific cases (a colored entity such as a long string is partly on
both pages), some syntax highlighting gets lost.

There are anyhow other issues with colors for wrapped code lines, even
with no pagebreaks involved, such as #10615.  This patch does not change
the situation there.
2022-06-29 18:48:40 +02:00
Jean-François B
9741d1341d LaTeX comments 2022-06-29 10:57:14 +02:00
Jean-François B
099d40805e
Merge pull request #10609 from jfbu/latex_comments_code-blocks
LaTeX: some code comments (technical) and minor changes
2022-06-28 00:01:32 +02:00
Jean-François B
d9681ab1b6 LaTeX: some code comments (technical) and minor changes 2022-06-27 23:37:52 +02:00
danieleades
12e86ff0e1
Use the flake8-comprehensions lint plugin (#10601) 2022-06-26 14:43:05 +01:00
Joachim Jablon
663a5b7781
py domain: Ignore aliases for resolving :any: cross-references (#10089)
Co-authored-by: Joachim Jablon <joachim.jablon@people-doc.com>
2022-06-26 13:04:15 +01:00
Antony Lee
03c1e1b15c
Replace napoleon.iterators by simpler stack implementation (#9856) 2022-06-26 12:40:42 +01:00
jfbu
d730c55f13 [DOC] Fix sectioning level in usage/configuration.rst
The conf.py example ended up as sub-section of previous one
2022-06-26 11:36:38 +02:00
Jean-François B
40841ae80c
LaTeX: fix #8686 Text can fall out of code-block at end of page (#10577)
When wrapping long code lines, recover the TeX "hbox"es and trick fancyvrb into considering each as an input code line.  This way, pagebreaks are allowed.  No change to existing output (in particular, codeline number is printed only once) when the wrapped line had place on current page.
2022-06-26 10:19:44 +02:00
jfbu
f74cc3fcaa Minor cross-linking improvements in usage/restructuredtext/roles.rst 2022-06-26 09:51:39 +02:00
jfbu
8ecbe8a15a Improve mark-up in docs (follow-up to PR #10366) 2022-06-26 09:30:22 +02:00
jfbu
d4aba4b935 Fix markup in CHANGES for a 5.1.0 Features added entry 2022-06-26 09:12:06 +02:00
Takeshi KOMIYA
26982d50bd
Merge pull request #10581 from tk0miya/10579_i18n_UnboundLocalError
Fix #10579: i18n: UnboundLocalError is raised on translating raw directive
2022-06-26 14:14:36 +09:00
Takeshi KOMIYA
d5aa0f4ab7
Merge pull request #10600 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-06-26 14:14:10 +09:00
tk0miya
e8b9bb857e Update message catalogs 2022-06-26 00:23:54 +00:00
Adam Turner
68bc916cf4
Test with Docutils 0.19 prereleases (#10598) 2022-06-25 22:15:30 +01:00
Jean-François B
5a24fec8de
Fix build failure for Docutils 0.18.0 (#10597) 2022-06-25 21:15:04 +01:00
Jean-François B
4b482334a2
Fix duplicated field term colons for Docutils 0.18+ (#10595)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-25 20:10:34 +01:00
Hugo van Kemenade
20f52d9fa5
Replace deprecated logging.warn with logging.warning (#10592) 2022-06-25 12:31:11 +01:00
Pradyun Gedam
852534312e
Reduce content in the sphinx-quickstart conf.py file (#10571) 2022-06-25 12:28:35 +01:00
Jeremy Maitin-Shepard
1198fbe7f9
Ensure ObjectDescription signature nodes include line numbers (#10249)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-23 21:48:32 +01:00
jfbu
1786e989ca Fix another whitespace issue in CHANGES 2022-06-20 10:37:44 +02:00
jfbu
d94e7deb5a Fix mark-up in CHANGES 2022-06-20 10:31:59 +02:00
Julien Palard
4a67ea1da3
doc linting: Re-enable a check (#10573) 2022-06-19 23:29:00 +01:00
Martin Liška
ea46202565
Fix parsing of options with enabled option_emphasise_placeholders (#10565) 2022-06-19 22:51:48 +01:00
Takeshi KOMIYA
ec596de871
Merge pull request #10580 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-06-19 18:28:41 +09:00
Takeshi KOMIYA
de0ce29372 Fix #10579: i18n: UnboundLocalError is raised on translating raw directive 2022-06-19 17:33:22 +09:00
Takeshi KOMIYA
9e6a3900e6 Update CHANGES for PR #10566 2022-06-19 16:56:04 +09:00
Takeshi KOMIYA
95b81831b1
Merge pull request #10566 from marxin/fix-theme-config-usage
Fix usage of enable_search_shortcuts theme config value.
2022-06-19 16:55:01 +09:00
tk0miya
a3340efcf9 Update message catalogs 2022-06-19 06:31:44 +00:00
Takeshi KOMIYA
854ff556f9
Merge pull request #10558 from mitya57/remove-ru-ru
Remove `ru_RU` translation, it is empty and duplicates `ru`
2022-06-19 15:27:33 +09:00
marxin
3a269ee590 Fix usage of enable_search_shortcuts theme config value.
The option value is not properly propagated to Java script.
2022-06-17 21:21:27 +02:00
Adam Turner
c40bb7281e
requests.packages is deprecated, import from urllib3 (#10563) 2022-06-17 00:06:06 +01:00
Adam Turner
ea14dd533b Fix inline literal markup in templating.rst 2022-06-16 23:15:50 +01:00
Adam Turner
6ab15a047c
Update GitHub Actions versions (#10561) 2022-06-16 21:43:00 +01:00
Adam Turner
70f950cae0
Remove traces of Python 2 and 3.5 (#10560) 2022-06-16 21:37:46 +01:00
Adam Turner
6d23d7d153 Update CHANGES for #6679 2022-06-16 21:13:14 +01:00
David Miguel Susano Pinto
715a137a4d
agogo theme: ensure hidden toctree is show on Table of Contents (#6679) 2022-06-16 21:10:40 +01:00
Ezio Melotti
1a1491b8a7
Show the repr of the value in some warnings (#10439)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-06-16 21:07:25 +01:00
Martin Liška
f789148fa2
Allow emphasising placeholders in option directives (#10366)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-16 20:46:01 +01:00