Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵ | James Addison | 2023-04-23 | 1 | -4/+4 |
| | | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47. | ||||
* | Support and prefer ``.jinja`` to ``_t`` for static templates (#11165) | James Addison | 2023-04-07 | 1 | -4/+4 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -9/+7 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -5/+5 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | simplify some set comparisons (SIM109) | Daniel Eades | 2022-01-10 | 1 | -1/+1 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | refactor: Use PEP-526 based variable annotation (sphinx.builders) | Takeshi KOMIYA | 2021-03-13 | 1 | -3/+3 |
| | |||||
* | 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 | -3/+1 |
| | | | | | | | | | | | | 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. | ||||
* | 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 | -1/+1 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.builders.changes | Takeshi KOMIYA | 2019-06-10 | 1 | -19/+9 |
| | |||||
* | Python-3-only clean ups discovered by pyupgrade | Jon Dufresne | 2019-03-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension | ||||
* | Merge branch '1.8' into 2.0 | Takeshi KOMIYA | 2019-03-09 | 1 | -2/+1 |
|\ | |||||
| * | Fix UnboundLocalError when building changes | Martin Packman | 2019-03-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | Split testing of changes builder to its own test file and root. Improve coverage a little, and add case that fails if a module directive is included in the rst source. Correctly handle changesets with a module declared. Fixes https://github.com/sphinx-doc/sphinx/issues/6134 | ||||
* | | Make info messages more translatable | Takeshi KOMIYA | 2019-01-09 | 1 | -1/+1 |
| | | |||||
* | | Remove use of deprecated APIs | Takeshi KOMIYA | 2019-01-03 | 1 | -2/+4 |
| | | |||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+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 pycompat.htmlescape() by html.escape() | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 |
| | | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -9/+8 |
| | | |||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -6/+4 |
| | | |||||
* | | Simplify open() call by removing default mode | Jon Dufresne | 2018-12-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The open() function opens files in read-only text mode by default. Drop the mode argument to be slightly simpler and more idiomatic. https://docs.python.org/3/library/functions.html#open > The default mode is 'r' (open for reading text, synonym of 'rt'). | ||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into drop-iteritems | Takeshi KOMIYA | 2018-09-22 | 1 | -6/+7 |
|\ \ | |||||
| * | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -6/+7 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function. | ||||
* | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -5/+3 |
|/ | | | | In Python 3, dict.items() is always an iterator. | ||||
* | refactor: Move repository of changesets to domain from env | Takeshi KOMIYA | 2018-08-02 | 1 | -15/+19 |
| | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 |
|\ | |||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
* | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -5/+5 |
|/ | |||||
* | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | builders: Add 'Builder.epilog' option | Stephen Finucane | 2018-01-11 | 1 | -0/+1 |
| | | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru> | ||||
* | Merge branch 'happy_new_year' into master | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | | |||||
* | | Remove impossible condition | Robin Neatherway | 2017-07-19 | 1 | -2/+0 |
|/ | | | | | We have just checked that `descname` is truthy, so it can't possibly be falsy immediately afterwards. | ||||
* | Add HTMLThemeFactory class | Takeshi KOMIYA | 2017-04-20 | 1 | -3/+3 |
| | |||||
* | Split theme manager and theme instance class | Takeshi KOMIYA | 2017-04-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
|\ | |||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| | |