summaryrefslogtreecommitdiff
path: root/sphinx/builders/gettext.py
Commit message (Collapse)AuthorAgeFilesLines
* Warn on deprecated Python-specific index types (#11412)Adam Turner2023-05-091-5/+0
|
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-231-1/+1
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-071-1/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Drop OrderedDictAdam Turner2023-03-051-3/+3
| | | | Since Python 3.7, dicts maintain insertion order.
* Fix COM812Adam Turner2023-02-181-2/+2
|
* Define ``sphinx.builders.gettext.LocalTimeZone.tzname()``Adam Turner2023-02-111-0/+3
|
* Move console output utilities to ``sphinx.util.display``Adam Turner2023-01-031-1/+2
| | | | | - Merge `old_status_iterator` into ``status_iterator``. ``old_status_iterator`` was deprecated in version 1.6.
* Run pyupgrade (#11070)Adam Turner2023-01-021-3/+3
|
* Use PEP 604 typesAdam Turner2023-01-011-6/+6
|
* Use PEP 595 typesAdam Turner2023-01-011-12/+11
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-1/+1
|
* Remove `sphinx.builders.gettext` module from whitelist (#10798)danieleades2022-09-091-1/+0
|
* Improve static typing strictness (#10569)danieleades2022-07-181-7/+12
|
* Use the `flake8-comprehensions` lint plugin (#10601)danieleades2022-06-261-2/+2
|
* Remove warningAdam Turner2022-06-011-1/+0
|
* Add a warningAdam Turner2022-05-311-2/+6
|
* Ensure positions always sortAdam Turner2022-05-311-1/+1
|
* Fix #10104: gettext: Duplicated locations are output to pot fileTakeshi KOMIYA2022-05-231-1/+2
| | | | | | When 3rd party extension does not provide line number for each message, duplicated locations are output to pot file unexpectedly. This filters duplicated locations before generationg pot file.
* 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
|
* address some unused loop control variables (B007)Daniel Eades2022-01-121-3/+3
|
* Migrate to Node.findall() from Node.traverse()Takeshi KOMIYA2022-01-031-1/+1
| | | | | | | | 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 KOMIYA2022-01-011-1/+1
|
* Fix mypy violations (with mypy-0.920)Takeshi KOMIYA2021-12-171-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.builders)Takeshi KOMIYA2021-03-131-7/+6
|
* 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
* | Merge branch '3.x'Takeshi KOMIYA2020-12-201-1/+1
|\ \ | |/
| * Fix #8549: i18n: ``-D gettext_compact=0`` is no longer workingTakeshi KOMIYA2020-12-201-1/+1
| | | | | | | | | | | | Since 1bf7fe424, ``-D gettext_compact=0`` is not treated as disabling the feature. It is recognized as creating ``0.pot`` because its type is Any. This changes it to `[bool, str]`.
* | Do isortTakeshi KOMIYA2020-11-121-1/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-7/+6
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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 KOMIYA2020-08-141-1/+1
|\ \ | |/
| * i18n: Add support for having single text domainMichal Čihař2020-08-071-1/+1
| | | | | | | | | | | | | | The gettext_compact can now be a string which is then a single domain for all documents. Fixes #784
* | Merge branch '3.x'Takeshi KOMIYA2020-07-051-1/+1
|\ \ | |/
| * Fix exception causes all over the codebaseRam Rachum2020-06-141-1/+1
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-21/+0
| |
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-5/+1
|/
* Fix #7019: gettext: Absolute path used in message catalogsTakeshi KOMIYA2020-01-131-3/+11
|
* refactor: Rename var keyword argument to "**kwargs"Takeshi KOMIYA2020-01-081-2/+2
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-2/+2
|
* Close #6781: gettext Add confvals to customize headers of POT fileTakeshi KOMIYA2019-12-151-0/+4
| | | | | * gettext_last_translator * gettext_language_team
* gettext: Use template file to generate message catalogTakeshi KOMIYA2019-11-081-30/+42
|
* Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+4
|
* Migrate to py3 style type annotation: sphinx.builders.gettextTakeshi KOMIYA2019-06-101-49/+26
|