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
Takeshi KOMIYA
4399982a86
Fix #7329 : autodoc: typehints doc is wrongly generated
2020-03-19 01:41:16 +09:00
Takeshi KOMIYA
82d49bafc5
Merge pull request #7328 from tk0miya/7325_better_source_link_for_dotted_suffix
...
Fix #7325 : html: source_suffix containing dot leads to wrong source link
2020-03-19 01:31:06 +09:00
Takeshi KOMIYA
088c05ae46
Merge pull request #7320 from tk0miya/refactor_autosummary
...
refactor: autosummary: Define AutosummaryEntry as a return type of find_autosummary_*()
2020-03-19 01:30:35 +09:00
Takeshi KOMIYA
69ae076864
Merge pull request #7317 from tk0miya/deprecate_get_documenters
...
Deprecate sphinx.ext.autodoc.get_documenters()
2020-03-19 01:30:05 +09:00
Takeshi KOMIYA
0655788224
Merge pull request #7312 from tk0miya/7297_bizstyle_sidebarwidth
...
Fix #7297 : html theme: ``bizstyle`` does not support ``sidebarwidth``
2020-03-19 01:28:54 +09:00
Takeshi KOMIYA
b72bc26c1a
Fix #7334 : py domain: Disable smartquotes for defvalues of arguments
2020-03-19 00:31:47 +09:00
Takeshi KOMIYA
8cac7fdd58
Merge pull request #7332 from tkoyama010/patch-1
...
🔧 ⚠️ (#7292 )
2020-03-18 22:40:58 +09:00
Jakob Lykke Andersen
c7be8aea10
Merge pull request #7333 from jakobandersen/3.x
...
C++, fix minor space issues in declarators
2020-03-18 10:08:27 +01:00
Jakob Lykke Andersen
dcbbc83ac7
C++, fix minor space issues in declarators
2020-03-18 09:57:23 +01:00
Tetsuo Koyama
7cc27eea3d
🔧 ⚠️ ( #7292 )
2020-03-18 16:18:11 +09:00
Jakob Lykke Andersen
f6cb7f1a43
Merge pull request #7330 from jakobandersen/cpp_typing
...
C++, add type annotations
2020-03-17 19:45:22 +01:00
Jakob Lykke Andersen
1d44fd12e4
C++, add type annotations
2020-03-17 19:15:12 +01:00