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
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
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
Takeshi KOMIYA
13803a79e7
Support docutils-0.18: Consume iterator of Element.traverse()
...
Since 0.18, Element.traverse() returns an iterator instead of
intermediate object. As a result, the return value is always considered
as truthy value. And it becomes fragile when the caller modifies the
doctree on the loop.
2021-10-27 01:49:59 +09:00
Takeshi KOMIYA
2be9d6b092
Merge pull request #9774 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-10-26 01:54:06 +09:00
tk0miya
498bcad4fb
Update message catalogs
2021-10-25 16:48:09 +00:00
Takeshi KOMIYA
20ed920352
Merge pull request #9768 from tk0miya/fix_transifex_client
...
Fix CI: Downgrade python for transifex CI
2021-10-26 01:47:11 +09:00
gibsondan
b1c0d1f00e
Closes #9733 : Fix for logging handler flushing warnings in the middle of the build
...
Summary:
My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op.
Test Plan: Repeat repro steps from #9733 - project now always includes warnings
2021-10-25 10:17:01 -05:00
François Freitag
70e0c314ca
Fix linkcheck_auth link to Requests authentication
...
The link was directing to
https://www.sphinx-doc.org/en/master/usage/requests-auth >. Prefer using
the intersphinx module to generate the link, it’s more robust than
directly linking to the page.
2021-10-25 15:04:15 +02:00
Takeshi KOMIYA
c39cf2e750
Fix CI: Downgrade python for transifex CI
2021-10-25 11:00:01 +09:00
Takeshi KOMIYA
f57178739e
Merge pull request #9767 from tk0miya/fix_transifex_client
...
Fix CI: Downgrade python for transifex CI
2021-10-25 09:41:37 +09:00
Takeshi KOMIYA
71c1fb01b9
Fix CI: Downgrade python for transifex CI
...
The latest transifex-client could not be installed on python 3.10
environment. This downgrade python to 3.9 to be install the latest one.
ref: https://github.com/transifex/transifex-client/pull/330
2021-10-25 09:31:43 +09:00
Takeshi KOMIYA
15807d7de0
Merge pull request #9765 from mitya57/typo
...
Fix a typo in variable name
2021-10-24 03:13:56 +09:00
Dmitry Shachnev
66ec92b2a2
Fix a typo in variable name
2021-10-23 14:33:00 +03:00
Takeshi KOMIYA
3ad591a631
Update CHANGES for PR #9737
2021-10-23 17:07:39 +09:00
Takeshi KOMIYA
b097213098
Merge pull request #9737 from ahippo/latex-aggedright
...
LaTeX: fix '\raggedright' escaping causing "aggedright" text
2021-10-23 17:06:03 +09:00
Takeshi KOMIYA
b60c43e1d0
Update CHANGES for PR #9685
2021-10-23 16:41:20 +09:00