Keewis
af6071e571
expect a warning instead of an error
2020-07-16 00:26:10 +02:00
Keewis
dc8c7ac9f8
update the integration test
2020-07-16 00:26:10 +02:00
Keewis
20e36007fe
treat value sets as literals
2020-07-16 00:26:10 +02:00
Keewis
e3b7e16b0a
move the regexes to top-level
2020-07-16 00:26:10 +02:00
Keewis
9bfbe252f1
set a default so translations don't to be specified
2020-07-16 00:26:09 +02:00
Keewis
9835f1fff8
test that braces and quotes in strings work
2020-07-16 00:26:09 +02:00
Keewis
eab49125e9
update the splitting regexp to handle braces in strings and escaped quotes
2020-07-16 00:26:09 +02:00
Keewis
ce60b555ee
properly use sphinx's logger
2020-07-16 00:26:08 +02:00
Keewis
b846db7e53
emit a warning instead of raising an error
2020-07-16 00:25:19 +02:00
Keewis
27733d6f61
replace the custom role with markup
2020-07-16 00:24:27 +02:00
Keewis
e1d7edac25
rename the configuration option
2020-07-16 00:24:27 +02:00
Keewis
ad89b1f76a
replace the hard-coded mapping of translations with a config option
2020-07-16 00:22:56 +02:00
Keewis
2882c3465a
fix the expected parameters section to match the current status
2020-07-16 00:22:56 +02:00
Keewis
fc70205fb4
get the type converter function to work, verified by new tests
2020-07-16 00:22:56 +02:00
Keewis
25937f745a
move tokenize_type_spec to its own function and add tests for it
2020-07-16 00:22:56 +02:00
Keewis
8ab210f1b0
don't use the obj role if it is not necessary
2020-07-16 00:22:56 +02:00
Keewis
ace933107a
move the numpy type spec parsing function out of NumpyDocstring
2020-07-16 00:22:55 +02:00
Keewis
e9822139ee
more flake8
2020-07-16 00:22:55 +02:00
Keewis
70363c3e2f
flake8
2020-07-16 00:22:35 +02:00
Keewis
bd33b61d64
update the translations
2020-07-16 00:21:59 +02:00
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
Hameer Abbasi
72f3592796
Delete repeated word.
...
Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
2020-07-15 14:39:56 +02:00
Jakob Lykke Andersen
c4d7797003
Merge branch '3.1.x' into c_optimization
2020-07-15 13:34:06 +02:00
Hameer Abbasi
436519743b
Move to MathJax 3.
2020-07-15 13:09:08 +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