Commit Graph
14607 Commits
Author SHA1 Message Date
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 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
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
Jakob Lykke Andersen b2ca906830 C, add expression parsing and expr role 2020-03-15 19:49:16 +01:00
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
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 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