Commit Graph

15333 Commits

Author SHA1 Message Date
Takeshi KOMIYA
7b414d0c9c Update CHANGES for PR #7384 2020-05-29 23:08:28 +09:00
Takeshi KOMIYA
877055f8b2 Update CHANGES for PR #7711 2020-05-29 23:06:07 +09:00
Takeshi KOMIYA
19ad8a4302
Merge pull request #7384 from eric-wieser/property-annotation
autodoc: Respect type annotations in `__new__`, `metacls.__call__`, and builtin types
2020-05-29 23:05:32 +09:00
Takeshi KOMIYA
18f7d8f4ef
Merge pull request #7744 from tk0miya/fix_pypi_classifiers
Add py38 to the list of PyPI classifiers
2020-05-29 13:18:10 +09:00
Ryan Soklaski
1d332a2e0a
Update test_ext_math.py
Bump hardcoded mathjax version to 2.7.7
2020-05-28 23:15:39 -04:00
Ryan Soklaski
7e97de805d
Update mathjax to version 2.7.7
There is a bug in latest.js in versions 2.7.5 and below; when the current version on the CDN is 3.0 or higher, latest.js will not use the highest version of 2.x, but instead will use the version from which latest.js has been taken. See the warning section on this page:  http://docs.mathjax.org/en/latest/upgrading/v2.html

This PR fixes that by pointing to 2.7.7, the latest version available on the CDN.
2020-05-28 22:55:31 -04:00
Takeshi KOMIYA
666c4a4cd8
Merge pull request #7711 from larsoner/meth
BUG: Fix check for meth
2020-05-29 02:40:41 +09:00
Takeshi KOMIYA
03bb9ff84a Add py38 to the list of PyPI classifiers 2020-05-29 02:36:02 +09:00
Eric Wieser
d5584172ab Refactor to simplify format_args, catch TypeError 2020-05-28 18:28:40 +01:00
Eric Larson
79d8bfb9e0 BUG: Fix check for meth 2020-05-28 13:21:00 -04:00
Eric Wieser
d229b120ad Fix autoclass signature parsing
This fixes:
* Signatures defined by __new__
* Signatures defined by metaclasses
* Signatures defined by builtin base classes

All of these changes bring the sphinx docs inline with the behavior of `inspect.signature`.

