Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2019-03-21 | 1 | -0/+6 | |
|\ | ||||||
| * | Fix #6178: i18n: Captions missing in translations for hidden TOCs | Takeshi KOMIYA | 2019-03-17 | 1 | -0/+6 | |
| | | ||||||
* | | Rename find_catalog() to docname_to_domain() | Takeshi KOMIYA | 2019-02-27 | 1 | -2/+2 | |
|/ | ||||||
* | Give "nonl=True" value to logging.info() instead of int | Takeshi KOMIYA | 2019-01-19 | 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 | |
| | | ||||||
* | | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | 2018-12-17 | 1 | -2/+0 | |
|\ \ | | | | | | | Remove future imports | |||||
| * | | py3: Remove (most) __future__ imports | Stephen Finucane | 2018-12-17 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | | | 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 | -5/+5 | |
| | | | | | | | | | | | | 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 | -15/+14 | |
| | | ||||||
* | | refactor: Replace six.StringIO by io.StringIO | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+1 | |
| | | ||||||
* | | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -10/+9 | |
| | | ||||||
* | | Simplify open() call by removing default mode | Jon Dufresne | 2018-12-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | 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'). | |||||
* | | Fix annotation of Catalog.add(); it takes an Element object | Takeshi KOMIYA | 2018-12-04 | 1 | -2/+2 | |
| | | ||||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -3/+2 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 1 | -4/+4 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -1/+2 | |
| | | ||||||
* | | Always prefer dict literals over calls to dict() | Jon Dufresne | 2018-11-13 | 1 | -6/+6 | |
| | | | | | | | | | | Dict literals are always slightly faster and are idiomatic modern Python. | |||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -5/+9 | |
|\ \ | |/ | ||||||
| * | Fix #5493: gettext: crashed with broken template | Takeshi KOMIYA | 2018-10-10 | 1 | -5/+9 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
| |/ | | | | | | | In Python 3, dict.items() is always an iterator. | |||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-04-09 | 1 | -3/+2 | |
|\ | ||||||
| * | Fix #4783: Sphinx crashed when drives of srcdir and outdir are different | Takeshi KOMIYA | 2018-04-02 | 1 | -3/+2 | |
| | | ||||||
* | | 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/+6 | |
| | | ||||||
* | | refactor: Move pairindextypes to sphinx.domains.python | Takeshi KOMIYA | 2018-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-20 | 1 | -4/+5 | |
|\ \ | |/ | ||||||
| * | Suppress a flake8 warning (E501) | cocoatomo | 2018-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | Fix indentation violation (flake8 E114) | cocoatomo | 2018-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | Have order on msgids in sphinx.pot deterministic | cocoatomo | 2018-02-19 | 1 | -4/+5 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -0/+1 | |
|/ | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -7/+7 | |
| | ||||||
* | 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> | |||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | Update type annotations for new mypy | Takeshi KOMIYA | 2017-05-07 | 1 | -2/+2 | |
| | ||||||
* | Fix #3669: gettext builder fails with "ValueError: substring not found" | Takeshi KOMIYA | 2017-04-27 | 1 | -8/+12 | |
| | ||||||
* | Fix typo | Takeshi KOMIYA | 2017-04-21 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-03-20 | 1 | -1/+2 | |
| | | ||||||
* | | Add Builder.use_message_catalog flag | Takeshi KOMIYA | 2017-03-20 | 1 | -0/+1 | |
| | | ||||||
* | | Create an instance of builder before initialize env | Takeshi KOMIYA | 2017-03-19 | 1 | -5/+2 | |
| | | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -2/+2 | |
| | |