Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable 'nit-picky mode' for Sphinx's documentation | Adam Turner | 2023-04-06 | 1 | -1/+1 |
| | | | | | Fix several reference errors throughout the documentation and set ``nitpick_ignore`` in ``doc/conf.py``. | ||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -3/+3 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Fix highlighting lexers | Adam Turner | 2022-09-25 | 1 | -2/+2 |
| | | | | - Ensure `pycon3` is always normalised to `pycon` | ||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -3/+3 |
| | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | ||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 1 | -1/+1 |
| | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop. | ||||
* | refactor: Use PEP-526 based variable annotation (sphinx.transforms) | Takeshi KOMIYA | 2021-03-24 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-08-08 | 1 | -7/+6 |
|\ \ | |/ | |||||
| * | Close #6698: doctest: Add :no-trim-doctest-flags: options | Takeshi KOMIYA | 2020-08-05 | 1 | -7/+6 |
| | | | | | | | | | | | | | | To control trimming doctest flags manually, this adds new options :trim-doctest-flags: and :no-trim-doctest-flags: to doctest directives. It helps to describes doctest module itself in python doc (see #6698). | ||||
* | | refactor: namedtuples with PEP 526 | Takeshi KOMIYA | 2020-07-16 | 1 | -3/+4 |
|/ | | | | | Apply PEP 526 based variable annotation style to namedtuples. It is available since python 3.6. | ||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -2/+2 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.transforms.post_transforms.code | Takeshi KOMIYA | 2019-08-21 | 1 | -34/+17 |
| | |||||
* | Fix #6545. Strip doctests for doctest_node blocks. | Nathan Goldbaum | 2019-07-07 | 1 | -8/+16 |
| | |||||
* | Add :force: option to code directives | Takeshi KOMIYA | 2019-06-01 | 1 | -5/+6 |
| | |||||
* | Close #1851: Allow to omit an argument for code-block directive | Takeshi KOMIYA | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -2/+1 |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | ||||
* | | 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. | ||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+2 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Adjust type annotations for transforms to docutils' | Takeshi KOMIYA | 2018-11-23 | 1 | -2/+4 |
| | | |||||
* | | Use super() to call parent class's method | Jon Dufresne | 2018-11-11 | 1 | -1/+1 |
|/ | |||||
* | Apply :confval:`trim_doctest_flags` to all builders (cf. text, manpages) | Takeshi KOMIYA | 2018-07-21 | 1 | -0/+44 |
| | |||||
* | Refactor: Run highlightlang on resolving phase | Takeshi KOMIYA | 2018-07-21 | 1 | -0/+106 |