Toni Ruža
a8f5341d88
Fold long line
2020-12-09 01:59:13 +09:00
Toni Ruža
6fc83981b3
Prevent page brake in the middle of a seealso
2020-12-09 01:59:06 +09:00
Artyom Kaltovich
5be21b4baa
fix typo
2020-12-07 14:40:12 +03:00
Artyom Kaltovich
612479dcf0
fix bullet list
2020-12-07 14:38:58 +03:00
Artyom Kaltovich
6fdbce933b
fix_8522
2020-12-07 14:31:10 +03:00
Jeremy Maitin-Shepard
d737ecd063
Fix nonascii_srcdir to work when non-ascii directories aren't supported
...
Previously, the nonascii_srcdir in tests/test_build.py contained some
logic to attempt to handle the case where non-ascii directories aren't
supported, but it did not actually work because it fails to copy the
test sources to the temporary directory.
With this commit, the following test invocation, which previously
failed, now pases:
LANG=en_US.iso8859-1 python -m pytest test_build.py
2020-11-30 13:13:01 -08:00
Takeshi KOMIYA
9cf2826491
Merge pull request #8506 from tk0miya/8352_option_startswith_bracket
...
Fix #8352 : std domain: Failed to parse an option that starts with bracket
2020-11-29 23:58:18 +09:00
Takeshi KOMIYA
cafb8bfe92
Merge pull request #8507 from tk0miya/refactor_html_events_registration
...
refactor: Register events for HTML builders in the HTML builder module
2020-11-29 23:57:47 +09:00
Takeshi KOMIYA
aa84eea08b
Merge pull request #8504 from tk0miya/deprecate_GenericAliasDocumenter
...
Fix #8503 : autoattribute could not create document for a GenericAlias
2020-11-29 12:50:19 +09:00
Takeshi KOMIYA
bb63f03034
Fix #8503 : autoattribute could not create document for a GenericAlias
2020-11-29 12:24:10 +09:00
Takeshi KOMIYA
c15c61ed64
Merge pull request #8505 from tk0miya/8501_extract_summary_el_at
...
Fix #8501 : autosummary: summary extraction splits text after "el at."
2020-11-29 11:48:55 +09:00
Takeshi KOMIYA
233cdc1063
Merge pull request #8502 from tk0miya/refactor_autodoc_depraction
...
refactor: autodoc: Move deprecated documenters to autodoc.deprecated package
2020-11-29 11:48:14 +09:00
Takeshi KOMIYA
aa1978fe20
Merge pull request #8500 from tk0miya/refactor_UninitializedGlobalVariableMixin
...
refactor: autodoc: Add UninitializedGlobalVariableMixin
2020-11-29 11:47:24 +09:00
Takeshi KOMIYA
6a88e64fd0
refactor: Register events for HTML builders in the HTML builder module
2020-11-29 02:31:28 +09:00
Takeshi KOMIYA
bae7ab9c9d
Update CHANGES for PR #8291
2020-11-29 02:30:42 +09:00
Takeshi KOMIYA
6d24579f40
Fix #8352 : std domain: Failed to parse an option that starts with bracket
2020-11-29 02:22:40 +09:00
Takeshi KOMIYA
e4bd3bd3dd
Update CHANGES for PR #8494
2020-11-28 22:56:12 +09:00
Takeshi KOMIYA
3f3358b38f
Merge pull request #8494 from timoludwig/alias-of-builtin
...
Use restify() to reference alias attributes in autodoc
2020-11-28 22:55:27 +09:00
Timo Ludwig
ccfd98dc07
Fix #8493 : Use restify() in autodoc to reference alias attributes
2020-11-28 12:12:02 +01:00
Takeshi KOMIYA
da4c69c624
Merge pull request #8291 from QuentinSoubeyran/8285_napoleon_google_style_use_annotations
...
Fix #8285 : napoleon can use PEP526 annotations
2020-11-28 18:11:30 +09:00
Takeshi KOMIYA
adb8f97156
refactor: autodoc: Move deprecated documenters to autodoc.deprecated package
2020-11-28 17:01:06 +09:00
Takeshi KOMIYA
65ca7aa0c9
Fix #8501 : autosummary: summary extraction splits text after "el at."
...
Add "el at." to the list of abbreviations.
2020-11-28 11:41:06 +09:00
Takeshi KOMIYA
00cd12e7e2
Merge pull request #8495 from QuentinSoubeyran/fix-8491
...
fix for #8491
2020-11-28 10:12:00 +09:00
Takeshi KOMIYA
beb2835849
Merge pull request #8499 from jdufresne/monkeypatch
...
Replace modify_env() with pytest monkeypatch.setenv()
2020-11-28 09:22:44 +09:00
Jon Dufresne
c1437d5f79
Replace modify_env() with pytest monkeypatch.setenv()
...
The same test utility function is built into pytest. Can avoid the
duplication.
https://docs.pytest.org/en/latest/monkeypatch.html#monkeypatching-environment-variables
2020-11-27 14:10:36 -08:00
Takeshi KOMIYA
3c86eb355e
refactor: autodoc: Add UninitializedGlobalVariableMixin
...
To make DataDocumenter simple, this divide uninitialized global variable
feature from DataDocumenter as UninitializedGlobalVariableMixin.
2020-11-27 23:39:24 +09:00
Takeshi KOMIYA
e0704fb32e
Merge pull request #8496 from francoisfreitag/unsetenv
...
Unset env variables in tests by del os.environ
2020-11-27 22:04:54 +09:00
François Freitag
236afac7fd
Unset env variables in tests by del os.environ
...
The `unsetenv()` operation does not update `os.environ`.
https://docs.python.org/3/library/os.html#os.unsetenv
2020-11-26 21:12:28 +01:00
Quentin Soubeyran
5f2734080e
fix for #8491
2020-11-26 20:19:37 +01:00
Takeshi KOMIYA
e6e23aa45b
Merge pull request #8488 from tk0miya/deprecate_InstanceAttributeDecorator
...
refactor: Deprecate InstanceAttributeDocumenter
2020-11-26 20:13:03 +09:00
Takeshi KOMIYA
79491e1116
Merge pull request #8490 from tk0miya/pycode_slow
...
Fix pycode becomes slow
2020-11-26 20:11:52 +09:00
Quentin Soubeyran
803aca3265
removed unnecessary 'or {}'
2020-11-25 19:17:18 +01:00
Quentin Soubeyran
97205daea4
fixed napoelon_attr_annotation documented as False by default
2020-11-25 19:05:01 +01:00
Takeshi KOMIYA
3e7ae1efe6
Fix pycode becomes slow
...
On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag.
2020-11-26 02:48:45 +09:00
Takeshi KOMIYA
5a0e1231ad
Merge pull request #8467 from francoisfreitag/rate-limit
...
Fix #6629 : linkcheck: Handle rate-limiting
2020-11-26 02:10:47 +09:00
François Freitag
6b90a63f08
Fix #6629 : linkcheck: Handle rate-limiting
...
Follow the Retry-After header if present, otherwise use an exponential
back-off.
2020-11-25 17:34:55 +01:00
Takeshi KOMIYA
c848d4dd37
Merge pull request #8486 from tk0miya/pyupgrade_py3only
...
refactor with pyupgrade
2020-11-26 01:24:56 +09:00
Takeshi KOMIYA
93c9ce5cd8
refactor: Deprecate InstanceAttributeDocumenter
...
InstanceAttributeDocumenter is merged into AttributeDocumenter in #7946
and #8444 . So it is no longer needed now.
2020-11-26 01:22:25 +09:00
Quentin Soubeyran
c37ef640a7
rebased on upstream/3.x; fixed CI
2020-11-25 08:49:57 +01:00
Quentin Soubeyran
176ebfcd5e
enabled feature for module docstring
2020-11-25 08:45:26 +01:00
Quentin Soubeyran
ec62bf86fa
implemented feature in numpy style, factored common code
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
ec30f77712
refactored code and tests, prepared for numpy feature
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
a60e1c10b7
sorted imports
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
6b282e98f2
added behavior for exceptions
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
8995f15710
moved python 3.6+ syntax test data to standalone file
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
2b410a536b
corrected too long line for flake8
2020-11-25 08:45:25 +01:00
Quentin Soubeyran
f268665292
added napoleon_google_attr_annotations option to use PEP 526 on google style
2020-11-25 08:45:25 +01:00
Takeshi KOMIYA
c941406415
refactor with pyupgrade
...
Run `pyupgrade --py3-only --keep-percent-format` to refine our code.
Note: --keep-percent-format is required to keep translations available.
2020-11-25 01:55:30 +09:00
Takeshi KOMIYA
c941b9cb14
Merge pull request #8481 from tk0miya/8480_slots_attributes
...
Fix #8480 : autoattribute could not create document for __slots__ attributes
2020-11-24 21:53:48 +09:00
Takeshi KOMIYA
3e9200dab4
Merge pull request #8474 from tk0miya/8360_update_warning_for_numref
...
Fix #8360 : Update warning message for numref
2020-11-24 21:38:04 +09:00