summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Improvement to sphinx.setup_command docstringsLouis Maddox2021-07-181-2/+2
|
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-15/+9
|
* Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-1/+1
| | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-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
* | Merge branch '3.x'Takeshi KOMIYA2020-12-141-15/+1
|\ \ | |/
| * Drop outdated workaround for distutils' Command._ensure_stringlike()Jon Dufresne2020-12-121-15/+1
| | | | | | | | | | | | | | The issue applied to Python 2 only. The current override is identical to the CPython implementation: https://github.com/python/cpython/blob/4b8cdfcb22fbeaab9d954cb693a7fb3362a382b6/Lib/distutils/cmd.py#L207-L215
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+2
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+2
|\ \ | |/
| * Fix a mypy violationTakeshi KOMIYA2020-07-241-1/+1
| |
| * Merge branch '3.x' into 5090_distutils_versionTakeshi KOMIYA2020-07-241-17/+21
| |\
| * | BuildDoc: link verbosity to distutils'Daniel Hahler2018-06-131-2/+4
| | | | | | | | | | | | | | | This preserves the current behavior (using 0), but picks up distutils' `-v` and `-q` options.
* | | Merge branch '3.x'Takeshi KOMIYA2020-07-051-1/+1
|\ \ \ | | |/ | |/|
| * | Fix exception causes all over the codebaseRam Rachum2020-06-141-1/+1
| | |
* | | Merge tag 'v3.1.0'Takeshi KOMIYA2020-07-051-1/+2
|\ \ \ | |/ /
| * | Close #7792: setuptools: Support ``--verbosity`` optionTakeshi KOMIYA2020-06-061-1/+2
| | |
* | | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+3
|/ /
* | A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Support --keep-going with BuildDoc setup command (#6180)Daniel Hahler2019-03-171-1/+4
| | | | | | | | | | * Support --keep-going with BuildDoc setup command This allows for `tox -e docs -- -n -W --keep-going`.
* | Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\ \
| * | A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| | |
* | | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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.
* | | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-7/+6
| | |
* | | Remove print_function featureTakeshi KOMIYA2018-12-151-1/+0
| | |
* | | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-2/+1
| | |
* | | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| | |
* | | Replace six.string_types with native strJon Dufresne2018-11-211-2/+2
|/ /
* | Fix setup_command uses deprecated moduleTakeshi KOMIYA2018-07-281-1/+1
| |
* | Fix mypy violationTakeshi KOMIYA2018-07-191-2/+2
| |
* | BuildDoc: add and pass through nitpicky optionDaniel Hahler2018-06-251-1/+5
|/ | | | | This allows for using e.g. `tox -e docs -- -n` with Sphinx's own `build_sphinx` distutils command.
* Merge branch '1.7'Takeshi KOMIYA2018-05-031-1/+1
|\
| * Fix mypy violationsTakeshi KOMIYA2018-05-031-1/+1
| |
* | Let docutils know the location of ``docutils.conf`` for SphinxTakeshi KOMIYA2018-04-221-1/+2
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-2/+2
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
| |
* | Merge branch '1.7-release'Takeshi KOMIYA2018-01-311-3/+3
|\ \ | |/
| * Use flake8-import-orderTakeshi KOMIYA2018-01-281-3/+3
| |
* | Merge pull request #4469 from kurtmckee/use-https-urlsTakeshi KOMIYA2018-01-211-1/+1
|\ \ | | | | | | Use HTTPS URL's
| * | Convert in-code HTTP URL's to HTTPS, including examplesKurt McKee2018-01-201-1/+1
| |/
* | setuptools: Don't create directoriesStephen Finucane2018-01-201-4/+0
| | | | | | | | | | | | | | | | Don't create the build or doctree directories. These are already handled by 'sphinx.application.Application' and 'sphinx.builder.Builder', respectively. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | app: Centralize directory validationStephen Finucane2018-01-201-7/+7
|/ | | | | | | | | | This allows us to avoid duplication of code and ensure validation happens regardless of who's initializing the class. We introduce a new exception - ApplicationError - to indicate these kinds of issues. This subclasses SphinxError, meaning we don't need to modify our exception handling code. Signed-off-by: Stephen Finucane <stephen@that.guru>
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Fix mypy violationsTakeshi KOMIYA2017-12-161-5/+5
|
* Refactor patching docutilsTakeshi KOMIYA2017-05-281-2/+2
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |