summaryrefslogtreecommitdiff
path: root/sphinx/cmd/quickstart.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch '1.7'Takeshi KOMIYA2018-06-161-4/+10
|\ \ | |/
| * Fix #5036: quickstart: Typing Ctrl-U clears the whole of lineTakeshi KOMIYA2018-06-111-4/+10
| |
* | 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.
* | Make sphinx-* commands translatableTakeshi KOMIYA2018-03-031-119/+120
| |
* | Supports i18n console outputTakeshi KOMIYA2018-02-251-0/+5
|/
* Merge pull request #4621 from tk0miya/4617_quickstart_argument_requiredTakeshi KOMIYA2018-02-171-1/+1
|\ | | | | Fix #4617: quickstart: PROJECT_DIR argument is required
| * Fix #4617: quickstart: PROJECT_DIR argument is requiredTakeshi KOMIYA2018-02-151-1/+1
| |
* | Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|/
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-4/+4
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Merge branch 'stable'jfbu2017-12-181-13/+6
| | | | | | | | | | | | | | | Conflicts: sphinx/apidoc.py sphinx/application.py sphinx/quickstart.py modified: CHANGES modified: doc/config.rst modified: doc/markup/inline.rst modified: sphinx/application.py modified: sphinx/builders/__init__.py modified: sphinx/cmd/quickstart.py modified: sphinx/ext/apidoc.py
* quickstart: Fix make_mode should be chosen by defaultTakeshi KOMIYA2017-12-161-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-12-141-2/+4
|
* quickstart: Rework how we collect extensionsStephen Finucane2017-12-031-61/+38
| | | | | | | | | | This is a little more flexible than the existing set up and makes maximum use of argparse capabilities. This has the side-effect of no longer including configuration for the 'sphinx.ext.todo' extension when said extension is not enabled. Signed-off-by: Stephen Finucane <stephen@that.guru>
* quickstart: Rework 'do_prompt' functionStephen Finucane2017-12-031-44/+48
| | | | | | | The 'd' and 'key' values are used on a single line. Move these outside the function to allow us to do other things with this function. Signed-off-by: Stephen Finucane <stephen@that.guru>
* quickstart: Simplify --(no-)option handlingStephen Finucane2017-12-031-21/+14
| | | | | | The standard pattern for doing this is to use a common 'dest'. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge pull request #4173 from eric-wieser/patch-2Takeshi KOMIYA2017-10-221-15/+15
|\ | | | | quickstart: fix return type of term_decode
| * fixupEric Wieser2017-10-201-2/+2
| | | | | | Warning and missing typing function
| * quickstart: fix return type of term_decodeEric Wieser2017-10-201-15/+15
| | | | | | | | | | | | | | | | term_decode is documented as `(unicode) -> unicode`, but actually: * Accepts `bytes` arguments, despite not being documented to * Returns `bytes` when it shouldn't This is extracted from the more controversial #3584
* | Merge pull request #4097 from stephenfin/argparse-integrationTakayuki SHIMIZUKAWA2017-10-211-103/+87
|\ \ | |/ |/| Fix #3259: Argparse integration
| * sphinx-quickstart: Move parser to a separate functionStephen Finucane2017-10-091-6/+19
| | | | | | | | | | | | | | For the same reasons as the 'sphinx-apidoc' and 'sphinx-autogen' moves. As before, we also take the opportunity to add a help string. Signed-off-by: Stephen Finucane <stephen@that.guru>
| * sphinx-quickstart: Convert to argparseStephen Finucane2017-10-091-103/+74
| | | | | | | | | | | | Nothing unusual to see here. 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-0/+715
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>