Commit Graph

17493 Commits

Author SHA1 Message Date
Dmitry Shachnev
356f7c53e2 Fix typos in doc/extdev/deprecated.rst 2021-05-09 20:14:38 +03:00
Takeshi KOMIYA
1d72196bfb
Merge pull request #9184 from tk0miya/9176_docs
doc: Update CHANGES and docs for PR #9176
2021-05-10 02:03:08 +09:00
Takeshi KOMIYA
b88187de34
Merge pull request #9182 from tk0miya/refactor_autodoc
refactor: autodoc: Remove backslashes from the tail of line
2021-05-10 01:50:15 +09:00
Takeshi KOMIYA
98c756b33f
Merge pull request #9180 from tk0miya/9175_special_member_for_module
Fix #9175: autodoc: Special member is not documented in the module
2021-05-10 01:49:36 +09:00
Takeshi KOMIYA
78dbe075a7 Merge branch '4.0.x' into 4.x 2021-05-09 12:22:55 +09:00
Takeshi KOMIYA
f73e061d2b Bump version 2021-05-09 12:21:32 +09:00
Takeshi KOMIYA
a317d0037c Bump to 4.0.0 final 2021-05-09 12:20:11 +09:00
Takeshi KOMIYA
09bb98689c Update message catalogs 2021-05-09 12:17:17 +09:00
Takeshi KOMIYA
ac51fe8d2a doc: Update CHANGES and docs for PR #9176 2021-05-09 02:13:15 +09:00
Takeshi KOMIYA
4b197928aa
Merge pull request #9176 from mart-e/4-add-warning-i18n
[IMP] util: detect incorrect locale_dirs path
2021-05-09 01:49:57 +09:00
Takeshi KOMIYA
80fb2c051c refactor: autodoc: Remove backslashes from the tail of line 2021-05-08 22:09:39 +09:00
Martin Trigaux
bda29f1a83 [IMP] util: detect incorrect locale_dirs path
In case the config is incorrect (e.g. wrong relative path), it is silently ignored.
This makes it easier for debugging.
2021-05-08 13:03:29 +02:00
Takeshi KOMIYA
d69c35b1a4 Fix #9175: autodoc: Special member is not documented in the module
The special members are not treated as "attributes".  So they're not
handled by DataDocumenter.  This moves the detection to the earlier
step of filter_members().
2021-05-08 17:33:33 +09:00
Takeshi KOMIYA
f47bf1471d
Merge pull request #9178 from sphinx-doc/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-08 00:46:39 +09:00
dependabot[bot]
9c1a58d5e1
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 13:34:26 +00:00
Takeshi KOMIYA
512743525c Update CHANGES for PR #9131 2021-05-06 00:23:37 +09:00
Takeshi KOMIYA
829de019c5
Merge pull request #9162 from tk0miya/jinja2-3.0
Support jinja2-3.0
2021-05-06 00:02:24 +09:00
Takeshi KOMIYA
d82c8a7890
Merge pull request #9131 from RuRo/feature/glob-nitpick-ignore
Ignore nitpick warnings with regular expressions using `nitpick_ignore_regex`
2021-05-05 23:43:46 +09:00
Takeshi KOMIYA
d006c66e23 Update CHANGES for PR #9146 2021-05-05 22:28:57 +09:00
Takeshi KOMIYA
1f860cb77e
Merge pull request #9146 from pbudzyns/autosummary-iattr-include
Autosummary to include instance attributes
2021-05-05 22:27:28 +09:00
Takeshi KOMIYA
77da494173
Merge pull request #9153 from tk0miya/9082_python3.10.0a7
Revert "test: Disable testing with python3.10"
2021-05-05 22:22:30 +09:00
Takeshi KOMIYA
531a5ae9ef test: Adjust type annotataions in python 3.10.0b1 2021-05-05 22:11:41 +09:00
Takeshi KOMIYA
43434a086c
Merge pull request #9164 from tk0miya/refactor_Optional
refactor: Add Optional to type annotations
2021-05-04 21:04:16 +09:00
Takeshi KOMIYA
50d027a036 Update CHANGES for PR #9167 2021-05-04 20:24:30 +09:00
Takeshi KOMIYA
a0d60360f4
Merge pull request #9167 from bonartm/fix_css_specific_page
html: fix missing reverting when adding css files to specific page
2021-05-04 20:18:59 +09:00
Malte Bonart
a7c5a3a88b fix missing underscore
fix missing reverting when adding css files via app.add_css_file in a html-page-context event
2021-05-04 08:42:01 +02:00
Takeshi KOMIYA
85f58874ec Support jinja2-3.0
Since jinja2-3.0, some utility functions like contextfunction and
environmentfilter are renamed to new name.  This follows the updates to
support jinja2-3.0 or above.
2021-05-04 14:37:41 +09:00
Takeshi KOMIYA
930bf6c327 refactor: Add Optional to type annotations 2021-05-03 22:41:19 +09:00
Takeshi KOMIYA
f31af4b815 Merge branch '4.0.x' into 4.x 2021-05-03 22:31:51 +09:00
Takeshi KOMIYA
110fe1797c
Merge pull request #9159 from tk0miya/8588_nested_autodoc_type_aliases
Fix #8588: autodoc_type_aliases does not support dotted name
2021-05-03 22:30:01 +09:00
Takeshi KOMIYA
38758dbcce
Merge pull request #9158 from tk0miya/8597_metadata_only_docstring
Fix #8597: autodoc: metadata only docstring is treated as undocumented
2021-05-03 22:26:11 +09:00
Takeshi KOMIYA
30efa3d947
Merge branch '4.x' into 8597_metadata_only_docstring 2021-05-03 22:11:10 +09:00
Takeshi KOMIYA
cb7b41f151
Merge pull request #9157 from tk0miya/8872_stacked_singledispatch
Fix #8872: autodoc: stacked singledispatches are wrongly rendered
2021-05-03 22:10:41 +09:00
Takeshi KOMIYA
caa6579dbd Fix #8872: autodoc: stacked singledispatches are wrongly rendered
When multiple singledispatch decorators are stacked, the first typehints
are copied to the subsequent definitions unexpectedly.

