Commit Graph

18767 Commits

Author SHA1 Message Date
Jeremy Maitin-Shepard
099b54cb87 Make code role highlighting consistent with code-block directive
Fixes https://github.com/sphinx-doc/sphinx/issues/5157

This is factored out of the sphinx-immaterial theme:
1ef121a612/sphinx_immaterial/inlinesyntaxhighlight.py (L1)

See also:
https://github.com/sphinx-doc/sphinx/pull/6916
2022-03-19 20:37:49 -07:00
Takeshi KOMIYA
b3812f72a9
Merge pull request #10239 from tk0miya/10234_autosummary_css
Close #10234: autosummary: Add "autosummary" CSS class to summary tables
2022-03-06 18:43:17 +09:00
Takeshi KOMIYA
cac69adda8 Close #10234: autosummary: Add "autosummary" CSS class to summary tables 2022-03-06 14:50:22 +09:00
Takeshi KOMIYA
9f8974d8bb
Merge pull request #10224 from hugovk/master
CI: Only run cron in upstream
2022-03-05 15:36:41 +09:00
Takeshi KOMIYA
b60caca940
Merge pull request #10211 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-03-03 02:40:11 +09:00
Takeshi KOMIYA
deaf90d604
Merge pull request #10231 from sphinx-doc/dependabot/npm_and_yarn/karma-6.3.16
Bump karma from 6.3.14 to 6.3.16
2022-03-03 02:39:08 +09:00
Takeshi KOMIYA
37e8967f3f Merge branch '4.4.x' into 4.x 2022-03-03 02:24:53 +09:00
Takeshi KOMIYA
ce5537c980
Merge pull request #10232 from tk0miya/get_type_hints_since_py311
test: Follow the new behavior of typing.get_type_hints() since py311
2022-03-03 02:23:54 +09:00
Takeshi KOMIYA
12104fe5de test: Follow the new behavior of typing.get_type_hints() since py311
Since python-3.11, `typing.get_type_hints()` will not add Optional[t] to
type annotations even if a default value for function argument is None.

refs: https://github.com/python/cpython/pull/30304 (bpo-46195)
2022-03-03 01:34:21 +09:00
Hugo van Kemenade
4d83185f3f Only run cron in upstream 2022-03-02 17:50:07 +02:00
dependabot[bot]
10fdc0c6d0
Bump karma from 6.3.14 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:29:51 +00:00
tk0miya
81c43a352a Update message catalogs 2022-02-27 00:16:45 +00:00
jfbu
b8789b4cb6 Improve mark-up and order in CHANGES 2022-02-15 10:31:29 +01:00
jfbu
173889f8f7 Update CHANGES for PR #10087 2022-02-14 21:06:51 +01:00
Jean-François B
6768577bd9
Merge pull request #10087 from marxin/vertical-spaces-for-cpp-functions
Latex: fix vertical spacing for cpp:function.
2022-02-14 20:52:07 +01:00
Jean-François B
6513b4f18e
Merge pull request #10190 from tk0miya/10175_named_footnotes_in_different_files
Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnote
2022-02-13 20:49:38 +01:00
Takeshi KOMIYA
01d06f9ffe Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnote
A named footnote reference will be converted to a hyperlink to an
incorrect footnote if the name is also used in the different document.
2022-02-13 20:20:42 +09:00
Takeshi KOMIYA
6f0a8f3516
Merge pull request #10189 from tk0miya/https_pep_role
The latest docutils converts :pep: role to the "https" URL (again)
2022-02-13 19:34:39 +09:00
Takeshi KOMIYA
9d29adb76c The latest docutils converts :pep: role to the "https" URL (again)
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-13 19:22:17 +09:00
Takeshi KOMIYA
9ea2b768b0
Merge pull request #10185 from tk0miya/10181_napoleon_use_ivar_corrupted
Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
2022-02-13 18:46:14 +09:00
Takeshi KOMIYA
fc38564fbf
Merge pull request #10183 from tk0miya/9971_autodoc_unhashable_type
Fix #9971: autodoc: TypeError for annotation with unhashable object
2022-02-13 18:45:47 +09:00
Takeshi KOMIYA
b07ca9dbcc
Merge pull request #10170 from tk0miya/https_pep_role
The latest docutils converts :pep: role to the "https" URL
2022-02-13 18:44:55 +09:00
Takeshi KOMIYA
71b1c12167
Merge pull request #10187 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-02-13 18:44:29 +09:00
tk0miya
aefc4e2473 Update message catalogs 2022-02-13 00:14:10 +00:00
Takeshi KOMIYA
8224f6f44a Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
Since 4.0, :ivar: items has not been rendered as hyperlinks.  So any
modules, classes and tilda are now harmful.  This removes the prefixing
filter for napoleon_use_ivar option.

