SPHINX-QUICKSTART(1)
β¨ SPHINX-QUICKSTART β¨
okay bestie, so this is sphinx-quickstart β it lives in the Sphinx manual, section 1, and it's literally the cutest little onboarding wizard for your docs π
πΈ NAME πΈ
sphinx-quickstart β the Sphinx documentation template generator π (yes she makes you an entire docs directory, no cap)
π¦ SYNOPSIS π¦
sphinx-quickstart
π DESCRIPTION π
So sphinx-quickstart is an interactive tool, right? It asks you a bunch of questions about your project, and then β slay β it generates a whole complete documentation directory plus a sample Makefile for you to use with sphinx-build(1). It's giving "personal assistant but make it a CLI". π
β¨ OPTIONS β¨
-q,--quietβ Quiet mode, aka skip the whole interactive wizard for specifying options. β οΈ but heads up: this option requires-p,-aand-voptions, so don't come in quiet with nothing to say, she'll be upset.-h,--help,--versionβ shows you the usage summary, or the Sphinx version. iykyk π«Ά
π Structure Options π
--sepβ if you specify this, source and build directories get separated. two households, both alike in dignity.--no-sepβ if you specify this, the build directory gets created under the source directory. cozy nesting vibes πͺΊ--dot=DOTβ inside the root directory, two more directories get created:_templatesfor your custom HTML templates, and_staticfor custom stylesheets and other static files. you can enter another prefix (like.) to replace the underscore. so_β‘οΈ.if that's your thing β¨
π Project Basic Options π
-p PROJECT,--project=PROJECTβ the project name gets set (seeproject).-a AUTHOR,--author=AUTHORβ author names (seecopyright).-v VERSIONβ version of the project (seeversion).-r RELEASE,--release=RELEASEβ release of the project (seerelease).-l LANGUAGE,--language=LANGUAGEβ document language (seelanguage).--suffix=SUFFIXβ source file suffix (seesource_suffix).--master=MASTERβ master document name (seeroot_doc).
π Extension Options π
bestie these are all just "turn on the extension" buttons, no cap:
--ext-autodocβ enable thesphinx.ext.autodocextension.--ext-doctestβ enable thesphinx.ext.doctestextension.--ext-intersphinxβ enable thesphinx.ext.intersphinxextension.--ext-todoβ enable thesphinx.ext.todoextension.--ext-coverageβ enable thesphinx.ext.coverageextension.--ext-imgmathβ enable thesphinx.ext.imgmathextension.--ext-mathjaxβ enable thesphinx.ext.mathjaxextension.--ext-ifconfigβ enable thesphinx.ext.ifconfigextension.--ext-viewcodeβ enable thesphinx.ext.viewcodeextension.--ext-githubpagesβ enable thesphinx.ext.githubpagesextension.--extensions=EXTENSIONSβ enable arbitrary extensions. go wild, main character β¨
π Makefile and Batchfile Creation Options π
--use-make-mode(-m),--no-use-make-mode(-M) β theMakefile/make.batuses (or doesn't use) make-mode. default is use, which generates a more conciseMakefile/make.bat.- Changed in version 1.5: make-mode is default.
- Changed in version 7.3: support for disabling the make-mode will be removed in Sphinx 8.
- Removed in version 8.0: the
--no-use-make-modeoption. the--use-make-modenow has no effect. π rip.
--makefile,--no-makefileβ create (or not create) makefile.--batchfile,--no-batchfileβ create (or not create) batchfile.
π§ Project templating π§
Added in version 1.5: Project templating options for sphinx-quickstart β¨
-t,--templatedir=TEMPLATEDIRβ template directory for template files. you can modify the templates of the sphinx project files that get generated by quickstart. these Jinja2 template files are allowed:root_doc.rst.jinjaconf.py.jinjaMakefile.jinjaMakefile.new.jinjamake.bat.jinjamake.bat.new.jinja
for the details, please refer to the system template files Sphinx provides. (sphinx/templates/quickstart) π«Ά
-d NAME=VALUEβ define a template variable.
π SEE ALSO π
π Copyright π
2007-2026, the Sphinx developers
okay that's the whole page bestie, you ate π version 9.1.0, dated Sep 15, 2026 β now go generate some docs and be iconic. periodt. π
π¦ where this page comes from
- ubuntu stonking: sphinx-common 9.1.0-8 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms