Keewis
bdea34e54e
don't treat instance as special
2020-07-16 00:21:59 +02:00
Keewis
bafb24dd93
actually apply the type conversion
2020-07-16 00:21:59 +02:00
Keewis
bc25a3d136
try to mark literals as such
2020-07-16 00:21:55 +02:00
Keewis
b1f43d2fff
use textwrap for a normal indentation depth
2020-07-16 00:19:58 +02:00
Keewis
a7bbedfbb7
add a test for the parameter type conversions
2020-07-16 00:19:22 +02:00
Takeshi KOMIYA
e65021fb9b
Merge pull request #7954 from tk0miya/2076_exclude_members
...
Autodoc: Allow overriding of exclude-members in skip-member function
2020-07-16 02:27:33 +09:00
Takeshi KOMIYA
ce62756cfc
Merge pull request #7951 from tk0miya/7745_docname_containing_spaces
...
Fix #7745 : html: inventory is broken if the docname contains a space
2020-07-16 02:27:03 +09:00
Peter Bell
ea0fbd21d5
Add type check to aliases dict
2020-07-15 17:28:34 +01:00
Takeshi KOMIYA
6c8d100f56
Merge pull request #7959 from fritzr/3.x
...
Fix typo in prepare_docstring() warning
2020-07-16 00:58:46 +09:00
Jakob Lykke Andersen
c4d7797003
Merge branch '3.1.x' into c_optimization
2020-07-15 13:34:06 +02:00
Joel Nothman
2b843dd856
Rm unused import
2020-07-15 20:49:05 +10:00
Jakob Lykke Andersen
a4494e87b0
Merge pull request #7960 from jakobandersen/c_deepcopy
...
C, don't deepcopy as deep on handling enumerators
2020-07-15 12:05:20 +02:00
Joel Nothman
aae8ce8efa
Fix toctree generation
2020-07-15 18:46:51 +10:00
Peter Bell
bedc00faa6
Require canonical name to be specified when calling deprecated_alias
2020-07-15 00:12:31 +01:00
Jakob Lykke Andersen
786392a14f
C, don't deepcopy as deep on handling enumerators
2020-07-14 22:16:55 +02:00
Fritz Reese
1fe121e078
Fix typo in prepare_docstring() warning
2020-07-14 15:51:29 -04:00
Jakob Lykke Andersen
03e1070888
Merge pull request #7905 from jakobandersen/c_compat
...
C, add compatibility flag for parsing some pre-v3 input
2020-07-14 13:23:32 +02:00
Jakob Lykke Andersen
18b00d8cff
Add docs and CHANGES for C changes
2020-07-14 11:48:58 +02:00
Jakob Lykke Andersen
91f4af5d42
C, add c_warn_on_allowed_pre_v3 config to disable deprecation warnings
2020-07-14 11:28:38 +02:00
Jakob Lykke Andersen
83e6165852
C, add compatibility flag for pre-v3 type roles
2020-07-14 11:23:53 +02:00
Jakob Lykke Andersen
f0888b044a
C, add compatibility flag for pre-v3 type directives
2020-07-14 11:22:50 +02:00
Peter Bell
d5482643d7
Improve warning message from deprecated_alias
2020-07-13 20:35:55 +01:00
Takeshi KOMIYA
e1a19d8b83
Merge pull request #7950 from SebastianJL/patch-1
...
Update description of autosummary_generate_overwrite
2020-07-14 03:13:52 +09:00
Takeshi KOMIYA
dde3d61cc0
Update CHANGES for PR #2076
2020-07-14 03:02:14 +09:00
Keewis
467533ffe8
add tests to make sure the warning is raised
2020-07-13 15:49:03 +02:00
Keewis
b66f3e143e
fix the conditions for warning
2020-07-13 15:40:29 +02:00
Jelte Fennema
09576ad064
Autodoc: Allow overriding of exclude-members in skip-member function
2020-07-13 22:10:20 +09:00
Takeshi KOMIYA
83eba7e269
Fix #7745 : html: inventory is broken if the docname contains a space
...
The format of inventory file expects that URIs do not contain spaces.
Not to generate a URL containing spaces, HTMLBuilder.get_target_uri()
should do URL-escaping to the docname.
2020-07-13 21:57:10 +09:00
Johannes Lade
91285f39a6
Update description of autosummary_generate_overwrite
...
The old description was confusing. Maybe it's just me not being a native speaker, but I think it was wrongly worded.
2020-07-13 14:03:06 +02:00
Keewis
5f12d5b476
use inspect.getfile instead
2020-07-12 16:18:04 +02:00
Takeshi KOMIYA
293fa1e5fc
Update CHANGES for PR #7940
2020-07-12 22:17:28 +09:00
Takeshi KOMIYA
d45d02ffda
Merge pull request #7940 from AleksaC/fix_double_trailing_newline_apidoc
...
Fix double trailing newline apidoc
2020-07-12 22:15:55 +09:00
Takeshi KOMIYA
be68885bc5
Merge pull request #7945 from tkoyama010/patch-1
...
📛 CodeTriage
2020-07-12 19:22:01 +09:00
Takeshi KOMIYA
1960833d99
Merge pull request #7941 from tk0miya/7901_resolve_types_for_overloaded_funcs
...
Fix #7901 : autodoc: annotations for overloaded functions are not resolved
2020-07-12 14:31:17 +09:00
Takeshi KOMIYA
5d8b94cd9e
Merge branch '3.x' into 7901_resolve_types_for_overloaded_funcs
2020-07-12 14:15:36 +09:00
Takeshi KOMIYA
99a6633d7c
Merge pull request #7925 from tk0miya/7902_globaltoc_maxdepth
...
Close #7902 : html theme: Add a new option globaltoc_maxdepth
2020-07-12 14:13:07 +09:00
Takeshi KOMIYA
3022f72f56
Merge pull request #7937 from tk0miya/7935_signature_is_not_shown
...
Fix #7935 : autodoc: A default value inspect._empty conseals signatures
2020-07-12 14:12:22 +09:00
Takeshi KOMIYA
17a5a29f1e
Fix #7935 : autodoc: A default value inspect._empty conseals signatures
...
A function signature is not shown when the function has a parameter
having ``inspect._empty`` as its default value because Signature class
validates function signatures on instantiation.
2020-07-12 14:03:28 +09:00
Takeshi KOMIYA
1d6b311e2e
Merge pull request #7870 from dstansby/error-info
...
Propagate original extension errors
2020-07-12 13:31:42 +09:00
Keewis
0bb05031e4
make sure to return None if both path and name are None
...
i.e. most likely a test
2020-07-12 02:22:28 +02:00
Keewis
e37bfaea83
add a method to get the current docstring's location
2020-07-12 01:37:20 +02:00
Keewis
0adc7999f7
add location information and make sure args and kwargs cannot be swapped
2020-07-12 01:29:38 +02:00
Tetsuo Koyama
037b9e42fd
📛 CodeTriage
2020-07-12 05:39:08 +09:00
David Stansby
92c870372f
Propagate original extension error
2020-07-11 16:58:20 +01:00
Takeshi KOMIYA
e31fce0766
Close #7902 : html theme: Add a new option globaltoc_maxdepth
2020-07-11 23:11:59 +09:00
Takeshi KOMIYA
6059693d71
Merge pull request #7936 from tk0miya/7691_HEAD_requests
...
Fix #7691 : linkcheck: HEAD requests are not used for checking
2020-07-11 23:10:28 +09:00
Takeshi KOMIYA
e2c6b4230e
Merge branch '3.x' into 7691_HEAD_requests
2020-07-11 22:39:12 +09:00
Takeshi KOMIYA
d0416e7f71
Merge pull request #7930 from tk0miya/7928_resolve_typehints_for_attrs
...
Fix #7928 : py domain: failed to resolve a type annotation for the attribute
2020-07-11 22:38:20 +09:00
Takeshi KOMIYA
1a31a7ca17
Merge pull request #7879 from tk0miya/7849_html_codeblock_linenos
...
Close #7849 : html: Add html_codeblock_linenos
2020-07-11 21:55:00 +09:00
Takeshi KOMIYA
6dfbc5108e
Close #7849 : html: Add html_codeblock_linenos_style
2020-07-11 20:59:38 +09:00