Commit Graph

15535 Commits

Author SHA1 Message Date
Takeshi KOMIYA
79d50b5a71
Merge pull request #7947 from tk0miya/1362_private_class_attributes
Fix #1362: autodoc: Support private class attributes
2020-07-18 12:07:03 +09:00
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
e5d9527b0b
Merge pull request #7971 from mattdocumatt/patch-1
Add Tech writer at work blog
2020-07-17 20:46:17 +09:00
Matt from Documatt
2b091c32e5
Add Tech writer at work blog
Adding my blog about tech writing with Sphinx. Built with Sphinx and custom theme.
2020-07-17 10:34:38 +02:00
Jakob Lykke Andersen
c2df631178
Merge pull request #7967 from jakobandersen/c_optimization
Speed up the C domain a bit
2020-07-16 20:27:41 +02:00
Jakob Lykke Andersen
b58affe91b C, remove redundant code in clear_doc 2020-07-16 20:01:32 +02:00
Jakob Lykke Andersen
79cd37d81c C, speed up identifier comparison 2020-07-16 20:01:32 +02:00
Takeshi KOMIYA
61e23abec6
Merge pull request #7943 from tk0miya/7469_translatable
Fix autosummary: "Module attributes" header is not translatable
2020-07-17 01:02:05 +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
2098e6b260 Fix autosummary: "Module attributes" header is not translatable
refs: #7469
2020-07-17 00:47:07 +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
Jakob Lykke Andersen
c4d7797003 Merge branch '3.1.x' into c_optimization 2020-07-15 13:34:06 +02: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
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
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