Commit Graph

14683 Commits

Author SHA1 Message Date
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
Jakob Lykke Andersen
cc14b8519e
Merge pull request #7326 from jakobandersen/c_cpp_logging
C and C++ domains, change to new logging
2020-03-17 19:08:36 +01:00
Jakob Lykke Andersen
4fe5b6498c Fix flake and mypy errors 2020-03-17 18:49:22 +01:00
Jakob Lykke Andersen
c617750b77 Update CHANGES 2020-03-17 18:34:35 +01:00
Jakob Lykke Andersen
91e536597c Use logging.suppress_logging() 2020-03-17 18:34:35 +01:00
Jakob Lykke Andersen
02c4a0d02f C and C++ domains, change to new logging
Also add get_source_info() to SphinxDirective and SphinxRole
2020-03-17 18:34:35 +01:00
Jakob Lykke Andersen
cb0f33eb8f
Merge pull request #7327 from tk0miya/suppress_logging
Add suppress_logging()
2020-03-17 18:33:37 +01:00
Takeshi KOMIYA
cc917dcf41 Fix #7325: html: source_suffix containing dot leads to wrong source link 2020-03-18 01:58:56 +09:00
Takeshi KOMIYA
2f33b9376b Add suppress_logging()
As a helper for C/C++ domain, this adds suppress_logging().  It
works as a context manager and suppresses all loggings during the
context temporarily.
2020-03-18 01:35:30 +09:00
Jakob Lykke Andersen
385f7ed40e
Merge pull request #7319 from jakobandersen/c_revamp
C domain rewrite
2020-03-17 10:19:10 +01:00
Takeshi KOMIYA
e6ffda3848
Merge pull request #7315 from tk0miya/7293_js_splitter_code
Close #7293: html search: Allow to override JavaScript splitter
2020-03-17 10:55:04 +09:00
Takeshi KOMIYA
4086760f6b
Merge branch '3.x' into 7293_js_splitter_code 2020-03-17 10:48:44 +09:00
Jakob Lykke Andersen
f4d0099f2e C, type fix 2020-03-16 19:34:49 +01:00
Jakob Lykke Andersen
e4e5ee8598 C, improve type annotations with related refactoring 2020-03-16 19:13:42 +01:00
Takeshi KOMIYA
ba99fae8a0
Merge pull request #7323 from mitya57/autogen-doc
Fix sphinx-autogen commandline in examples
2020-03-17 01:09:38 +09:00
Dmitry Shachnev
4fde2204a2 Fix sphinx-autogen commandline in examples 2020-03-16 17:43:38 +03:00
Takeshi KOMIYA
4bae636341
Merge pull request #7318 from blueyed/docs-deprecationwarnings
Improve documentation about Sphinx's deprecation warnings
2020-03-16 23:17:13 +09:00
Takeshi KOMIYA
ee267f91f8
Merge pull request #7313 from tk0miya/7299_fix_todo_tutorial
Fix #7299: doc: Fix TODO tutorial
2020-03-16 22:45:23 +09:00
Jakob Lykke Andersen
3b8f7a1ad0
Merge pull request #7322 from jakobandersen/cpp_spurious_warnings
C++, prevent false warnings from expressions with <
2020-03-16 14:35:11 +01:00
Jakob Lykke Andersen
cc103b81be C++, prevent false warnings from expressions with < 2020-03-16 14:10:25 +01:00
Takeshi KOMIYA
4352991338 refactor: autosummary: Define AutosummaryEntry as a return type of find_autosummary_*() 2020-03-16 10:41:37 +09:00
Jakob Lykke Andersen
6ec42b071e C, flake and mypy fixes, rename attr in desc_signature_line 2020-03-15 21:00:42 +01:00
Jakob Lykke Andersen
7a29b63421 C, prepare for multiline rendering 2020-03-15 20:46:01 +01:00
Jakob Lykke Andersen
04efdfa917 C, style decl specifiers as intented 2020-03-15 19:54:43 +01:00
Jakob Lykke Andersen
bb2f1baa1b C, fix yype issues and remove dead code 2020-03-15 19:49:43 +01:00
Jakob Lykke Andersen
366d4624c0 C, bump env version 2020-03-15 19:49:43 +01:00
Jakob Lykke Andersen
4cdff03517 C, update CHANGES 2020-03-15 19:49:43 +01:00
Jakob Lykke Andersen
fdc55201c8 C, add __int64 as a fundamental type 2020-03-15 19:49:16 +01:00