summaryrefslogtreecommitdiff
path: root/sphinx/theming.py
Commit message (Collapse)AuthorAgeFilesLines
* Prefer ``importlib.metadata`` from Python 3.10 onwards (#11270)panhongtao2023-04-061-3/+4
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Resolve ``flake8-return`` errorsAdam Turner2023-02-181-2/+1
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-5/+5
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-161-15/+0
|
* Specify encodingAdam Turner2022-04-221-1/+1
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* Fix #10061: html theme: Confvals added by themes are not initializedTakeshi KOMIYA2022-01-101-0/+1
|
* Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
| |
* | Rename variables for clarityThomas Kluyver2021-12-241-2/+2
| |
* | Replace pkg_resources with importlib.metadataThomas Kluyver2021-12-221-5/+8
|/
* Improve sphinx.theming docstringsLouis Maddox2021-07-181-3/+3
|
* Fix typoEisuke Kawashima2021-07-081-1/+1
|
* Deprecate app.html_themesTakeshi KOMIYA2021-05-121-1/+1
| | | | | The register is much better to store the HTML themes instead of the application object. So this migrates it to the registry object.
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-1/+1
|
* Fix #8915: html theme: The translation of sphinx_rtd_theme does not workTakeshi KOMIYA2021-02-231-9/+7
| | | | | | | | | | | Since sphinx_rtd_theme-0.5.0, it supports translations. But Sphinx core disallows to enable it because theming framework gives special treatment for the theme for a long time. This goes to load it via setuptools at first to enable the translations. Note: The special treatment for sphinx_rtd_theme (< 0.2.5) is not removed yet. But it will be removed in the future release.
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-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
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-051-8/+8
|\ \ | |/
| * Fix exception causes all over the codebaseRam Rachum2020-06-141-8/+8
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
|/
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.themingTakeshi KOMIYA2019-12-251-36/+21
|
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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 KOMIYA2018-12-151-13/+12
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Remove uses of six.moves that did not cause any type errorsJon Dufresne2018-09-231-3/+3
| | | | | | | | | | Removal of the remaining imports may require passing "--python-version 3.5" to the mypy command.
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-4/+3
|\ \
| * | Remove use of six.iteritems()Jon Dufresne2018-09-111-4/+3
| | | | | | | | | | | | In Python 3, dict.items() is always an iterator.
* | | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-2/+2
|/ / | | | | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* | Drop APIs deprecated in 2.0Takeshi KOMIYA2018-09-031-22/+1
|/
* Merge branch '1.7'Takeshi KOMIYA2018-04-141-2/+2
|\
| * Fix mypy violationsTakeshi KOMIYA2018-04-141-2/+2
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-1/+1
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-10-231-1/+1
|\ \ | |/