Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make ``locale`` required in ``sphinx.util.i18n.format_date()`` (#11366) | Adam Turner | 2023-04-27 | 1 | -6/+0 |
| | |||||
* | Update tests for Babel 2.12 (CLDR 42) | Adam Turner | 2023-03-05 | 1 | -2/+11 |
| | |||||
* | `.write_text(...)` -> `.write_text(..., encoding='utf8')` | Adam Turner | 2022-04-27 | 1 | -11/+11 |
| | |||||
* | Address warnings in test_util_i18n.py | Adam Turner | 2022-04-22 | 1 | -11/+16 |
| | |||||
* | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 1 | -9/+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 |
| | | |||||
* | | Close #10062: Change the default language to 'en' | Takeshi KOMIYA | 2022-01-12 | 1 | -18/+0 |
|/ | | | | | Change the default language to `'en'` if any language is not set in `conf.py`. | ||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Fix #8683: html_last_updated_fmt generates wrong time zone for %Z | Takeshi KOMIYA | 2021-01-13 | 1 | -0/+2 |
| | | | | | sphinx.util.i18n:format_date() converts '%Z' to full name of time zone unexpectedly. It should be converted to short name. | ||||
* | Fix #8683: html_last_updated_fmt does not support UTC offset (%z) | Takeshi KOMIYA | 2021-01-13 | 1 | -0/+4 |
| | | | | | sphinx.util.i18n:format_date() does not support %z so far. This adds a mapping for %z to the babel form 'ZZZ'. | ||||
* | 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 | ||||
* | Close #7768: i18n: figure_language_filename supports {docpath} token | Takeshi KOMIYA | 2020-08-02 | 1 | -0/+13 |
| | | | | | | To build structured i18n imaging directory, figure_language_filename now supports `{docpath}` token that is a dirname of the current document. | ||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Drop tests for deprecated modules | Takeshi KOMIYA | 2019-03-24 | 1 | -111/+0 |
| | |||||
* | Python-3-only clean ups discovered by pyupgrade | Jon Dufresne | 2019-03-17 | 1 | -12/+12 |
| | | | | | | | | | | | | | | 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 | ||||
* | Add CatalogRepository class | Takeshi KOMIYA | 2019-02-27 | 1 | -0/+44 |
| | |||||
* | 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. | ||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -1/+1 |
| | | |||||
* | | Remove print_function feature | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+0 |
|/ | |||||
* | test: Filter warnings on testing | Takeshi KOMIYA | 2018-11-12 | 1 | -0/+1 |
| | |||||
* | Fix #5399: Sphinx crashes if unknown po file exists | Takeshi KOMIYA | 2018-09-08 | 1 | -1/+1 |
| | |||||
* | i18n: Ignore dot-directories like .git/ in LC_MESSAGES/. | Julien Palard | 2018-05-08 | 1 | -0/+11 |
| | | | | | | | | | | | | This avoids warnings when find_catalog_source_files returns files found in .git/ like: WARNING: Start of line didn't match any expected keyword./refs/heads/freezed-library/colorsys.mo WARNING: Problem on line 1: 0000000000000000000000000000000000000000 032a00a7391ec8a155bbc54d66ba72fb1b7bdbf1 Julien Palard <julien@palard.fr> 1521582790 +0100 branch: Created from freezed/library/colorsys.po `.po` files can typically reside in .git/refs/heads/ if some branches name end with .po, in which case they contain a SHA1, not translations, leading to warnings. | ||||
* | Fix flake8 violations | Takeshi KOMIYA | 2018-02-19 | 1 | -2/+3 |
| | |||||
* | Fix #4275: Formats accepted by sphinx.util.i18n.format_date are limite | Takeshi KOMIYA | 2018-01-28 | 1 | -0/+2 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | Mark tests as xfail/skip to allow successful run | Andy Neebel | 2017-06-14 | 1 | -0/+1 |
| | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
|\ | |||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| | | |||||
| * | fix nits | shimizukawa | 2017-01-13 | 1 | -1/+1 |
| | | |||||
| * | refs #3329: emit warnings if po file is invalid and can't read it. Also ↵ | shimizukawa | 2017-01-13 | 1 | -1/+1 |
| | | | | | | | | writing mo too. | ||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-01-10 | 1 | -12/+7 |
|\ \ | |/ | |||||
| * | pytest optimizatoin: | shimizukawa | 2017-01-08 | 1 | -12/+7 |
| | | | | | | | | | | | | | | | | - remote using deprecated decorators - remove gen_with_app - remove yield testing - remove pytest warnings - refactoring | ||||
* | | Merge branch 'stable' | shimizukawa | 2017-01-07 | 1 | -71/+65 |
|\ \ | |/ | |||||
| * | pytest: remove deprecated raises and raises_msg assert functions | shimizukawa | 2017-01-06 | 1 | -2/+4 |
| | | |||||
| * | pytest: remove deprecated with_tempdir decorator | shimizukawa | 2017-01-06 | 1 | -9/+1 |
| | | |||||
| * | pytest migration | shimizukawa | 2017-01-04 | 1 | -63/+63 |
| | | |||||
* | | Drop LDML support of format_date() | Takeshi KOMIYA | 2017-01-05 | 1 | -18/+0 |
|/ | |||||
* | Fix #3028: figure_language_filename format tokens, document tokens. | Jonathan Harker | 2016-10-13 | 1 | -0/+12 |
| | |||||
* | Fix flake8 violation under tests/ | Takeshi KOMIYA | 2016-06-12 | 1 | -1/+2 |
| | |||||
* | Tests for ↵ | Ruediger Pluem | 2016-04-05 | 1 | -0/+12 |
| | | | | 22dce02bec1e97b00fa5dde2479ab498784a866c..1754473c532d300ce517460d2ff467c312ae5510 | ||||
* | The default format of `today_fmt` and `html_last_updated_fmt` is back to ↵ | Takeshi KOMIYA | 2016-04-03 | 1 | -5/+12 |
| | | | | | | | | | strftime format again `html_last_updated_fmt` is commonly used for non date formatting. But LDML is difficult to represent them from its characteristics. Now we moved to strftime format again (ref: #2394). | ||||
* | Fix #2394: Sphinx crashes when html_last_updated_fmt is invalid | Takeshi KOMIYA | 2016-04-01 | 1 | -0/+8 |
| | |||||
* | fix for 'make style-check' | shimizukawa | 2016-03-06 | 1 | -3/+6 |
| | |||||
* | Add figure_language_filename to customize filename pattern for figure ↵ | Takeshi KOMIYA | 2016-02-22 | 1 | -0/+13 |
| | | | | substitutions |