Commit Graph

17638 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
98f827ceee Refactor C++ tests 2021-06-03 20:01:21 +02:00
Jakob Lykke Andersen
ef68bd4220 Refactor C tests 2021-06-03 19:35:14 +02:00
Jakob Lykke Andersen
92c5ee07be
Merge pull request #9155 from jakobandersen/field_roles
Call roles in typed fields
2021-06-03 19:28:19 +02:00
Takeshi KOMIYA
1418e3acbb
Merge pull request #9260 from tk0miya/9016_linkcheck_github_anchors
Close #9016: linkcheck builder failed to check the anchors of github.com
2021-06-04 01:18:22 +09:00
Jakob Lykke Andersen
783314d54d Field roles, add C++ test 2021-06-03 16:52:38 +02:00
Jakob Lykke Andersen
27d40519c1 Field roles, add C test 2021-06-03 16:42:57 +02:00
Jakob Lykke Andersen
d5598b363e DocFields, small fixes 2021-06-03 16:36:37 +02:00
Jakob Lykke Andersen
ec9d578ed3 Update CHANGES 2021-06-03 16:36:37 +02:00
Jakob Lykke Andersen
bd13c15dca js, use func role for exception field
The err role doesn't exist and the rest are all equivalent.
2021-06-03 16:36:37 +02:00
Jakob Lykke Andersen
c566823e1b C, C++, use expr role in typed fields 2021-06-03 16:36:37 +02:00
Jakob Lykke Andersen
4534d2d1a5 fields, call roles instead of making a pending_xref
Except for py which has mixins that assumes a single pending_xref
2021-06-03 16:36:37 +02:00
Takeshi KOMIYA
a02f6c5e0c Update CHANGES for PR #9260 2021-06-03 21:58:36 +09:00
Takeshi KOMIYA
4776cd329c Fix ImportError 2021-06-03 21:54:38 +09:00
Takeshi KOMIYA
bc0e3b4405
linkcheck: Use urlparse to check and reconstruct URI for github.com
Co-authored-by: François Freitag <mail@franek.fr>
2021-06-03 21:52:00 +09:00
Takeshi KOMIYA
69cbf7aa92
Merge pull request #9285 from tk0miya/9283_autodoc_attribute_not_having_comment
Fix #9283: autodoc: failed to build doc for attribute not commented
2021-06-03 21:47:58 +09:00
Takeshi KOMIYA
01918fc2d3
Merge pull request #9289 from tk0miya/9268_python_use_unqualified_type_names
Close #9268: python_use_unqualified_type_names supports type field
2021-06-03 21:46:43 +09:00
Takeshi KOMIYA
90470b094e Close #9268: python_use_unqualified_type_names supports type field 2021-06-03 00:09:16 +09:00
Takeshi KOMIYA
82dad44e5b
Merge pull request #9288 from b-rohit/4.x
Add asvin in EXAMPLES
2021-06-02 00:33:52 +09:00
Rohit Bohara
009c608b6b
Add asvin in EXAMPLES
add asvin in documentation using sphinx_rtd_theme list
2021-06-01 13:21:36 +02:00
Takeshi KOMIYA
92335bd6e6 Close #9016: linkcheck builder failed to check the anchors of github.com 2021-06-01 00:31:15 +09:00
Takeshi KOMIYA
e878299cc6
Merge pull request #9259 from tk0miya/deprecate_app
deprecate sphinx.ext.autosummary._app
2021-05-31 02:42:13 +09:00
Takeshi KOMIYA
46c2e45aa6 deprecate sphinx.ext.autosummary._app 2021-05-31 02:09:10 +09:00
Takeshi KOMIYA
5c275191b6
Merge pull request #9282 from tk0miya/9280_exceptions
Fix #9280: py domain: "exceptions" module is not displayed
2021-05-30 22:09:34 +09:00
Takeshi KOMIYA
7dbe8ebf1b
Merge pull request #9281 from tk0miya/9272_enum_for_defargs
Close #9272: autodoc: Render enum values for the default argument value better
2021-05-30 22:08:31 +09:00
Takeshi KOMIYA
9a9433e403 Fix #9283: autodoc: failed to build doc for attribute not commented
Autoattribute directive should check the existence of instance attribute
that is defined inside __init__() but not having comments before
accessing it.
2021-05-30 19:48:11 +09:00
Takeshi KOMIYA
429d0f7171
Merge pull request #9284 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-05-30 12:47:30 +09:00
tk0miya
341f66e3a2 Update message catalogs 2021-05-30 00:22:29 +00:00
Takeshi KOMIYA
201f61f722 Fix #9280: py domain: "exceptions" module is not displayed
Since v0.2, python domain gives a special treatment for the exceptions
module to suppress its name on documenting exception classes.  It had
been worthy on python2 era.  But the module has been removed since
python3.  Therefore, the special treatment becomes harmful for user
libraries.  This removes it to render module names correctly.

