Commit Graph

4593 Commits

Author SHA1 Message Date
Takeshi KOMIYA
f95ba21f4a Close #5208: linkcheck: Support checks for local links 2020-07-19 19:08:14 +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
Tetsuo Koyama
ae7c4cc3b8 fix typo 2020-07-19 00:43:11 +00:00
Takeshi KOMIYA
66da266441 Fix #2050: Symbols sections are appeared twice in the index page
Multibyte symbols are categorized to independent symbols section
different to single byte symbols.  This integrate them to a single
section.
2020-07-18 15:52:57 +09:00
Takeshi KOMIYA
4ec6cbe341 Update CHANGES for PR #7969 2020-07-18 12:47:36 +09:00
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
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
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
610ab926a4 fix 2020-07-16 23:59:26 +09: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
Jakob Lykke Andersen
c4d7797003 Merge branch '3.1.x' into c_optimization 2020-07-15 13:34:06 +02:00
Jakob Lykke Andersen
786392a14f C, don't deepcopy as deep on handling enumerators 2020-07-14 22:16:55 +02:00
Jakob Lykke Andersen
18b00d8cff Add docs and CHANGES for C changes 2020-07-14 11:48:58 +02:00
Takeshi KOMIYA
dde3d61cc0 Update CHANGES for PR #2076 2020-07-14 03:02:14 +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
Takeshi KOMIYA
293fa1e5fc Update CHANGES for PR #7940 2020-07-12 22:17:28 +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
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
e31fce0766 Close #7902: html theme: Add a new option globaltoc_maxdepth 2020-07-11 23:11:59 +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
6dfbc5108e Close #7849: html: Add html_codeblock_linenos_style 2020-07-11 20:59:38 +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
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
Takeshi KOMIYA
fb7b0ee571 Fix #7619: Duplicated node IDs are generated if node has multiple IDs 2020-07-09 23:15:56 +09:00
Takeshi KOMIYA
4410668776 Fix #7928: py domain: failed to resolve a type annotation for the attribute 2020-07-09 01:49:34 +09:00
Takeshi KOMIYA
6d053a683e Fix #7894: gettext: Wrong source info is shown when using rst_epilog 2020-07-08 02:32:46 +09:00
Takeshi KOMIYA
44ee514fbe Update CHANGES for PR #7910 2020-07-06 23:36:17 +09:00
Takeshi KOMIYA
fc7d805b5c Merge branch '3.1.x' into 3.x 2020-07-05 19:46:30 +09:00
Takeshi KOMIYA
faae257a9d Bump version 2020-07-05 19:45:31 +09:00
Takeshi KOMIYA
1cb5fa2f6a Bump to 3.1.2 final 2020-07-05 19:43:41 +09:00
Matthias Geier
c40cb79461 Update CHANGES for PR #7878 2020-07-05 10:43:36 +02:00
Jakob Lykke Andersen
09e057edf2 Merge pull request #7906 from jakobandersen/noindexentry
Add :noindexentry: option
2020-07-05 09:25:18 +02:00
Takeshi KOMIYA
fdd1aaf770 Merge branch '3.1.x' into 3.x 2020-07-05 16:14:17 +09:00
Takeshi KOMIYA
9b74e6cd67 autodoc: the signature of base function will be shown for decorated functions 2020-07-05 03:08:27 +09:00
Jakob Lykke Andersen
c668500a4b Add :noindexentry: option
Fixes sphinx-doc/sphinx#7052
2020-07-04 19:34:00 +02:00
Takeshi KOMIYA
cc4534d12f Update CHANGES for PR #7852 2020-07-05 02:12:17 +09:00
Takeshi KOMIYA
1f002dac6e Merge pull request #7889 from tk0miya/7866_mocking_generic_types
Fix #7886: autodoc: TypeError is raised on mocking generic-typed classes
2020-07-05 01:34:18 +09:00
Takeshi KOMIYA
9fd9edebb4 Merge branch '3.1.x' into 3.x 2020-07-04 23:44:52 +09:00