Commit Graph

14672 Commits

Author SHA1 Message Date
Takeshi KOMIYA
f8e0a0e23a Bump to 3.0.0 beta1 2020-03-23 00:04:42 +09:00
Takeshi KOMIYA
a6868e0ca1 Merge branch '2.x' into 3.x 2020-03-22 23:49:22 +09:00
Takeshi KOMIYA
339717d877 Merge branch '2.4.x' into 2.x 2020-03-22 23:48:05 +09:00
Takeshi KOMIYA
8edae5fe28
Merge pull request #7356 from tk0miya/7301_node_id
Fix #7301: Allow . and _ for node_id
2020-03-22 23:42:56 +09:00
Takeshi KOMIYA
9ae34e1757
Merge pull request #7360 from tk0miya/7357_ValueError_on_resizing_SVG
Fix #7357: html: Resizing SVG image fails with ValueError
2020-03-22 23:39:17 +09:00
Takeshi KOMIYA
2659a37c1f Fix #7357: html: Resizing SVG image fails with ValueError 2020-03-22 23:23:18 +09:00
Takeshi KOMIYA
0fb7b8f525
Merge pull request #7355 from tk0miya/7331_cyfunction
Fix #7331: autodoc: a cython-function are not recognized as a function
2020-03-22 23:21:47 +09:00
Takeshi KOMIYA
dd70d9faac Fix #7331: autodoc: a cython-method is not recognized as a method 2020-03-22 23:13:49 +09:00
Takeshi KOMIYA
5c396b6325 Fix #7331: autodoc: a cython-function is not recognized as a function 2020-03-22 23:13:49 +09:00
Takeshi KOMIYA
5138255665 Fix a cyfunction was considered as an attribute descriptor 2020-03-22 19:03:27 +09:00
Takeshi KOMIYA
eb00870b6f
Merge pull request #7359 from tk0miya/update_docs
Fix document
2020-03-22 18:05:59 +09:00
Takeshi KOMIYA
91a22a3ecc
Merge pull request #7358 from tk0miya/refactor_autodoc
refactor: autodoc: Remove needless spaces from blank line
2020-03-22 17:55:32 +09:00
Takeshi KOMIYA
ab75982be0 Fix document 2020-03-22 17:49:17 +09:00
Takeshi KOMIYA
9ebad705b8 refactor: autodoc: Remove needless spaces from blank line 2020-03-22 17:47:18 +09:00
Takeshi KOMIYA
a6c1cc2ace
Merge pull request #7352 from tk0miya/refactor_autosummary
Deprecate sphinx.ext.autosummary:process_autosummary_toc()
2020-03-22 17:41:33 +09:00
Takeshi KOMIYA
6e15a8a88f
Merge pull request #7346 from tk0miya/7341_xref_for_type_annotations
Close #7341: py domain: type annotations are converted to cross refs
2020-03-22 17:23:25 +09:00
Takeshi KOMIYA
b0a6b3f285 Close #7341: py domain: type annotations are converted to cross refs 2020-03-22 17:10:00 +09:00
Takeshi KOMIYA
79989ce40e
Merge pull request #7351 from tk0miya/7324_multiple_suffixes_for_same_document
Fix #7324: Emit a warning if multiple files for same document found
2020-03-22 17:08:35 +09:00
Takeshi KOMIYA
7bbf79c313 Fix #7301: Allow . and _ for node_id
In development of 3.0, Sphinx starts to obey to the rule of
"Identifier Normalization" of docutils.  This extends it to allow
dots(".") and underscores("_") for node identifier.

It allows Sphinx to generate node identifier from source string as
possible as it is (bacause dots and underscores are usually used in
many programming langauges).

