Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Fix warning typo; improve sphinx.ext.autodoc docstrings | Louis Maddox | 2021-07-19 | 1 | -4/+4 |
| | |||||
* | Close #8107: autodoc: Add class-doc-from option to autoclass directive | Takeshi KOMIYA | 2021-05-01 | 1 | -1/+1 |
| | | | | | | Add `class-doc-from` option to the `autoclass` directive to control the content of the specific class. It takes `class`, `init`, and `both` like `autoclass_content`. | ||||
* | refactor: use raw Type for type annotations | Takeshi KOMIYA | 2021-04-04 | 1 | -1/+1 |
| | |||||
* | Deprecate DocumenterBridge.warn() | Takeshi KOMIYA | 2021-03-22 | 1 | -0/+3 |
| | | | | | | | | Since 1.6, sphinx.util.logging module became the default logging interface of Sphinx. It allows sphinx-components to output log without the app (or env) object. According to the policy, DocumenterBridge.warn() is no longer needed and should be replaced by the logging module. | ||||
* | Rename DocumenterBridge.filename_set to record_dependencies | Takeshi KOMIYA | 2021-03-21 | 1 | -3/+9 |
| | | | | | | | DocumenterBridge.filename_set has been used since its beginning. On the other hand, in docutils, record_dependencies attribute is well-used to store the list of dependency files. So this renames it to docutils' standard attribute. | ||||
* | refactor: Use PEP-526 based variable annotation (sphinx.ext) | Takeshi KOMIYA | 2021-03-15 | 1 | -2/+2 |
| | |||||
* | Merge branch '3.x' into merge_3.x_into_master | jfbu | 2021-02-04 | 1 | -1/+16 |
|\ | | | | | | | | | Resolved Conflicts: sphinx/texinputs/sphinxpackagefootnote.sty | ||||
| * | Merge remote-tracking branch 'upstream/3.x' into exclude-members-fix | pbudzyns | 2021-02-01 | 1 | -3/+9 |
| |\ | |||||
| * | | check if autodoc_defaults are str, fix tests | pbudzyns | 2021-02-01 | 1 | -3/+3 |
| | | | |||||
| * | | code format | pbudzyns | 2021-01-29 | 1 | -1/+2 |
| | | | |||||
| * | | add private-members as extendable | pbudzyns | 2021-01-29 | 1 | -1/+1 |
| | | | |||||
| * | | local options handling | pbudzyns | 2021-01-29 | 1 | -2/+1 |
| | | | |||||
| * | | redundant '+' has no effect | pbudzyns | 2021-01-25 | 1 | -0/+5 |
| | | | |||||
| * | | add more extendable options and tests | pbudzyns | 2021-01-25 | 1 | -1/+2 |
| | | | |||||
| * | | add more extendable options and tests | pbudzyns | 2021-01-25 | 1 | -4/+8 |
| | | | |||||
| * | | local exclude-members option fix | root | 2020-10-06 | 1 | -1/+6 |
| | | | |||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-16 | 1 | -1/+9 |
|\ \ \ | | |/ | |/| | |||||
| * | | refactor: Deprecate DocumenterBrdige.reporter | Takeshi KOMIYA | 2021-01-12 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | The logging system of Sphinx was migrated to sphinx.util.logging now. So it's time to deprecate reporter interface for Documenters. | ||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype | ||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -1/+1 |
| | | |||||
* | | Do isort | Takeshi KOMIYA | 2020-11-12 | 1 | -1/+0 |
| | | |||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -14/+3 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-03-21 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Deprecate sphinx.ext.autodoc.get_documenters() | Takeshi KOMIYA | 2020-03-16 | 1 | -2/+2 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-03-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix #7267: autodoc: errormsg for invalid directive options has wrong location | Takeshi KOMIYA | 2020-03-07 | 1 | -1/+1 |
| | | |||||
* | | Deprecate codes for python 3.5 | Takeshi KOMIYA | 2020-03-07 | 1 | -5/+1 |
|/ | |||||
* | Fix type annotation for python 3.5.1 | Takeshi KOMIYA | 2019-07-13 | 1 | -2/+7 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.ext.autodoc.directive | Takeshi KOMIYA | 2019-07-01 | 1 | -27/+18 |
| | |||||
* | Fix #6165: autodoc: ``tab_width`` setting of docutils has been ignored | Takeshi KOMIYA | 2019-04-25 | 1 | -4/+18 |
| | |||||
* | Add imported-members to the directive whitelist | Alex Sergeev | 2019-04-13 | 1 | -1/+2 |
| | |||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -2/+1 |
| | |||||
* | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 |
| | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | ||||
* | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+2 |
| | |||||
* | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 |
| | |||||
* | Fix annotations | Takeshi KOMIYA | 2018-12-10 | 1 | -2/+3 |
| | |||||
* | Fix annotations for Directives (Replace N_co with nodes.Node) | Takeshi KOMIYA | 2018-12-01 | 1 | -2/+2 |
| | |||||
* | Fix annotations for minor methods and functions | Takeshi KOMIYA | 2018-11-30 | 1 | -2/+2 |
| | |||||
* | Fix typehints: sphinx.ext.autodoc | Takeshi KOMIYA | 2018-11-27 | 1 | -6/+11 |
| | |||||
* | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | |||||
* | autodoc: Respect `member-order` in `autodoc_default_options` as documented | Eric N. Vander Weele | 2018-10-16 | 1 | -1/+1 |
| | | | | | | | | In the `autodoc_default_options` documentation, it mentions that `member-order` is respected; however, when setting the key-value pair in `conf.py`, it is not. Thus, add `member-order` as one of the default options respected in `conf.py`. Additionally, update the list of supported options to match the example. | ||||
* | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -2/+2 |
| | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | ||||
* | Add autodoc_default_options | Takeshi KOMIYA | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | autodoc: add 'exclude-members' to user global options | Lewis Haley | 2018-08-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | As the previous commit explains, it is now possible to specify arguments to the global options in config files. This means that we can now include the `exclude-members` option in this global configuration. Previously, there was no point including this option because it makes no sense without arguments. Including this option means users have the flexibility of explicitly including which special methods they want using (e.g.): :special-members: __init__, __iter__ or explicitly excluding which special-members (or other members) they want using (e.g.): :exclude-members: __weakref__, __hash__ | ||||
* | autodoc: allow specifying values to global arguments | Lewis Haley | 2018-08-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Previously, users could specify a *list* of flags in their config files. The flags were directive names that would otherwise be present in the .rst files. However, as a list, it was not possible to specify values to those flags, which *is* possible in .rst files. For example, in .rst you could say :special-members: __init__, __iter__ And this would cause autodoc to generate documents for these methods that it would otherwise ignore. This commit changes the config option to instead accept a dictionary. This is a dictionary whose keys can contain the same flag-names as before, but whose values can contain the arguments as seen in .rst files. The old list is still supported, for backwards compatibility, but the data is transformed into a dictionary when the user's config is loaded. | ||||
* | refactor: Replace Directive by SphinxDirective | Takeshi KOMIYA | 2018-05-11 | 1 | -7/+5 |
| | |||||
* | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -3/+2 |
| | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
* | Fix autodoc: crashed when invalid options given | Takeshi KOMIYA | 2018-03-03 | 1 | -2/+2 |
| |