Commit Graph

18540 Commits

Author SHA1 Message Date
Takeshi KOMIYA
203094b4c3 Close #9618: i18n: Add gettext_allow_fuzzy_translations 2021-11-10 01:32:02 +09:00
Jakob Lykke Andersen
d20cb96773 Fix lint errors 2021-11-09 09:31:56 +01:00
Jakob Lykke Andersen
3599f7d844 Make fallback for changed get_signature_prefix()
Fixes sphinx-doc/sphinx#9832
2021-11-09 09:18:50 +01:00
Takeshi KOMIYA
4cd19b8274 Close #9450: mathjax: Load MathJax via "defer" strategy
To allow configure MathJax via static JS file, it should be loaded via
"defer" strategy.
2021-11-09 01:54:56 +09:00
Takeshi KOMIYA
6c6cc8a6f5
Merge pull request #9826 from tk0miya/9820_reduce_distutils_usage
Replace distutils.versions.LooseVersion by packaging.version.Version
2021-11-09 00:42:03 +09:00
Martin Liska
faed8cb8db texinfo: improve variable in :samp: directives
The following snippet:
Show :samp:`Samp with a {variable}.`

Ends in .info as:
Show ‘Samp with a `variable'.’

Which is suboptimal and @var{variable} should be rather used.
That results in ‘Samp with a VARIABLE.’.
2021-11-08 11:30:44 +01:00
Takeshi KOMIYA
ee1cae8c1c Replace distutils.versions.LooseVersion by packaging.version.Version
Distutils module are now deprecated and will be removed in Python 3.12.
This replaces it by packaging module and reduces the dependency to it.

refs: #9820
2021-11-07 20:15:07 +09:00
Takeshi KOMIYA
8e350495b0
Merge pull request #9812 from not-my-profile/doc-theme-responsiveness
Document responsiveness of themes
2021-11-07 19:17:05 +09:00
Takeshi KOMIYA
ab54ce2579
Merge pull request #9821 from hugovk/rm-py-workaround
CI: Remove py workaround
2021-11-07 18:58:29 +09:00
Takeshi KOMIYA
2c22f1c3d6
Merge pull request #9823 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-11-07 18:14:20 +09:00
tk0miya
f31ca06e3a Update message catalogs 2021-11-07 00:10:53 +00:00
Hugo van Kemenade
2d9c6db3ce Remove py workaround 2021-11-05 13:14:42 +02:00
Martin Fischer
9e7e6dd5ed base theme: Wrap sidebar components in <div>s
Responsive themes inheriting from the base theme might want to display
the sidebar horizontally on narrower screens, which can be easily
achieved with flexbox. This however requires that the individual sidebar
components are wrapped in HTML elements so that flexbox can properly lay
them out.
2021-11-03 12:22:23 +01:00
Martin Fischer
43be17acf1 Document responsiveness of themes 2021-11-03 10:53:38 +01:00
Takeshi KOMIYA
1f91a0f8bd
Merge pull request #9799 from tk0miya/9781_autodoc_preserve_hexadecimal
Fix #9781: autodoc_preserve_defaults does not support hexadecimal
2021-11-01 00:58:33 +09:00
Jakob Lykke Andersen
a8eb1aab72
Merge pull request #9459 from jakobandersen/intersphinx_refac_disable
Intersphinx, refactoring and intersphinx_disable_domains
2021-10-31 14:42:12 +01:00
Jakob Lykke Andersen
56002be5e1 rename intersphinx_disabled_{refs -> reftypes}
And change format for domains to {name}:*
2021-10-31 13:56:26 +01:00
Jakob Lykke Andersen
484d74ad97 intersphinx_disabled_refs, doc default value 2021-10-31 13:42:26 +01:00
Jakob Lykke Andersen
e192f6253a intersphinx_disabled_refs, hard-code honor_disabled_refs in one more function 2021-10-31 13:40:39 +01:00
Jakob Lykke Andersen
778a3fe6a7 ntersphinx_disabled_refs, type rename 2021-10-31 13:26:38 +01:00
Jakob Lykke Andersen
cfbac2ceaa intersphinx_disabled_refs, rename 'all' to '*' 2021-10-31 13:23:23 +01:00
Jakob Lykke Andersen
9e1ba751ec intersphinx_disabled_refs, fix CHANGES 2021-10-31 13:16:57 +01:00
Jakob Lykke Andersen
0d9f4cd469 Generalize to disable specific refs as well. 2021-10-31 13:15:47 +01:00
Jakob Lykke Andersen
84238dfd39 Remove intersphinx_disabled_domains from quickstart 2021-10-31 13:15:47 +01:00
Jakob Lykke Andersen
c88c718397 Fix typo 2021-10-31 13:15:47 +01:00
Jakob Lykke Andersen
f22faa7e06 Add intersphinx_disabled_domains
Fixes sphinx-doc/sphinx#2068
Replaces sphinx-doc/sphinx#8981
2021-10-31 13:15:47 +01:00
Jakob Lykke Andersen
961f5af096 Intersphinx, refactoring
Also, when a reference is unresolved, don't strip the inventory prefix.
2021-10-31 13:15:46 +01:00
Takeshi KOMIYA
8dd84bc8ab
Merge pull request #9803 from tk0miya/fix-flake8-error
Fix flake8 error
2021-10-31 19:32:29 +09:00
Takeshi KOMIYA
524c99afef Fix a flake8 warning 2021-10-31 16:07:46 +09:00
Takeshi KOMIYA
c497a2867a Update CHANGES for PR #9656 2021-10-31 15:55:51 +09:00
Takeshi KOMIYA
4475dab99e
Merge pull request #9656 from sdhiscocks/suppress_warning_subtype_none
Fix issue with warnings without subtype being incorrectly suppressed
2021-10-31 15:51:14 +09:00
Takeshi KOMIYA
cda266333e
Merge pull request #9798 from tk0miya/9775_Literal
Fix #9775: py domain: Literal typehint was converted to a cross reference
2021-10-31 15:43:19 +09:00
Takeshi KOMIYA
b2a59ceb8e
Merge pull request #9802 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-10-31 15:42:52 +09:00
tk0miya
0f8715e5c9 Update message catalogs 2021-10-31 00:10:50 +00:00
Takeshi KOMIYA
f42d8f7df6
Merge pull request #9801 from tk0miya/docutils-0.18_traverse_2
Support docutils-0.18: Consume generator of Element.traverse()
2021-10-31 01:45:37 +09:00
Takeshi KOMIYA
3f3de7d29a Support docutils-0.18: Consume generator of Element.traverse()
The last fix in i18n module was incorrect because it compares the
"already consumed" generators.  It should compares the lists of nodes.
2021-10-31 01:33:16 +09:00
Takeshi KOMIYA
65647014e6 Update CHANGES for PR #9772 2021-10-31 01:18:52 +09:00
Takeshi KOMIYA
745e11426f
Merge pull request #9772 from gibsondan/loggingflush
Closes #9733: Fix for logging handler flushing warnings in the middle of the docs build
2021-10-31 01:17:59 +09:00
Takeshi KOMIYA
b8844eb339 Fix #9781: autodoc_preserve_defaults does not support hexadecimal 2021-10-31 01:11:56 +09:00
Takeshi KOMIYA
2b5c55e45a
Merge pull request #9797 from tk0miya/9757_inherited_classmethods
Fix #9757: autodoc_inherit_docstrings does not effect to overriden classmethods
2021-10-31 00:33:38 +09:00
Takeshi KOMIYA
52787deb32 Fix #9775: py domain: Literal typehint was converted to a cross reference 2021-10-30 16:57:33 +09:00
Takeshi KOMIYA
3c5b31b50d Fix #9757: autodoc_inherit_docstrings does not effect to overriden classmethods 2021-10-30 02:01:38 +09:00
Sam Doran
83225767cb Set multiprocessing start method to fork
Since the current code requires forking, set it explicitly rather than disabling
parallelization on macOS.
2021-10-28 12:38:56 -04:00
Takeshi KOMIYA
4c91c038b2
Merge pull request #9787 from dmares01/chocolatey-install-link
Update Chocolatey Install Link
2021-10-28 01:59:49 +09:00
Drew Mares
5b4b95790a
Update Chocolatey Install Link
The install URL returned a 404 but now it is updated to the new location
2021-10-27 11:39:40 -05:00
Takeshi KOMIYA
a16baf1495
Merge pull request #9760 from tk0miya/9756_classmethod_not_having_func
Fix #9756: autodoc: Crashed if classmethod does not have __func__ attribute
2021-10-27 02:24:05 +09:00
Takeshi KOMIYA
096108ccac
Merge branch '4.x' into 9756_classmethod_not_having_func 2021-10-27 02:05:36 +09:00
Takeshi KOMIYA
d8b92bb1dc
Merge pull request #9769 from francoisfreitag/fix-linkcheck-auth-link
Fix linkcheck_auth link to Requests authentication
2021-10-27 02:04:51 +09:00
Takeshi KOMIYA
5c279a18fc
Merge pull request #9764 from tk0miya/9752_annotated_slots_attribute
Fix #9752: autodoc: Failed to detect type annotation for slots attribute
2021-10-27 02:03:30 +09:00
Takeshi KOMIYA
e719b82770
Merge pull request #9780 from tk0miya/docutils-0.18_traverse
Support docutils-0.18: Consume iterator of Element.traverse()
2021-10-27 02:02:21 +09:00