summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
* | Merge with stableTakayuki Shimizukawa2014-08-301-1/+4
|\ \ | |/
| * Now Sphinx exits with non-zero status code if builder status is not success. ↵Takayuki Shimizukawa2014-08-291-1/+4
| | | | | | | | Closes #508.
* | Update documentation and `sphinx-build -N` option behavior for windows color ↵Takayuki Shimizukawa2014-07-051-1/+0
| | | | | | | | console support. closes #1291.
* | tiny fix for py2/py3 compatibility in one source.Takayuki Shimizukawa2014-05-011-3/+2
| |
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-2/+2
| |
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-2/+3
| | | | | | | | refs #1350.
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | merge with stableGeorg Brandl2014-01-221-0/+1
|\ \ | |/
| * setup_command.py: Add missing DistutilsOptionError importDmitry Shachnev2014-01-211-0/+1
| |
| * BuildDoc shouldn't fail on Unicode paths.Sascha Peilicke2013-11-131-0/+14
| | | | | | | | | | | | | | | | | | | | Sub-classes of sphinx.setup_command.BuildDoc may choose to call finalize_options in their run() method again for various reasons. However, currently this fails with py2.7 because of http://bugs.python.org/issue19570. Since it is unlikely that the upstream issue will be solved, a workaround is to re-implement distutils' Command._ensure_stringlike to support Unicode strings.
* | Fix formattingDmitry Shachnev2014-01-221-2/+2
| |
* | MergeDmitry Shachnev2014-01-201-4/+5
|\ \
| * | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-4/+5
| |/ | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
* | BuildDoc shouldn't fail on Unicode paths.Sascha Peilicke2013-11-131-0/+14
|/ | | | | | | | | | Sub-classes of sphinx.setup_command.BuildDoc may choose to call finalize_options in their run() method again for various reasons. However, currently this fails with py2.7 because of http://bugs.python.org/issue19570. Since it is unlikely that the upstream issue will be solved, a workaround is to re-implement distutils' Command._ensure_stringlike to support Unicode strings.
* Fix again: NFC/NFD normalizing problem. Closes #1142Takayuki Shimizukawa2013-09-181-2/+5
|
* Copyright update.Georg Brandl2013-01-011-1/+1
|