summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop APIs deprecated in 2.0Takeshi KOMIYA2018-09-031-41/+0
|
* Drop typing.TYPE_CHECKINGTakeshi KOMIYA2018-03-261-2/+2
|
* Use typing.TYPE_CHECKINGTakeshi KOMIYA2018-02-191-2/+2
|
* Merge branch '1.7'Takeshi KOMIYA2018-02-191-0/+1
|\
| * Fix #4615: The argument of ``sphinx.build`` has been changed in 1.7.0Takeshi KOMIYA2018-02-161-0/+1
| |
* | Update type annotationsTakeshi KOMIYA2018-02-041-0/+5
|/
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+1
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
| * Use ensuredir() instead of os.makedirs() to fix race conditionsMichał Górny2017-12-161-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the ensuredir() function consistently across Sphinx code to avoid race conditions e.g. when multiple Sphinx instances attempt to create the same output directory. The ensuredir() function that was already present in sphinx.util.osutil correctly catches EEXIST exception that occurs if the specified directory already exists (i.e. it was created between the call to os.path.isdir() and os.makedirs() that follows it). While at it, remove redundant os.path.isdir() calls when they only guarded the os.makedirs() call, and replace mkdir_p() which had pretty much the same purpose, except for being prone to race conditions. I did not modify testing-related code as race conditions mostly affect real applications and not the test environment. Fix #4281: Race conditions when creating output directory
| * Fix #1421: Respect the quiet flag in sphinx-quickstartStephen Finucane2017-12-131-2/+4
| | | | | | | | | | | | | | Calling 'sphinx-quickstart --quiet' should not print anything to stdout. Resolve this. Signed-off-by: Stephen Finucane <stephen@that.guru>
| * Fix mypy violationsTakeshi KOMIYA2017-10-071-2/+2
| |
* | sphinx-quickstart: Move code to 'sphinx.cmd'Stephen Finucane2017-10-021-700/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to move the executable's here (or at least those that part of the core library). The 'sphinx-build' executable was already moved, so lets do 'sphinx-quickstart' next. To avoid breaking packages that are using this feature directly, aliases for the old 'main' method are included. This is based on what Django does [1] and, like Django, will allow us to safely remove the old modules in Sphinx 2.0. [1] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695 Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Merge pull request #3668 from adamjstewart/fixes/apidoc-main-argvTakeshi KOMIYA2017-05-141-3/+3
|\ \ | |/ |/| Don't ignore first argument passed to sphinx.apidoc.main
| * Update more files that hardcode sys.argvAdam J. Stewart2017-05-091-1/+1
| |
| * Update other commands as wellAdam J. Stewart2017-05-091-2/+2
| |
* | Update type annotations for new mypyTakeshi KOMIYA2017-05-071-1/+1
|/
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-3/+4
| |
* | Add mypy annotationsTakeshi KOMIYA2017-02-101-2/+28
| |
* | Merge branch 'stable'jfbu2017-02-091-2/+5
|\ \ | |/
| * Fixed bug that conf.py was not overwritten by templatepashango22017-02-071-1/+4
| |
| * Refactor quickstartTakeshi KOMIYA2017-01-311-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-291-3/+6
|\ \ | |/
| * Fix #3364: sphinx-quickstart prompts overflow on Console with 80 chars widthTakeshi KOMIYA2017-01-291-3/+6
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-01-121-4/+4
|\ \ | |/
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-4/+4
| |
* | Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-161-2/+3
|/
* Merge branch 'stable' into 1.5-releaseTakeshi KOMIYA2016-11-161-0/+2
|\
| * insert blank line(s) to adapt latest flake8/pycodestyleshimizukawa2016-11-161-0/+2
| |
* | Add ``--extensions`` to ``sphinx-quickstart`` to support enable arbitary ↵Takeshi KOMIYA2016-11-021-8/+15
| | | | | | | | extensions from command line (ref: #2904)
* | sphinx-quickstart supports user templates (ref: #2912)Takeshi KOMIYA2016-10-131-3/+29
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-09-171-3/+3
|\ \ | |/
| * Quickstart should return an error consistently on all error conditionsArcadiy Ivanov2016-09-141-3/+3
| | | | | | | | fixes #2955, connected to #2955
* | quickstart: do_prompt() allows empty string as default valueTakeshi KOMIYA2016-08-251-1/+1
| |
* | 2894 Fixed argument parsing for quickstart mainTucker Beck2016-08-241-1/+1
| | | | | | | | | | | | The main() funciton in quickstart was ignoring the argv passed as a param, and instead was using the default sys.argv when it was parsing arguments. Fixed this so usage matches other modules like apidoc
* | Use make-mode of ``sphinx-quickstart`` by defaultTakeshi KOMIYA2016-08-131-0/+1
| |
* | Jinja2-ize quickstartTakeshi KOMIYA2016-07-261-1062/+20
| |
* | `sphinx-quickstart` now allows a project version is emptyTakeshi KOMIYA2016-07-211-6/+11
| |
* | Support multiple LaTeX engines through `latex_engine`Takeshi KOMIYA2016-07-191-16/+0
| |
* | Fix descriptions of make targetsTakeshi KOMIYA2016-06-201-2/+2
| |
* | Merge branch 'stable'jfbu2016-06-151-0/+6
|\ \ | |/ | | | | | | | | | | Conflicts: sphinx/domains/cpp.py sphinx/texinputs/sphinx.sty tests/test_build_latex.py
| * Fix #2629. Add new config option ``latex_keep_old_macro_names``jfbu2016-06-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cause of the issue was a clash about ``\titleref`` macro being already defined in memoir class context. To avoid similar problems, this makes the text styling macros ``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``, ``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``, ``\termref``, ``\optional``, also available with ``\sphinx`` prefix, with a conf.py boolean option to let sphinx.sty only define ``\sphinx``-prefixed macros. As default value is False, backwards compatibility is maintained. On this occasion, some internal non-public macros have been renamed with prefix ``\spx@``. The command find . -name '*.sty' -exec grep -l \\\\spx@ {} \; has been executed in TeXLive 2015 and 2016 installations to check no package defines macros starting with ``\spx@``. Some internal macros having public names (because they are written by latex.py into the body of the latex document) have been renamed to have ``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU, or \PYG have not been modified. Similarly ``\release``, ``\version``, ``\releasename``, etc... have not been renamed.
* | Fix PEP-8 violation present in generated codeJason Dusek2016-05-281-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-05-261-20/+0
|\ \ | |/
| * Fix #2512: generated Makefile causes BSD make crashed if sphinx-build not foundTakeshi KOMIYA2016-05-211-20/+0
| |
* | Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-4/+1
| |
* | Close #894: Add ``lualatexpdf`` and ``xelatexpdf`` as a make target to build ↵Takeshi KOMIYA2016-04-211-26/+42
|/ | | | PDF using lualatex or xelatex
* Fix pep8 violation (F401) on conf.pyTakeshi KOMIYA2016-04-151-3/+2
|