Note that this changes autodoc to output `.. py:class: MyClass()` with parentheses even if no user-defined __init__ is present.
This is quite deliberate, as if no user-defined `__init__` is present the default is `object.__init__`, which indeed does not take arguments.
2020-05-28 08:36:56 +01:00
Takeshi KOMIYA
2c1bab44e8 Remove .appveyor.yml 2020-05-28 01:51:22 +09:00
Takeshi KOMIYA
27f85c7f4e Do test with Windows on GitHub Actions 2020-05-28 01:51:22 +09:00
Takeshi KOMIYA
ee4c7d3a68
Merge pull request #7713 from tk0miya/3673_autodoc_sort_by_all
Fix #3673: autodoc: bysource order does not work for a module having __all__
2020-05-28 01:50:24 +09:00
Takeshi KOMIYA
eb9263b8a0
Merge pull request #7725 from kai687/patch-1
Fixed broken link to pygments lexers doc
2020-05-28 01:49:16 +09:00
Takeshi KOMIYA
b2b57b9282
Merge pull request #7732 from tk0miya/refactor_test_project
refactor test_project: PathComparer is unnecessary for this case
2020-05-28 01:48:29 +09:00
Takeshi KOMIYA
a28c9ad842 Fix #7734: napoleon: overescaped trailing underscore on attribute 2020-05-28 01:47:33 +09:00
Takeshi KOMIYA
36fd5bfa9a refactor test_project: PathComparer is unnecessary for this case 2020-05-27 02:44:53 +09:00
Takeshi KOMIYA
c087d717f6
Merge pull request #7712 from tk0miya/refactor_autodoc_sort_members
refactor: autodoc: Sort members alphabetically when unknown order
2020-05-27 01:41:37 +09:00
Takeshi KOMIYA
d0779390d9 Merge branch '3.0.x' into 3.x 2020-05-27 00:38:23 +09:00
Takeshi KOMIYA
e3f9bf43f6 Bump version 2020-05-27 00:37:11 +09:00
Takeshi KOMIYA
b797f7f75c Bump to 3.0.4 final 2020-05-27 00:34:47 +09:00
Kai Welke
0ee57a6f6e
Fixed broken link to pygments lexers doc 2020-05-26 09:35:47 +02:00
Matthias Geier
b345acc284 classic theme: default codetextcolor/codebgcolor doesn't override Pygments
Closes #7720.
2020-05-24 20:39:31 +02:00
Matthias Geier
1f47eefb2f CSS: Respect Pygments background color
... except "classic" and "scrolls" themes.
2020-05-24 18:17:51 +02:00
Matthias Geier
d326f8cc7e basic CSS: avoid unnecessary padding to the left of line numbers 2020-05-24 17:34:06 +02:00
Takeshi KOMIYA
302c23fb5c
Merge pull request #7307 from tk0miya/4187_endash_on_pdf_bookmarks
Fix #4187: latex: EN DASH disappears from PDF bookmarks in Japanese documents
2020-05-24 02:47:51 +09:00
Takeshi KOMIYA
6c324be96b Fix #4187: latex: EN DASH disappears from PDF bookmarks in Japanese documents 2020-05-24 01:51:46 +09:00
Takeshi KOMIYA
d501b94311 latex: Allow to add LaTeX package after hyperref loaded via API 2020-05-24 01:51:46 +09:00
Takeshi KOMIYA
638b197d25 Fix #7701: LaTeX: Anonymous indirect target causes duplicated labels 2020-05-23 22:55:24 +09:00
Takeshi KOMIYA
a5e3b4a43d Fix #3673: autodoc: bysource order does not work for a module having __all__ 2020-05-23 21:52:11 +09:00
Takeshi KOMIYA
d674d917ae refactor: autodoc: Copy module.__all__ to ModuleDocumenter.__all__ 2020-05-23 20:41:54 +09:00
Takeshi KOMIYA
b8e2cfde7b refactor: autodoc: Add Documenter.sort_members() 2020-05-23 20:25:43 +09:00
Takeshi KOMIYA
14ef3791b9 refactor: autodoc: Sort members alphabetically when unknown order 2020-05-23 20:17:55 +09:00
Takeshi KOMIYA
a1293e2825
Merge pull request #7709 from tk0miya/refactor_test_ext_autodoc
refactor: test: Separate tests for autofunction
2020-05-23 02:38:53 +09:00
Takeshi KOMIYA
6a4148abec
Merge pull request #7669 from tk0miya/7668_wront_retann
Fix #7668: autodoc: wrong retann value is passed to autodoc-proccess-signature
2020-05-23 00:43:18 +09:00
Takeshi KOMIYA
0c05958d7c
Merge pull request #7672 from tk0miya/7671_missing_warning_location
Fix #7671: autosummary: The location of import failure warning is missing
2020-05-23 00:43:02 +09:00
Takeshi KOMIYA
f13e05a01b refactor: test: Separate tests for autofunction 2020-05-22 23:41:45 +09:00
Jakob Lykke Andersen
589df567c0
Merge pull request #7708 from jakobandersen/c_cpp_fix_test_typo
C, C++: fix typo in tests
2020-05-22 16:25:57 +02:00
Takeshi KOMIYA
62db8a8755
Merge pull request #7689 from mgeier/float-document
bizstyle&sphinxdoc themes: Fix float behavior
2020-05-22 23:22:26 +09:00
Takeshi KOMIYA
c5f7ded772
Merge branch '3.x' into 7668_wront_retann 2020-05-22 23:15:47 +09:00
Takeshi KOMIYA
e031ebe3fc
Merge branch '3.x' into 7671_missing_warning_location 2020-05-22 23:14:42 +09:00
Takeshi KOMIYA
0210511531
Merge pull request #7681 from tk0miya/7679_migrate_priority
Fix #7679: autodoc: Pass priority option to the config-inited handler
2020-05-22 23:14:01 +09:00
Takeshi KOMIYA
9d4901f5a1
Merge pull request #7703 from tk0miya/refactor_autosectionlabel
refactor: autosectionlabel: Use accessors of std domain
2020-05-22 23:13:42 +09:00
Takeshi KOMIYA
c1ef87a23b Fix #7696: html: Updated jQuery version from 3.4.1 to 3.5.1 2020-05-22 23:12:31 +09:00
Takeshi KOMIYA
3893620cb4
Merge pull request #7705 from tk0miya/7696_jquery-3.5.1
Fix #7696: html: Updated jQuery version from 3.4.1 to 3.5.1
2020-05-22 23:11:44 +09:00
Takeshi KOMIYA
03c81d5c0c Update CHANGES for PR #7676 2020-05-22 23:10:28 +09:00
Takeshi KOMIYA
d5a3af4cbf
Merge pull request #7680 from tk0miya/7676_validate_member_order
Fix #7676: autodoc: wrong value for :member-order: option is ignored silently
2020-05-22 23:09:28 +09:00
Takeshi KOMIYA
23422f5846
Merge pull request #7676 from eric-wieser/better-source-order
Respect member-order="bysource" even when no analyzer is present
2020-05-22 23:08:49 +09:00
Jakob Lykke Andersen
07c74b5ff4 C, C++: fix typo in tests 2020-05-22 15:39:47 +02:00