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
AleksaC
73bbe90ee0
Cleaner fix for double trailing whitespace apidoc
2020-07-11 12:32:37 +02:00
Takeshi KOMIYA
5f1e94854d
Merge pull request #7938 from tk0miya/7924_remove_broken_image
...
doc: Remove broken PDF image
2020-07-11 13:37:19 +09:00
Takeshi KOMIYA
916cd4c844
Fix #7901 : autodoc: annotations for overloaded functions are not resolved
...
So far, type annotations for overloaded functions are not resolved
because they are obtained from AST directly. This tries to evaluate
them using a context of its function or method.
2020-07-11 12:49:24 +09:00
AleksaC
72abb19740
Remove double trailing newlines from apidoc tests
2020-07-10 23:19:07 +02:00
Takeshi KOMIYA
f3811a1c36
doc: Remove broken PDF image
...
It was added unexpectedly in #7924 .
2020-07-11 00:28:22 +09:00
Takeshi KOMIYA
bd510c3be2
Fix #7691 : linkcheck: HEAD requests are not used for checking
...
sphinx.util.requests:head() sends a GET requests instead of HEAD...
2020-07-10 22:12:58 +09:00
Joel Nothman
71d1b37f8a
Simplify dummy module
2020-07-10 11:31:27 +10:00
Joel Nothman
52c173bdb9
Responding to comments
2020-07-10 11:30:06 +10:00
AleksaC
6e90f5ad9c
Fix double trailing whitespace for apidoc with module first
2020-07-09 23:55:36 +02:00
Takeshi KOMIYA
98a854deca
Merge pull request #7924 from tk0miya/7921_translation.png
...
doc: Add translation.png to build latexpdf successfully
2020-07-10 02:44:11 +09:00
Takeshi KOMIYA
5da54cc035
Merge pull request #7620 from tk0miya/7619_dup_node_ids
...
Fix #7619 : Duplicated node IDs are generated if node has multiple IDs
2020-07-09 23:31:19 +09:00
Takeshi KOMIYA
fb7b0ee571
Fix #7619 : Duplicated node IDs are generated if node has multiple IDs
2020-07-09 23:15:56 +09:00
Takeshi KOMIYA
4410668776
Fix #7928 : py domain: failed to resolve a type annotation for the attribute
2020-07-09 01:49:34 +09:00
Takeshi KOMIYA
2feb0b43b6
Merge branch '3.1.x' into 3.x
2020-07-09 00:42:49 +09:00