Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-20 | Collapse single line docstrings | Adam Turner | |
2022-02-20 | Remove copyright and licence fields | Adam Turner | |
2022-02-20 | Fix module docstring indentation | Adam Turner | |
2022-02-20 | Fix module docstring first line | Adam Turner | |
2022-02-20 | Remove module titles in docstrings | Adam Turner | |
2022-01-01 | A happy new year! | Takeshi KOMIYA | |
2021-01-01 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-01 | A happy new year! | Takeshi KOMIYA | |
.. 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 | |||
2020-11-11 | Do isort | Takeshi KOMIYA | |
2020-10-03 | Merge branch '3.x' into master | Takeshi KOMIYA | |
2020-08-13 | Close #8100: html: Show a better error message for html_static_files | Takeshi KOMIYA | |
The HTML Builder crashes if error raised on copying html_static_files. This handles the exception and show a better error message to let users the reason of errors (ex. failed on extracting Jinja templates). | |||
2020-03-07 | Hello TYPE_CHECKING! | Takeshi KOMIYA | |
2020-01-01 | A happy new year! | Takeshi KOMIYA | |
2019-06-02 | Migrate to py3 style type annotation: sphinx.util.fileutil | Takeshi KOMIYA | |
2019-01-02 | Merge branch '1.8' | Takeshi KOMIYA | |
2019-01-02 | A happy new year! | Takeshi KOMIYA | |
2018-12-17 | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | |
Remove future imports | |||
2018-12-17 | py3: Remove (most) __future__ imports | Stephen Finucane | |
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> | |||
2018-12-16 | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | |
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. | |||
2018-12-15 | Replace all "unicode" type by "str" | Takeshi KOMIYA | |
2018-12-14 | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | |
2018-12-11 | Simplify open() call by removing default mode | Jon Dufresne | |
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'). | |||
2018-11-24 | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | |
2018-11-21 | Simplify ensuredir() with Python3 stdlib features | Jon Dufresne | |
- Simplify ensuredir() to equivalent os.makedir(name, exist_ok=True) - Do not check if a directory exists before calling ensuredir() (ensuredir() already handles it) - Add exist_ok argument to path.makedirs() to follow same pattern - Drop unnecessary .exists() check immediately before .isdir() - Add tests for ensuredir | |||
2018-10-07 | refactor: Separate message catalogs to sphinxmessage.sty | Takeshi KOMIYA | |
2018-10-05 | Deprecate Python2 compat shim sphinx.util.osutil.walk() | Jon Dufresne | |
Code should use os.walk() instead, which works with either str or bytes. All internal calls use str. | |||
2018-09-11 | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | |
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. | |||
2018-05-01 | Optimize copy_asset() | Takeshi KOMIYA | |
Instantiate default renderer object only once to reduce the cost. | |||
2018-03-13 | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | |
This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||
2018-02-14 | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | |
2018-01-27 | Use flake8-import-order | Takeshi KOMIYA | |
2017-12-31 | A happy new year! | Takeshi KOMIYA | |
2017-08-16 | copy static files beyond symlinked directories under _static directory. | shimizukawa | |
This issue caused from ref #2744 | |||
2017-05-07 | Update type annotations for new mypy | Takeshi KOMIYA | |
2017-03-26 | Merge branch 'stable' | Takeshi KOMIYA | |
2017-03-26 | Year++ | Takeshi KOMIYA | |
2017-03-03 | Upgrade to mypy-0.5 | Takeshi KOMIYA | |
2017-02-08 | Fix mypy violations | Takeshi KOMIYA | |
2017-01-09 | Fix copy_asset_file() rewrote destination-filename | Takeshi KOMIYA | |
2016-09-21 | Fix #2687: Uninstall sphinx directives and roles after build | Takeshi KOMIYA | |
2016-07-07 | Fix importing error | Takeshi KOMIYA | |
2016-07-07 | Fix typo | Takeshi KOMIYA | |
2016-07-07 | Use SphinxRenderer as a default renderer of copy_asset() | Takeshi KOMIYA | |
2016-07-06 | Replace all copy_static_entry() with copy_asset() | Takeshi KOMIYA | |
At same time, copy_static_entry() is now deprecataed | |||
2016-07-06 | copy_asset_file() does not expand if context not given | Takeshi KOMIYA | |
2016-07-06 | Add sphinx.util.fileutil.copy_asset() | Takeshi KOMIYA | |
2016-07-06 | Add sphinx.util.fileutil.copy_asset_file() | Takeshi KOMIYA | |