Commit Graph

15762 Commits

Author SHA1 Message Date
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
Keewis
58f84186e0 Merge branch '3.x' into escape-combined-args-kwargs 2020-07-25 15:15:06 +02: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
Takeshi KOMIYA
b3b7cbbd38 Fix #7983: autodoc: Generator type annotation is wrongly rendered in py36
This adds a special handler (if-branch) for Generator type to stringify
them correctly.  So far, they have been considered as a kind of Callable.
2020-07-19 15:48:07 +09:00
Takeshi KOMIYA
5850d6b8f9
Merge pull request #7982 from tk0miya/7840_optimize_bootstrap
Close #7840: i18n: Optimize the dependencies check on bootstrap
2020-07-19 15:11:12 +09:00
Takeshi KOMIYA
f65ef0e623
Merge pull request #7975 from tk0miya/2050_2nd_symbol_section
Fix #2050: Symbols sections are appeared twice in the index page
2020-07-19 15:10:50 +09:00
Takeshi KOMIYA
a111b9aba9
Merge pull request #7957 from tk0miya/4888_keep_refexplicit
Fix #4888: i18n: Failed to add an explicit title to ``:ref:`` role
2020-07-19 15:08:51 +09:00
Takeshi KOMIYA
35e1623338 Fix #4888: i18n: Failed to add an explicit title to `:ref:` role
To allow to give (or not to give) an explicit title to the
pending_xref nodes on translation, this skips to override the
attribute on merge original and translated documents.
2020-07-19 15:00:38 +09:00
Takeshi KOMIYA
69fc1953c6 Close #7840: i18n: Optimize the dependencies check on bootstrap
Replace a nested-loop comparison by hash-search to improve the
performance of dependencies checks on bootstrap.
2020-07-19 14:30:18 +09:00
Takeshi KOMIYA
80c981e2c0
Merge pull request #7980 from tkoyama010/patch-1
fix typo
2020-07-19 14:15:16 +09:00