summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix exception causes all over the codebaseRam Rachum2020-06-141-1/+1
|
* Close #7792: setuptools: Support ``--verbosity`` optionTakeshi KOMIYA2020-06-061-1/+2
|
* 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
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | setuptools: Support multiple buildersStephen Finucane2017-02-281-22/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At present, the 'builder' option for the setuptools integration only supports a single output format, typically HTML, like so: [build_sphinx] builder = man There is value in being able to specify multiple format, like so: [build_sphinx] builder = html man Make this possible. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Merge branch 'stable'Takeshi KOMIYA2016-12-121-0/+1
|\ \ | |/
| * Fix #3228: ``build_sphinx`` command crashes when missing dependencyTakeshi KOMIYA2016-12-121-0/+1
| |
* | Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-161-13/+22
|/
* Fix #2687: Uninstall sphinx directives and roles after buildTakeshi KOMIYA2016-09-211-9/+11
|
* setup_command: Instantiate application object inside try-blockTakeshi KOMIYA2016-09-141-5/+5
|
* #2695: better error handling for setup_commandTakeshi KOMIYA2016-09-121-19/+9
|
* Add ``--warning-is-error`` option to setup.py commandTadej Janež2016-06-301-2/+6
|
* add --pdb support to setuptools commandGabi Davar2016-06-171-5/+16
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* final pep8 fixes; reactivate most warnings in flake8Georg Brandl2015-03-081-5/+4
|
* BuildDoc: remove "author" and "date" optionsYclept Nemo2015-01-251-7/+0
|
* Class "BuildDoc": support "copyright"Yclept Nemo2015-01-251-0/+11
| | | | | | Adds "author", "date", and "copyright" options. If "copyright" is not provided but either "author" or "date" are, generate the copyright string using them.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |