Commit Graph

15659 Commits

Author SHA1 Message Date
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
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
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
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
Keewis
8feb5f9ac9 mention that the type aliases only work with napoleon_use_param 2020-07-25 11:38:10 +02:00
Keewis
530793d997 update the link to the official docstring guide 2020-07-25 11:37:32 +02:00
Keewis
920048466c don't provide a empty line number 2020-07-25 11:22:29 +02:00
Takeshi KOMIYA
5b096c42ff
Merge pull request #8002 from tk0miya/update_doc_linter
doclinter: Allow a very long literal string
2020-07-24 23:26:38 +09:00
Takeshi KOMIYA
0c4edbdb38 doclinter: Allow a very long literal string 2020-07-24 23:09:56 +09:00
Takeshi KOMIYA
95067c0813
Merge pull request #8001 from tk0miya/5090_distutils_version
BuildDoc: link verbosity to distutils'
2020-07-24 14:01:10 +09:00
Takeshi KOMIYA
0b57727233 Update CHANGES for PR #5090 2020-07-24 13:36:49 +09:00
Takeshi KOMIYA
d177956365 Fix a mypy violation 2020-07-24 13:36:49 +09:00
Takeshi KOMIYA
c780492a4f Merge branch '3.x' into 5090_distutils_version 2020-07-24 13:33:35 +09:00
Takeshi KOMIYA
875346307f linkcheck: Fix a protocol relative URL is considered as a local file
Since #7985, a protocol relative URL (URL starts with "//") is considered
as a local file incorrectly.  This makes it to a "unchecked" URL.

refs: #7985
2020-07-24 02:13:23 +09:00
Takeshi KOMIYA
3d0818f1cb Update CHANGES for PR #7927 2020-07-24 01:23:08 +09:00
Takeshi KOMIYA
da174138af
Merge pull request #7927 from jnothman/name-case-clash
Add autosummary_filename_map config to avoid clashes
2020-07-24 01:07:19 +09:00
Fabio Utzig
15d93d2c76 domains: c: add support for named variadic argument
Add support for gcc extensions which allow variadic arguments to be
named: https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

A named variadic argument takes the form "<name>..." with spaces around
allowed and must be the last argument.

Currently it generates a warning "Invalid C declaration: Expected
identifier, ')', or ',' in macro parameter list."

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-07-23 12:32:30 -03:00
Joel Nothman
144f18a528 Remove irrelevant test RST 2020-07-23 17:27:57 +10:00
Joris Beckers
4512d2757b Allow searching for things like serials, phone numbers, etc 2020-07-22 12:00:46 +02:00
Keewis
ae35f81d3d allow mapping to a long name 2020-07-21 17:13:41 +02:00
Keewis
9b425606e7 support pandas-style default spec by postprocessing tokens 2020-07-21 12:26:28 +02:00
Takeshi KOMIYA
d8064a8b8f
Merge pull request #7985 from tk0miya/5208_linkcheck_for_localfiles
Close #5208: linkcheck: Support checks for local links
2020-07-21 01:37:04 +09:00
Takeshi KOMIYA
d4863a80c0
Merge pull request #7984 from tk0miya/7983_Generator_annotation
Fix #7983: autodoc: Generator type annotation is wrongly rendered in py36
2020-07-20 01:00:04 +09:00
Takeshi KOMIYA
f95ba21f4a Close #5208: linkcheck: Support checks for local links 2020-07-19 19:08:14 +09:00
Takeshi KOMIYA
f30284ef92
Merge pull request #7966 from tk0miya/7469_additional_testcase
autosummary: Add testcase for module constants (refs: #7469)
2020-07-19 16:43:01 +09:00
Takeshi KOMIYA
b6bf2b88ce refactor: pycode: Use OrderedDict to store variable comments
It is worthy to keep the order of analyzer.attr_docs to generate
document in reproducible. So this uses OrderedDict explicitly to do
that. It also helps python3.5 environment.
2020-07-19 16:00:52 +09:00