mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
parent
c5641702b5
commit
219d71315c
@ -138,7 +138,7 @@ Options
|
||||
the build directory; with this option you can select a different cache
|
||||
directory (the doctrees can be shared between all builders).
|
||||
|
||||
.. option:: -j N
|
||||
.. option:: -j N, --jobs N
|
||||
|
||||
Distribute the build over *N* processes in parallel, to make building on
|
||||
multiprocessor machines more effective. Note that not all parts and not all
|
||||
@ -151,6 +151,9 @@ Options
|
||||
.. versionchanged:: 1.7
|
||||
Support ``auto`` argument.
|
||||
|
||||
.. versionchanged:: 6.2
|
||||
Add ``--jobs`` long option.
|
||||
|
||||
.. option:: -c path
|
||||
|
||||
Don't look for the :file:`conf.py` in the source directory, but use the given
|
||||
|
@ -142,7 +142,8 @@ files can be built by specifying individual filenames.
|
||||
group.add_argument('-d', metavar='PATH', dest='doctreedir',
|
||||
help=__('path for the cached environment and doctree '
|
||||
'files (default: OUTPUTDIR/.doctrees)'))
|
||||
group.add_argument('-j', metavar='N', default=1, type=jobs_argument, dest='jobs',
|
||||
group.add_argument('-j', '--jobs', metavar='N', default=1, type=jobs_argument,
|
||||
dest='jobs',
|
||||
help=__('build in parallel with N processes where '
|
||||
'possible (special value "auto" will set N to cpu-count)'))
|
||||
group = parser.add_argument_group('build configuration options')
|
||||
|
Loading…
Reference in New Issue
Block a user