Takeshi KOMIYA
488a173904
Fix #1362 : autodoc: Support private class attributes
...
So far, autodoc treats a "private" class attribute as a mere attribute.
But its name is mangled by python interpreter. This make it unmangled
name to be documented expectedly.
2020-07-18 03:39:38 +09:00
Takeshi KOMIYA
8c8943f6c0
Merge pull request #7946 from tk0miya/904_autofunction_ivar_support
...
Fix #904 : autodoc: An instance attribute cause a crash of autofunction
2020-07-17 00:52:20 +09:00
Takeshi KOMIYA
d7d14f20cd
Merge pull request #7955 from peterbell10/alias-deprecation-message
...
Improve warning message from deprecated_alias
2020-07-17 00:22:32 +09:00
Takeshi KOMIYA
610ab926a4
fix
2020-07-16 23:59:26 +09:00
Peter Bell
0000239776
Preserve backwards compatibility
2020-07-16 15:48:51 +01:00
Takeshi KOMIYA
aadb14beff
Merge pull request #7965 from sphinx-doc/dependabot/npm_and_yarn/lodash-4.17.19
...
Bump lodash from 4.17.14 to 4.17.19
2020-07-16 19:55:48 +09:00
dependabot[bot]
cccad541a5
Bump lodash from 4.17.14 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 07:39:49 +00: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
Peter Bell
bedc00faa6
Require canonical name to be specified when calling deprecated_alias
2020-07-15 00:12:31 +01: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
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
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
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
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