Commit Graph

4420 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
c6f1bf66e0 C, alternative spellings of operators 2020-03-24 18:38:42 +01:00
Jakob Lykke Andersen
0aedc353d6 Merge pull request #7373 from jakobandersen/cpp_alternate_ops
C++, alternative spellings of operators
2020-03-24 18:16:04 +01:00
Jakob Lykke Andersen
077df4a084 C++, support alternate spellings of operators
Fixes sphinx-doc/sphinx#7367
2020-03-24 17:42:30 +01:00
Takeshi KOMIYA
dbf1982995 Merge branch '3.0.x' into 7364_autosummary_crashed 2020-03-25 01:31:39 +09:00
Takeshi KOMIYA
263b7a021c Fix #7370: autosummary: raises UnboundLocalError when unknown module given 2020-03-25 00:25:03 +09:00
Takeshi KOMIYA
aacde5032d Fix #7364: autosummary: crashed when autosummary_generate is False 2020-03-23 01:46:30 +09:00
Takeshi KOMIYA
d2f7628f8d Bump version 2020-03-23 00:05:03 +09:00
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
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
5c396b6325 Fix #7331: autodoc: a cython-function is not recognized as a function 2020-03-22 23:13:49 +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
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
2360473012 Fix #7324: Emit a warning if multiple files for same document found 2020-03-21 20:46:45 +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
bdfb112f0d Update CHANGES for PR #7290 2020-03-21 17:47:05 +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
86c32fe0f1 Fix #7345: sphinx-build: Sphinx crashes if output directory exists as a file 2020-03-21 14:47:02 +09: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
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
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
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
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
Jakob Lykke Andersen
c617750b77 Update CHANGES 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
Takeshi KOMIYA
cc917dcf41 Fix #7325: html: source_suffix containing dot leads to wrong source link 2020-03-18 01:58:56 +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
4086760f6b Merge branch '3.x' into 7293_js_splitter_code 2020-03-17 10:48:44 +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
4cdff03517 C, update CHANGES 2020-03-15 19:49:43 +01:00
Takeshi KOMIYA
2202bff6b2 Deprecate sphinx.ext.autodoc.get_documenters() 2020-03-16 01:58:02 +09:00
Takeshi KOMIYA
ef34ebdf2e Update CHANGES for PR #7142 2020-03-15 22:23:45 +09:00
Takeshi KOMIYA
8f8acd3c0a Update CHANGES for PR #7314 2020-03-15 22:21:52 +09:00
Takeshi KOMIYA
28b3360863 Close #7293: html search: Allow to override JavaScript splitter 2020-03-15 22:05:38 +09:00
Takeshi KOMIYA
6919c06898 Fix #7297: html theme: `bizstyle does not support sidebarwidth` 2020-03-15 14:22:39 +09:00
Takeshi KOMIYA
504d261f2f Merge pull request #7277 from tk0miya/7276_cpp_hyperlink_names
Fix #7276: cpp: objects generate hypertarget names unexpectedly
2020-03-15 14:13:04 +09:00
Takeshi KOMIYA
5caaa5534b Update CHANGES for PR #7289 2020-03-15 01:50:42 +09:00
Takeshi KOMIYA
5c0d0438c4 Merge pull request #6990 from tk0miya/function_signature
py domain: Allow to make a style for arguments of functions and methods
2020-03-14 17:42:04 +09:00
Takeshi KOMIYA
3ad0316bdf Update CHANGES for PR #7179 2020-03-14 17:41:31 +09:00
Takeshi KOMIYA
50cf68e0d4 py domain: Allow to make a style for arguments of functions and methods (refs: #6417) 2020-03-14 16:55:55 +09:00
Takeshi KOMIYA
f4c29949ce c domain: Generate node_id for objects in the right way 2020-03-09 02:00:26 +09:00