mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #8298: sphinx-quickstart: Add :option:sphinx-quickstart --no-sep
option
This commit is contained in:
parent
f2a31185a6
commit
b453be75c9
1
CHANGES
1
CHANGES
@ -28,6 +28,7 @@ Features added
|
|||||||
directory on build man page
|
directory on build man page
|
||||||
* #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub
|
* #8289: epub: Allow to suppress "duplicated ToC entry found" warnings from epub
|
||||||
builder using :confval:`suppress_warnings`.
|
builder using :confval:`suppress_warnings`.
|
||||||
|
* #8298: sphinx-quickstart: Add :option:`sphinx-quickstart --no-sep` option
|
||||||
|
|
||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
----------
|
||||||
|
@ -33,6 +33,10 @@ Options
|
|||||||
|
|
||||||
If specified, separate source and build directories.
|
If specified, separate source and build directories.
|
||||||
|
|
||||||
|
.. option:: --no-sep
|
||||||
|
|
||||||
|
If specified, create build directroy under source directroy.
|
||||||
|
|
||||||
.. option:: --dot=DOT
|
.. option:: --dot=DOT
|
||||||
|
|
||||||
Inside the root directory, two more directories will be created;
|
Inside the root directory, two more directories will be created;
|
||||||
|
@ -489,8 +489,10 @@ def get_parser() -> argparse.ArgumentParser:
|
|||||||
help=__('project root'))
|
help=__('project root'))
|
||||||
|
|
||||||
group = parser.add_argument_group(__('Structure options'))
|
group = parser.add_argument_group(__('Structure options'))
|
||||||
group.add_argument('--sep', action='store_true', default=None,
|
group.add_argument('--sep', action='store_true', dest='sep', default=None,
|
||||||
help=__('if specified, separate source and build dirs'))
|
help=__('if specified, separate source and build dirs'))
|
||||||
|
group.add_argument('--no-sep', action='store_false', dest='sep',
|
||||||
|
help=__('if specified, create build dir under source dir'))
|
||||||
group.add_argument('--dot', metavar='DOT', default='_',
|
group.add_argument('--dot', metavar='DOT', default='_',
|
||||||
help=__('replacement for dot in _templates etc.'))
|
help=__('replacement for dot in _templates etc.'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user