Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-20Collapse single line docstringsAdam Turner
2022-02-20Remove copyright and licence fieldsAdam Turner
2022-02-20Fix module docstring indentationAdam Turner
2022-02-20Fix module docstring first lineAdam Turner
2022-02-20Remove module titles in docstringsAdam Turner
2022-01-01A happy new year!Takeshi KOMIYA
2021-01-01Merge branch '3.x'Takeshi KOMIYA
2021-01-01A 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-11Do isortTakeshi KOMIYA
2020-10-03Merge branch '3.x' into masterTakeshi KOMIYA
2020-08-13Close #8100: html: Show a better error message for html_static_filesTakeshi 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-07Hello TYPE_CHECKING!Takeshi KOMIYA
2020-01-01A happy new year!Takeshi KOMIYA
2019-06-02Migrate to py3 style type annotation: sphinx.util.fileutilTakeshi KOMIYA
2019-01-02Merge branch '1.8'Takeshi KOMIYA
2019-01-02A happy new year!Takeshi KOMIYA
2018-12-17Merge pull request #5509 from stephenfin/remove-future-importsTakeshi KOMIYA
Remove future imports
2018-12-17py3: Remove (most) __future__ importsStephen 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-16Remove unnecessary encoding cookie from Python source filesJon 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-15Replace all "unicode" type by "str"Takeshi KOMIYA
2018-12-14Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA
2018-12-11Simplify open() call by removing default modeJon 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-24Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA
2018-11-21Simplify ensuredir() with Python3 stdlib featuresJon 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-07refactor: Separate message catalogs to sphinxmessage.styTakeshi KOMIYA
2018-10-05Deprecate 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-11Prefer 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-01Optimize copy_asset()Takeshi KOMIYA
Instantiate default renderer object only once to reduce the cost.
2018-03-13Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA
This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
2018-02-14Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA
2018-01-27Use flake8-import-orderTakeshi KOMIYA
2017-12-31A happy new year!Takeshi KOMIYA
2017-08-16copy static files beyond symlinked directories under _static directory.shimizukawa
This issue caused from ref #2744
2017-05-07Update type annotations for new mypyTakeshi KOMIYA
2017-03-26Merge branch 'stable'Takeshi KOMIYA
2017-03-26Year++Takeshi KOMIYA
2017-03-03Upgrade to mypy-0.5Takeshi KOMIYA
2017-02-08Fix mypy violationsTakeshi KOMIYA
2017-01-09Fix copy_asset_file() rewrote destination-filenameTakeshi KOMIYA
2016-09-21Fix #2687: Uninstall sphinx directives and roles after buildTakeshi KOMIYA
2016-07-07Fix importing errorTakeshi KOMIYA
2016-07-07Fix typoTakeshi KOMIYA
2016-07-07Use SphinxRenderer as a default renderer of copy_asset()Takeshi KOMIYA
2016-07-06Replace all copy_static_entry() with copy_asset()Takeshi KOMIYA
At same time, copy_static_entry() is now deprecataed
2016-07-06copy_asset_file() does not expand if context not givenTakeshi KOMIYA
2016-07-06Add sphinx.util.fileutil.copy_asset()Takeshi KOMIYA
2016-07-06Add sphinx.util.fileutil.copy_asset_file()Takeshi KOMIYA