Note: Now we've only supported python3.  So this is not incompatible.
2021-05-30 03:46:55 +09:00
Takeshi KOMIYA
2809b30c17 Update CHANGES for PR #9271 2021-05-30 03:15:40 +09:00
Takeshi KOMIYA
d961a380d8
Merge pull request #9271 from rdt12/pyramid-logo
Closes #9270: pyramid theme generates incorrect logo links
2021-05-30 03:12:45 +09:00
Takeshi KOMIYA
02d3e9836c
Update CHANGES 2021-05-30 02:22:45 +09:00
Takeshi KOMIYA
31ec519d38 Close #9272: autodoc: Render enum values for the default argument value better 2021-05-30 02:15:28 +09:00
Takeshi KOMIYA
8ec06e9a1b
Merge pull request #9277 from greyli/fix-intl-docs
Fix typo in doc/intl.rst
2021-05-30 00:39:41 +09:00
Grey Li
6a0dae08d0
Fix typo in doc/intl.rst
The pot files are in the gettext folder instead of locale folder.
2021-05-27 17:28:10 +08:00
Ron Tapia
7c55559028 Closes #9270: pyramid theme generates incorrect logo links 2021-05-25 13:24:33 -04:00
Takeshi KOMIYA
830b3fbe2b
Merge pull request #9261 from tk0miya/9250_inherited_docstring
Fix #9250: autodoc: The inherited method not having docstring is wrongly parsed
2021-05-24 01:24:23 +09:00
Takeshi KOMIYA
27e0122f08
Merge pull request #9263 from tk0miya/remove_RemovedInSphinx40Warning
refactor: Remove RemovedInSphinx40Warning
2021-05-24 01:22:48 +09:00
Takeshi KOMIYA
80846c2ccc
Merge pull request #9265 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-05-23 12:51:17 +09:00
tk0miya
eec29c68af Update message catalogs 2021-05-23 00:11:48 +00:00
Takeshi KOMIYA
c579a5eb6a refactor: Remove RemovedInSphinx40Warning 2021-05-23 02:31:58 +09:00
Takeshi KOMIYA
4f5ab7c1bb Merge branch '4.0.x' into 4.x 2021-05-23 02:31:24 +09:00
Takeshi KOMIYA
de64bfdeac
Merge pull request #9264 from tk0miya/circleci
CircleCI: Test with python 3.8
2021-05-23 02:31:07 +09:00
Takeshi KOMIYA
3ef5fb30a0 CircleCI: Test with python 3.8
From now on, Sphinx will be tested with python3.8 and Ubuntu-20.04 in
CircleCI.
2021-05-23 02:21:32 +09:00
Takeshi KOMIYA
2ddc1d0681
Merge pull request #9258 from tk0miya/1874_piped_types_in_info-field-list
Close #1874: py domain: Support union types using `|` in info-field-list
2021-05-23 00:42:56 +09:00
Takeshi KOMIYA
0fb8e33f32 Fix #9250: autodoc: The inherited method not having docstring is wrongly parsed
`sphinx.util.inspect.getdoc()` clean the docstring up if the method is
inherited and not having docstring.  That causes indentations are
removed on processing it.
2021-05-23 00:39:05 +09:00
Takeshi KOMIYA
4d90277c49
Merge pull request #9254 from tk0miya/refactor_find_pending_xref_conditions
refactor: reduce calls of find_pending_xref_conditions (refs: #9240)
2021-05-22 16:29:50 +09:00
Takeshi KOMIYA
5a8dec457a refactor: reduce calls of find_pending_xref_conditions (refs: #9240)
After #9246, `find_pending_xref_conditions()` should be only called from
intended modules.  At present, the Python Domain is the only module to
call it intendedly.  Therefore, this removes the needless calls of the
utility function from "unintended" modules.
2021-05-22 15:34:30 +09:00
Takeshi KOMIYA
abe5ab4fa7
Merge pull request #9242 from tk0miya/refactor_env2
refactor: Make the app argument for BuildEnvironment required
2021-05-22 02:22:42 +09:00
Takeshi KOMIYA
63fbfb02f1 refactor: Make the app argument for BuildEnvironment required
At present, some attributes of env object are considered as optional
because they have been initialized by None on the constructor.  But
they have always been fullfilled actually.

To be clear the type hints of the env object, this makes the `app`
argument for the BuildEnvironment class required.  It can ensure the
attributes of env object are not optional.
2021-05-22 02:09:49 +09:00
Takeshi KOMIYA
aba3a33645
Merge pull request #9253 from tk0miya/9252_update_docs
Fix #9252: doc: Update explanation of highlight_language
2021-05-22 01:57:11 +09:00