refs: #5129 and #5977
2022-02-12 00:50:56 +09:00
Takeshi KOMIYA
4ba056870d
Merge pull request #10184 from sphinx-doc/dependabot/npm_and_yarn/karma-6.3.14
Bump karma from 4.2.0 to 6.3.14
2022-02-11 16:27:06 +09:00
dependabot[bot]
028fccf5ae
Bump karma from 4.2.0 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 4.2.0 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v4.2.0...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 05:21:16 +00:00
Takeshi KOMIYA
e1ea3bb53a Fix #9971: autodoc: TypeError for annotation with unhashable object
restify() and stringify() fails with TypeError when unhashable object is
given.
2022-02-11 13:40:35 +09:00
Takeshi KOMIYA
a32d609061
Merge pull request #10169 from tk0miya/9529_named_footnotes_in_latex
Fix #9529: LaTeX: named footnotes are converted to "?"
2022-02-11 13:18:59 +09:00
Takeshi KOMIYA
777b1fa105 Merge branch '4.x' into 9529_named_footnotes_in_latex 2022-02-11 13:08:26 +09:00
Takeshi KOMIYA
5125ae8316 latex: Update description of \sphinxexplicit 2022-02-11 13:07:11 +09:00
Takeshi KOMIYA
b6931acac6
Merge pull request #10168 from tk0miya/9529_testcase_for_named_footnote
test: Add testcase for named footnotes
2022-02-11 13:06:01 +09:00
Takeshi KOMIYA
041424643f
Merge pull request #10176 from dantownsend/dantownsend-patch-1
improve grammar in theming.rst
2022-02-11 03:21:23 +09:00
Daniel Townsend
bcb0a03f92
setup -> set up 2022-02-10 17:44:18 +00:00
Daniel Townsend
03c8ceb85f
improve grammar in theming.rst 2022-02-08 13:05:18 +00:00
Takeshi KOMIYA
083b0b5207 The latest docutils converts :pep: role to the "https" URL
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-06 23:10:25 +09:00
Takeshi KOMIYA
680417a10d
Merge pull request #10150 from tk0miya/10146_autodoc_default_options_should_support_no-value
Close #10146: autodoc: autodoc_default_options does not support `no-value` option
2022-02-06 15:59:24 +09:00
Takeshi KOMIYA
1546b21f89 Fix #9529: LaTeX: named footnotes are converted to "?"
Named auto numbered footnote (ex. ``[#named]``) that is referred
multiple times was rendered to a question mark.

This calls `\sphinxstepexplicit` for every footnote node that is
referred multiple times.
2022-02-06 15:59:01 +09:00
Takeshi KOMIYA
1d68973f20 Merge branch '4.4.x' into 4.x 2022-02-06 15:57:00 +09:00
Takeshi KOMIYA
7469096e0a
Update doc/usage/extensions/autodoc.rst 2022-02-06 15:30:54 +09:00
Takeshi KOMIYA
73f980641c
Merge pull request #10149 from tk0miya/9876_catch_PycodeError
Fix #9876: autodoc: Failed to document a class on binary module
2022-02-06 15:30:06 +09:00
Takeshi KOMIYA
9b142f15e6 test: Add testcase for named footnotes 2022-02-06 14:33:29 +09:00
Takeshi KOMIYA
399cf3b37d
Merge pull request #10167 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-02-06 13:55:28 +09:00
tk0miya
d31f61db63 Update message catalogs 2022-02-06 00:13:25 +00:00
Takeshi KOMIYA
6515af256e
Merge pull request #10162 from AA-Turner/use-settings-default-overrides
Use `settings_default_overrides` in `sphinx.writers.html`
2022-02-06 02:40:52 +09:00
Takeshi KOMIYA
66ed82854b
Merge pull request #10156 from noahsprent/4.x
Remove commas when describing characters for section headings
2022-02-05 22:20:35 +09:00
Takeshi KOMIYA
9ab02f04e1 CI: Test with Windows Server 2019
In nearly days, `windows-latest` image on GHA was changed to Windows
Server 2022.  That causes build errors on building a cython script.

To avoid the problem, this pins the image for testing on GHA to Windows
Server 2019.
2022-02-05 22:00:47 +09:00
Takeshi KOMIYA
b4638eaeee
Merge pull request #10163 from tk0miya/test-with-windows-2019
CI: Test with Windows Server 2019
2022-02-05 21:59:57 +09:00
Takeshi KOMIYA
8b1ff8876b CI: Test with Windows Server 2019
In nearly days, `windows-latest` image on GHA was changed to Windows
Server 2022.  That causes build errors on building a cython script.

To avoid the problem, this pins the image for testing on GHA to Windows
Server 2019.
2022-02-05 21:48:43 +09:00
Takeshi KOMIYA
8c1671bd35
Merge pull request #10094 from tk0miya/9777_new_html_structure_of_du18
test: Follow the new HTML structure of docutils-0.18
2022-02-05 21:25:03 +09:00