Keewis
3ff956c27a
Merge branch '3.x' into fix-type-preprocessor
2020-08-01 13:26:11 +02:00
Keewis
02ff1cc290
use a upper-case name for the list of singleton names
2020-08-01 13:25:28 +02:00
Keewis
ccd24aa00f
use complex to check for numerical values
2020-08-01 13:21:17 +02:00
Keewis
5ee6a03ca7
detect ...
as a link
2020-08-01 13:21:17 +02:00
Keewis
a09c170808
skip whitespace only tokens
2020-08-01 13:21:17 +02:00
Takeshi KOMIYA
5e6da19f0e
Merge pull request #8027 from tk0miya/8032_evaluate_signature_in_py39
...
Fix #8023 : evaluate_signature() does not work properly in python3.9
2020-08-01 18:07:03 +09:00
Takeshi KOMIYA
76e12a59ff
Fix #8023 : evaluate_signature() does not work properly in python3.9
...
Since 3.9b5, ForwardRef._evalute() also takes an additional argument
`recursive_guard`. As a result, sphinx.util.inspect:evaluate_signature()
does not work properly. This adds a simple wrapper evalute_forwardref()
to allow evaluating ForwardRefs in py3.9.
2020-08-01 17:59:02 +09:00
Takeshi KOMIYA
6084c44b50
Merge pull request #7995 from tk0miya/7993_texinfo_for_nested_desc
...
Fix #7993 : texinfo: TypeError is raised for nested object descriptions
2020-08-01 16:50:42 +09:00
Takeshi KOMIYA
f71b26ac56
Merge branch '3.x' into 7993_texinfo_for_nested_desc
2020-08-01 15:50:55 +09:00
Takeshi KOMIYA
2644199e7e
Merge pull request #8024 from tk0miya/8032_evaluate_signature_in_py310
...
Fix #8023 : evaluate_signature() does not work properly in python3.10
2020-08-01 13:22:29 +09:00
Takeshi KOMIYA
01ff500b34
Fix #8023 : evaluate_signature() does not work properly in python3.10
...
Since 3.10, ForwardRef._evalute() takes an additional argument
`recursive_guard`. As a result, sphinx.util.inspect:evaluate_signature()
does not work properly. This adds a simple wrapper evalute_forwardref()
to allow evaluating ForwardRefs in py3.10.
2020-08-01 13:06:09 +09:00
Keewis
b353dfed7b
properly link ... to Ellipsis
2020-07-31 17:44:04 +02:00
Takeshi KOMIYA
a443538e0c
Merge pull request #8006 from tk0miya/7768_root_for_figure_language_filename
...
Fix #7768 : i18n: Wrong root element is passed to figure_language_filename
2020-07-31 02:04:17 +09:00
Takeshi KOMIYA
6031fe63b8
Merge pull request #8020 from tk0miya/8008_support_ellipsis_in_typehints
...
Fix #8008 : py domain: failed to parse a type annotation containing ellipsis
2020-07-31 02:00:46 +09:00
Keewis
31809b3041
add tests for referencing ellipsis objects
2020-07-29 22:30:02 +02:00
Keewis
e39c1a8d6a
add more delimiters so describing mappings becomes possible
2020-07-29 22:29:03 +02:00
Keewis
05bf00bd4c
make the postprocessing a bit more robust and add tests
2020-07-29 22:23:51 +02:00
Takeshi KOMIYA
a99675bf78
Fix #8008 : py domain: failed to parse a type annotation containing ellipsis
...
Fix _parse_annotation() does not support a type annotation having ellipsis.
2020-07-30 01:48:25 +09:00
Takeshi KOMIYA
bb65ea7930
Update CHANGES for PR #7994
2020-07-30 00:37:44 +09:00
Takeshi KOMIYA
c3943e31cf
Merge pull request #7994 from utzig/option-compat-id
...
Add option to use old node-ids in option directive
2020-07-30 00:35:06 +09:00
Takeshi KOMIYA
376d4fe4c6
Update CHANGES for PR #8017
2020-07-29 23:30:09 +09:00
Chris Holdgraf
b8ee3ac9a4
moving extension dev overview
2020-07-29 10:38:18 +01:00
Chris Holdgraf
84f7dffd99
comments
2020-07-29 10:38:18 +01:00
Chris Holdgraf
c7085162d1
rearranging a few docs and small updates
2020-07-29 10:38:18 +01:00
Chris Holdgraf
924befa07e
Update doc/development/tutorials/builders.rst
2020-07-29 10:38:18 +01:00
Chris Holdgraf
729dcd0e03
flake8
2020-07-29 10:38:18 +01:00
Chris Holdgraf
60b105d6aa
several documentation improvements to theming, templating, and extension development
2020-07-29 10:38:18 +01:00
Keewis
56666e4f84
add ... and Ellipsis to the singletons referenced by ":obj:"
2020-07-29 02:34:46 +02:00
Keewis
0e5964dad9
move the misplaced GoogleDocstring test to the appropriate test class
2020-07-29 02:34:17 +02:00
Takeshi KOMIYA
cc73965016
Merge pull request #8017 from jschueller/partialinit
...
Fix circular import in addnodes.py
2020-07-29 02:04:38 +09:00
Julien Schueller
cefdb566eb
Fix circular import in addnodes.py
...
Closes #8016
2020-07-28 11:44:46 +02:00
Fabio Utzig
d65c61f9e7
Add compat id for cmdoption directive
...
Add a compatibility id for the option directive, which avoids breaking
old html links to anchors.
Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-07-27 16:07:14 -03:00
Jakob Lykke Andersen
2cf3e7cae2
Merge pull request #8014 from jakobandersen/utzig-named-variadic-arg
...
C, named variadic arg
2020-07-27 19:51:17 +02:00
Jakob Lykke Andersen
1b3bf4e319
C, changelog and test for named variadic args
2020-07-27 19:42:58 +02:00
Takeshi KOMIYA
3f4a6d61ab
Merge pull request #8012 from utzig/fix-sphinxtranslator-typo
...
Fix typo
2020-07-28 01:08:46 +09:00
Fabio Utzig
8c08abadee
Fix typo
...
Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-07-27 10:11:39 -03:00
Takeshi KOMIYA
09ca58d0dd
Fix #7768 : i18n: Wrong root element is passed to figure_language_filename
...
The root element should be a user specified path; a relative path from
current document or absolute path based on source directory. But an
absolute path is passed instead.
2020-07-26 13:53:09 +09:00
Takeshi KOMIYA
ff4330abe3
Update CHANGES for PR #7992
2020-07-26 12:27:43 +09:00
Takeshi KOMIYA
08912dd2c4
Merge pull request #7992 from jobec/3.x
...
Allow searching for things like serials, phone numbers, etc
2020-07-26 12:25:59 +09:00
Takeshi KOMIYA
503cf27b6d
Merge pull request #8005 from ewjoachim/patch-1
...
Fix typo
2020-07-26 11:09:57 +09:00
Joachim Jablon
71a16f54aa
Fix typo
2020-07-26 01:19:58 +02:00
Takeshi KOMIYA
a6cd9b46cd
Fix #7993 : texinfo: a warning not supporting desc_signature_line node is shown
2020-07-25 23:04:01 +09:00
Takeshi KOMIYA
e98f39d21d
Fix #7993 : texinfo: TypeError is raised for nested object descriptions
...
The texinfo writer remembers the current desc node to render
a desc_annotation node. This makes the mechanism robust to support
nested object descriptions.
2020-07-25 22:57:12 +09:00
Takeshi KOMIYA
3336dcc2ae
Merge pull request #7997 from sphinx-doc/fix/6863
...
fix 6863: add description literalinclude option (start/end have same string)
2020-07-25 22:53:48 +09:00
Yoshiki Shibukawa
70aa913bb2
fix 6863: add description literalinclude option (start/end have same string)
2020-07-25 22:36:06 +09:00
Takeshi KOMIYA
9e42310b66
Merge pull request #8000 from tk0miya/7985_protocol_relative_url
...
linkcheck: Fix a protocol relative URL is considered as a local file
2020-07-25 22:09:29 +09:00
Takeshi KOMIYA
778e297577
Update CHANGES for PR #7690
2020-07-25 21:45:13 +09:00
Takeshi KOMIYA
ac0a800265
Merge pull request #7690 from keewis/transform_numpy_parameter_types
...
preprocessing numpy types
2020-07-25 21:41:32 +09:00
Keewis
864dd0b610
add a comment about default not being a official keyword
2020-07-25 11:54:02 +02:00
Keewis
6ae1c601b9
add a section about napoleon_type_aliases to the documentation
2020-07-25 11:49:58 +02:00