This change will keep not to break hyperlinks as possible.
2020-03-22 16:39:00 +09:00
Takeshi KOMIYA
4050f2df9d
Merge pull request #7350 from tk0miya/6240_noindex_for_napoloen
Fix #6240: napoleon: Attributes and Methods sections ignore :noindex: option
2020-03-22 16:29:52 +09:00
Takeshi KOMIYA
8806cc257a
Merge pull request #7348 from tk0miya/7340_toctree_doc
doc: Update about toctree directive
2020-03-22 16:28:36 +09:00
Takeshi KOMIYA
fe3782d2ed Deprecate sphinx.ext.autosummary:process_autosummary_toc()
The handler searches autosummary_toc node under root of document and
just under section nodes.  But that is already done in
ToctreeCollector.process_doc().  So it's no longer needed.
2020-03-21 21:44:59 +09:00
Takeshi KOMIYA
c4b7189978
Merge pull request #7344 from tk0miya/7343_debug_log
Fix #7343: Sphinx builds has been slower since 2.4.0 on debug mode
2020-03-21 20:59:29 +09:00
Takeshi KOMIYA
dd85cb6588
Merge pull request #7349 from tk0miya/7290_import_first
refactor: Import libraries at the top of script (if no reason)
2020-03-21 20:50:25 +09:00
Takeshi KOMIYA
2360473012 Fix #7324: Emit a warning if multiple files for same document found 2020-03-21 20:46:45 +09:00
Takeshi KOMIYA
6f60864d03 Add "once" option to logger.warning() 2020-03-21 19:48:55 +09:00
Takeshi KOMIYA
0c45776c07 refactor SphinxLoggerAdapter 2020-03-21 19:26:52 +09:00
Takeshi KOMIYA
89dd4bf438 Fix #6240: napoleon: Attributes and Methods sections ignore :noindex: option 2020-03-21 18:54:44 +09:00
Takeshi KOMIYA
c75470f9b7 Update CHANGES for PR #7236 2020-03-21 18:33:32 +09:00
Takeshi KOMIYA
dc87b45804 refactor: Import libraries at the top of script (if no reason) 2020-03-21 17:48:20 +09:00
Takeshi KOMIYA
bdfb112f0d Update CHANGES for PR #7290 2020-03-21 17:47:05 +09:00
Takeshi KOMIYA
8890357c9b
Merge pull request #7290 from blueyed/handle_exception-ignore-BdbQuit
Ignore bdb.BdbQuit when handling exceptions
2020-03-21 17:46:26 +09:00
Takeshi KOMIYA
4e25e9d92a
Merge pull request #7335 from tk0miya/7334_disable_smartquotes_for_default_value
Fix #7334: py domain: Disable smartquotes for defvalues of arguments
2020-03-21 17:42:54 +09:00
Takeshi KOMIYA
59e2715579
Merge pull request #7347 from tk0miya/7345_crashed_if_outdir_is_a_file
Fix #7345: sphinx-build: Sphinx crashes if output directory exists as a file
2020-03-21 17:42:17 +09:00
Takeshi KOMIYA
54dada2eee
Merge pull request #7336 from tk0miya/7329_typehints_description_for_class
Fix #7329: autodoc: typehints doc is wrongly generated
2020-03-21 17:30:31 +09:00
Takeshi KOMIYA
5054fd9047
Merge pull request #6473 from jakobandersen/6462_backslashes
Keep all backslashes in domain directives.
2020-03-21 16:54:50 +09:00
Takeshi KOMIYA
eccb9abe4a doc: Update about toctree directive 2020-03-21 16:37:34 +09:00
Takeshi KOMIYA
86c32fe0f1 Fix #7345: sphinx-build: Sphinx crashes if output directory exists as a file 2020-03-21 14:47:02 +09:00
Jakob Lykke Andersen
0eb3ad22bf Update autodoc tests for new backslash handling 2020-03-20 18:31:29 +01:00
Takeshi KOMIYA
23ffd8e01c Fix #7343: Sphinx builds has been slower since 2.4.0 on debug mode
For now, the debug log from SphinxTranslator does not help developers.
So this disable the log outputs.  Let's reconsider if we'll need it.
2020-03-20 22:25:22 +09:00
Jakob Lykke Andersen
581f425b4e Conditional backslash addition in autodoc 2020-03-20 13:27:46 +01:00
Jakob Lykke Andersen
088f26278f Add C++ test for backslash stripping 2020-03-20 13:26:51 +01:00
Jakob Lykke Andersen
f12a7f1ae2 Simplify backslash stripping 2020-03-20 13:26:45 +01:00
Jakob Lykke Andersen
e0f779ba3d Remove backslash stripping in domains.
Adds several ways to reinstate the old behaviour.

Fixes sphinx-doc/sphinx#6462
2020-03-20 12:25:31 +01:00
Takeshi KOMIYA
593dcaf40c
Merge pull request #7342 from tk0miya/tests_make_id
test: Add testcase for make_id()
2020-03-20 19:41:51 +09:00
Takeshi KOMIYA
c0cc755306 test: Add testcase for make_id() 2020-03-20 19:34:19 +09:00
Takeshi KOMIYA
046b55b43d
Merge pull request #7339 from tk0miya/3842_broken_images_when_singlehtml
Fix #3842: singlehtml: Path to images broken when master doc is not in source root
2020-03-20 02:28:45 +09:00
Takeshi KOMIYA
718b8f2055 Fix #3842: singlehtml: Path to images broken when master doc is not in source root 2020-03-19 23:10:15 +09:00
Takeshi KOMIYA
457a0cc63f
Merge pull request #7338 from PythonCoderAS/patch-1
Correct minor typo
2020-03-19 21:09:38 +09:00
PythonCoderAS
c495b2a380
Correct minor typo 2020-03-18 21:49:41 -04:00