Commit Graph

14682 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
815a9c657d C, add new directives, fix xref lookup 2020-03-15 19:49:16 +01:00
Jakob Lykke Andersen
0f49e30c51 C, initial rewrite 2020-03-15 19:49:16 +01:00
Daniel Hahler
ec7567ce41 Improve documentation about Sphinx's deprecation warnings 2020-03-15 19:20:55 +01:00
Takeshi KOMIYA
2202bff6b2 Deprecate sphinx.ext.autodoc.get_documenters() 2020-03-16 01:58:02 +09:00
Guillaume Melquiond
77d84713a1 Fix broken handling of whitespace in GenericObject.
This actually makes the code matches its comment, i.e, whitespaces are now
normalized the same way XRefRole does.

Without the fix, when creating a directive/role via add_object_type, the
following testcase fails with "WARNING: 'baz' reference target not found:
foo bar".

    :baz:`foo bar`
    .. baz:: foo bar

The current workaround is to explicitly mention the broken target, e.g.,

    :baz:`foo bar <foobar>`
    .. baz:: foo bar
2020-03-15 22:28:02 +09:00
Takeshi KOMIYA
23ca07c1dd
Merge pull request #7311 from tk0miya/disable_patch_status_check
Revert "Enable patch status check for Codecov"
2020-03-15 22:25:48 +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
a0bef9a86d
Merge pull request #7142 from septatrix/html-auxiliary-pygments-style
Add option for auxiliary pygments styles
2020-03-15 22:20:44 +09:00
Takeshi KOMIYA
4408e6ba86
Merge pull request #7314 from garciparedes/3.x
Propagate maxdepth option through package documents
2020-03-15 22:18:28 +09:00
Takeshi KOMIYA
28b3360863 Close #7293: html search: Allow to override JavaScript splitter 2020-03-15 22:05:38 +09:00
Sergio Garcia Prado
11dbf61626
* Updated tests according to latest changes. 2020-03-15 12:02:49 +01:00
Septatrix
37557d7552 Revert change in highlighting 2020-03-15 10:40:10 +01:00
Takeshi KOMIYA
8090e9040f Fix #7299: doc: Fix TODO tutorial 2020-03-15 18:33:41 +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
d23d0d6bf1 Revert "Enable patch status check for Codecov"
This reverts commit f09adc0af8.
2020-03-15 11:09:06 +09:00
Takeshi KOMIYA
8f45bee2a1
Merge pull request #7291 from anntzer/signature-rewritten-singledispatch
Handle singledispatch functions with rewritten signatures.
2020-03-15 11:06:54 +09:00
Antony Lee
f9048cf18e Handle singledispatch functions with rewritten signatures.
If a singledispatch function has its `__signature__` rewritten, autodoc
fails to annotate that signature because `func.__annotations__` is not
consulted.  Instead, directly assign to `__signature__` instead.
2020-03-14 22:52:45 +01:00
Sergio Garcia Prado
06b54c0a1f
* Propagated "maxdepth" recursively through package documents. 2020-03-14 22:19:27 +01:00
Septatrix
bfee516aa7 Remove unused import 2020-03-14 19:56:20 +01:00
Septatrix
f655835338 Fix tests 2020-03-14 19:46:37 +01:00
Septatrix
44fbd39ab2 Fix checking wrong highlighter 2020-03-14 18:49:25 +01:00
Septatrix
81fe5f8477 Remove html_pygments_dark_style option 2020-03-14 18:46:02 +01:00
Takeshi KOMIYA
5caaa5534b Update CHANGES for PR #7289 2020-03-15 01:50:42 +09:00
Takeshi KOMIYA
df9854abb6
Merge pull request #7289 from blueyed/fix-light-colors
console: use bright colors instead of bold
2020-03-15 01:49:50 +09:00
Septatrix
6314419bc5 Add tests for pygments_dark_style options 2020-03-14 15:10:25 +01:00
Septatrix
a9cc5bf6f3 Add docs 2020-03-14 14:54:31 +01:00
Septatrix
a34ff848dc Remove auxiliary highlighter feature 2020-03-14 14:29:46 +01:00
Takeshi KOMIYA
ec84a7bad7
Merge pull request #7308 from tk0miya/7282_ngettext_does_not_extracted
Fix #7282: i18n: messages using ngettext() does not translated
2020-03-14 20:04:38 +09:00
Takeshi KOMIYA
63d5d7035e Update message catalog 2020-03-14 19:52:32 +09:00
Takeshi KOMIYA
6682f89871 Fix #7282: i18n: messages using ngettext() does not translated 2020-03-14 19:52:26 +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
1fea92ca42
Merge pull request #7306 from tk0miya/7304_improve_warnigs_on_parse_failure
Fix #7304: py domain: Improve warning messages on parsing failure
2020-03-14 17:38:27 +09:00
Takeshi KOMIYA
0829a76344
Merge pull request #7305 from tk0miya/7304_pycode_op_support
Fix #7304: pycode: Support operators (BinOp, BoolOp and UnaryOp)
2020-03-14 17:38:08 +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
79e4514ae6
Merge pull request #7269 from tk0miya/6903_cdomain
c domain: Generate node_id for objects in the right way
2020-03-14 16:51:12 +09:00
Takeshi KOMIYA
89c446eaf7 Add desc_sig_element and inherited nodes 2020-03-14 16:49:16 +09:00
Takeshi KOMIYA
491048dfbf
Merge pull request #7303 from blueyed/fix-cov
Revert "test: Disable codecov"
2020-03-14 14:02:04 +09:00
Takeshi KOMIYA
d134b51927 Fix #7304: py domain: Improve warning messages on parsing failure 2020-03-14 13:54:49 +09:00
Takeshi KOMIYA
f6d58bbefc Fix #7304: pycode: Support operators (BinOp, BoolOp and UnaryOp) 2020-03-14 13:51:49 +09:00
Septatrix
08708e111a Remove vscode file 2020-03-13 16:10:33 +01:00
Septatrix
25f90ed3ee Use add_css_file instead of template modification 2020-03-13 15:59:28 +01:00
Daniel Hahler
2495277b86 pytest: configure testpaths
This avoids having unrelated files being collected.
2020-03-12 16:41:36 +01:00
Daniel Hahler
f4ba4e8c79 Revert "test: Disable codecov"
This reverts commit 1dba84096d.
2020-03-12 16:31:49 +01:00
Takeshi KOMIYA
f85b870ad5 Merge branch '2.x' into 3.x 2020-03-12 01:37:08 +09:00
Takeshi KOMIYA
419cd210f8 Merge branch '2.4.x' into 2.x 2020-03-12 01:36:49 +09:00
Takeshi KOMIYA
e3abdd9166
Merge pull request #7300 from tk0miya/mypy-0.770
Fix mypy violations (with mypy-0.770)
2020-03-12 01:35:27 +09:00
Takeshi KOMIYA
99476f37e7 Fix mypy violations (with mypy-0.770) 2020-03-12 01:25:18 +09:00