Now autodoc generates a dummy function not to affect typehints to
subsequent functions.
2021-05-03 21:51:19 +09:00
Takeshi KOMIYA
cfb9183715 Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs.  To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
2021-05-03 21:48:13 +09:00
Takeshi KOMIYA
05abdad749
Merge pull request #9161 from tk0miya/pin_jinja2
Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
2021-05-03 21:47:27 +09:00
Takeshi KOMIYA
53c6353714
Merge pull request #9163 from tk0miya/extlinks_warning
Fix test: deprecation warning for extlinks
2021-05-03 21:46:55 +09:00
Takeshi KOMIYA
8d54010675 Fix test: deprecation warning for extlinks 2021-05-03 18:52:19 +09:00
Takeshi KOMIYA
28ab5f233c Close #8588: autodoc: autodoc_type_aliases supports dotted name
It allows users to define an alias for a class with module name
like `foo.bar.BazClass`.
2021-05-03 18:47:47 +09:00
Takeshi KOMIYA
7acfc7826f Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs.  To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
2021-05-03 13:56:23 +09:00
Takeshi KOMIYA
469def56b6 Fix #8597: autodoc: metadata only docstring is treated as undocumented
The metadata in docstring is invisible content. Therefore docstring
having only metadata should be treated as undocumented.
2021-05-02 23:17:58 +09:00
pbudzyns
abbd005612 revert get members for module 2021-05-02 13:55:16 +02:00
ruro
afa80dfe03
add tests for nitpick_ignore_regex 2021-05-02 14:54:00 +03:00
ruro
0aea6d318c
add tests for regular nitpick_ignore 2021-05-02 14:53:46 +03:00
ruro
bf2e69ad13
add nitpicky-warnings test root 2021-05-02 14:53:01 +03:00
Takeshi KOMIYA
b237e78f9c
Merge pull request #9154 from tk0miya/8107_class-doc-from
Close #8107: autodoc: Add class-doc-from option to autoclass directive
2021-05-02 20:31:51 +09:00
ruro
104d0a3f69
describe nitpick_ignore_regex in docs 2021-05-02 13:31:13 +03:00
ruro
00bc3465b3
implement nitpick_ignore_regex 2021-05-02 13:31:13 +03:00
Takeshi KOMIYA
30237c004d Update CHANGES for PR #9120 2021-05-02 18:32:02 +09:00
Takeshi KOMIYA
11d3a45ba2
Merge pull request #9120 from V0lantis/feature/selecting_usage
Feature:
2021-05-02 18:25:09 +09:00