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-10simplify some set comparisons (SIM109)Daniel Eades
2022-01-01A happy new year!Takeshi KOMIYA
2021-12-16Fix #9979: Error level messages were displayed as warning messagesTakeshi KOMIYA
2021-12-16Fix mypy violations (with mypy-0.920)Takeshi KOMIYA
2021-10-31Fix a flake8 warningTakeshi KOMIYA
2021-10-31Merge pull request #9656 from sdhiscocks/suppress_warning_subtype_noneTakeshi KOMIYA
Fix issue with warnings without subtype being incorrectly suppressed
2021-10-25Closes #9733: Fix for logging handler flushing warnings in the middle of the ↵gibsondan
build Summary: My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op. Test Plan: Repeat repro steps from #9733 - project now always includes warnings
2021-09-20Fix issue with warnings without subtype being incorrectly suppressedSteven Hiscocks
This fixes an issue with warnings that have been raised with no subtype being suppressed if a suppress warnings value with a subtype has been set. e.g. all `autodoc` warnings should not be suppressed if `autodoc.import_object` is only set to be suppressed.
2021-07-19Improve sphinx.util.logging docstringsLouis Maddox
2021-06-13Merge branch '4.0.x' into 4.xTakeshi KOMIYA
2021-06-13Fix mypy violations (delete type: ignore ) (with mypy-0.900)Junya Fukuda
2021-05-03refactor: Add Optional to type annotationsTakeshi KOMIYA
2021-03-09refactor: Use PEP-526 based variable annotation (sphinx.util)Takeshi KOMIYA
2021-02-09Update type annotationsTakeshi 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-11Merge branch '3.x'Takeshi KOMIYA
2020-11-11Sort imports with isortFrançois Freitag
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.
2020-05-03Merge branch '3.x'Takeshi KOMIYA
2020-05-03Preserve exception info in raised SphinxWarning objectsEric Wieser
2020-04-13Merge branch '3.x'Takeshi KOMIYA
2020-04-08Fix #7423: crashed when giving a non-string object to loggerTakeshi KOMIYA
2020-03-22Merge branch '3.x'Takeshi KOMIYA
2020-03-21Add "once" option to logger.warning()Takeshi KOMIYA
2020-03-21refactor SphinxLoggerAdapterTakeshi KOMIYA
2020-03-21Merge branch '3.x'Takeshi KOMIYA
2020-03-17Add suppress_logging()Takeshi KOMIYA
As a helper for C/C++ domain, this adds suppress_logging(). It works as a context manager and suppresses all loggings during the context temporarily.
2020-03-07Hello TYPE_CHECKING!Takeshi KOMIYA
2020-03-07Deprecate codes for python 3.5Takeshi KOMIYA
2020-01-01A happy new year!Takeshi KOMIYA
2019-12-30mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA
2019-07-13Fix type annotation for python 3.5.1Takeshi KOMIYA
2019-06-03Migrate to py3 style type annotation: sphinx.util.loggingTakeshi KOMIYA
2019-03-06Clean up import for annotationsTakeshi KOMIYA
2019-01-17Merge branch '1.8'Takeshi KOMIYA
2019-01-17Fix mypy violationsTakeshi 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-15Use Python 3 super() argument-less syntaxJon Dufresne
The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
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-11-24Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA