@ECHO OFFREM Command file for Sphinx documentationif "%SPHINXBUILD%" == "" (set SPHINXBUILD=sphinx-build)set BUILDDIR=buildset ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% sourceset I18NSPHINXOPTS=%SPHINXOPTS% sourceif NOT "%PAPER%" == "" (set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%)if "%1" == "" goto helpif "%1" == "help" (:helpecho.Please use `make ^<target^>` where ^<target^> is one ofecho. html to make standalone HTML filesecho. dirhtml to make HTML files named index.html in directoriesecho. singlehtml to make a single large HTML fileecho. pickle to make pickle filesecho. json to make JSON filesecho. htmlhelp to make HTML files and a HTML help projectecho. qthelp to make HTML files and a qthelp projectecho. devhelp to make HTML files and a Devhelp projectecho. epub to make an epubecho. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letterecho. text to make text filesecho. man to make manual pagesecho. texinfo to make Texinfo filesecho. gettext to make PO message catalogsecho. changes to make an overview over all changed/added/deprecated itemsecho. xml to make Docutils-native XML filesecho. pseudoxml to make pseudoxml-XML files for display purposesecho. linkcheck to check all external links for integrityecho. doctest to run all doctests embedded in the documentation if enabledgoto end)if "%1" == "clean" (for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%idel /q /s %BUILDDIR%\*goto end)%SPHINXBUILD% 2> nulif errorlevel 9009 (echo.echo.The 'sphinx-build' command was not found. Make sure you have Sphinxecho.installed, then set the SPHINXBUILD environment variable to pointecho.to the full path of the 'sphinx-build' executable. Alternatively youecho.may add the Sphinx directory to PATH.echo.echo.If you don't have Sphinx installed, grab it fromecho.http://sphinx-doc.org/exit /b 1)if "%1" == "html" (%SPHINXBUILD% -b html %ALLSPHINXOPTS%%BUILDDIR%/htmlif errorlevel 1 exit /b 1echo.echo.Build finished. The HTML pages are in %BUILDDIR%/html.goto end)if "%1" == "dirhtml" (%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS%%BUILDDIR%/dirhtmlif errorlevel 1 exit /b 1echo.echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.goto end)if "%1" == "singlehtml" (%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS%%BUILDDIR%/singlehtmlif errorlevel 1 exit /b 1echo.echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.goto end)if "%1" == "pickle" (%SPHINXBUILD% -b pickle %ALLSPHINXOPTS%%BUILDDIR%/pickleif errorlevel 1 exit /b 1echo.echo.Build finished; now you can process the pickle files.goto end)if "%1" == "json" (%SPHINXBUILD% -b json %ALLSPHINXOPTS%%BUILDDIR%/jsonif errorlevel 1 exit /b 1echo.echo.Build finished; now you can process the JSON files.goto end)if "%1" == "htmlhelp" (%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS%%BUILDDIR%/htmlhelpif errorlevel 1 exit /b 1echo.echo.Build finished; now you can run HTML Help Workshop with the ^.hhp project file in %BUILDDIR%/htmlhelp.goto end)if "%1" == "qthelp" (%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS%%BUILDDIR%/qthelpif errorlevel 1 exit /b 1echo.echo.Build finished; now you can run "qcollectiongenerator" with the ^.qhcp project file in %BUILDDIR%/qthelp, like this:echo.^> qcollectiongenerator %BUILDDIR%\qthelp\python3-cookbook.qhcpecho.To view the help file:echo.^> assistant -collectionFile %BUILDDIR%\qthelp\python3-cookbook.ghcgoto end)if "%1" == "devhelp" (%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS%%BUILDDIR%/devhelpif errorlevel 1 exit /b 1echo.echo.Build finished.goto end)if "%1" == "epub" (%SPHINXBUILD% -b epub %ALLSPHINXOPTS%%BUILDDIR%/epubif errorlevel 1 exit /b 1echo.echo.Build finished. The epub file is in %BUILDDIR%/epub.goto end)if "%1" == "latex" (%SPHINXBUILD% -b latex %ALLSPHINXOPTS%%BUILDDIR%/latexif errorlevel 1 exit /b 1echo.echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.goto end)if "%1" == "latexpdf" (%SPHINXBUILD% -b latex %ALLSPHINXOPTS%%BUILDDIR%/latexcd %BUILDDIR%/latexmake all-pdfcd %BUILDDIR%/..echo.echo.Build finished; the PDF files are in %BUILDDIR%/latex.goto end)if "%1" == "latexpdfja" (%SPHINXBUILD% -b latex %ALLSPHINXOPTS%%BUILDDIR%/latexcd %BUILDDIR%/latexmake all-pdf-jacd %BUILDDIR%/..echo.echo.Build finished; the PDF files are in %BUILDDIR%/latex.goto end)if "%1" == "text" (%SPHINXBUILD% -b text %ALLSPHINXOPTS%%BUILDDIR%/textif errorlevel 1 exit /b 1echo.echo.Build finished. The text files are in %BUILDDIR%/text.goto end)if "%1" == "man" (%SPHINXBUILD% -b man %ALLSPHINXOPTS%%BUILDDIR%/manif errorlevel 1 exit /b 1echo.echo.Build finished. The manual pages are in %BUILDDIR%/man.goto end)if "%1" == "texinfo" (%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS%%BUILDDIR%/texinfoif errorlevel 1 exit /b 1echo.echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.goto end)if "%1" == "gettext" (%SPHINXBUILD% -b gettext %I18NSPHINXOPTS%%BUILDDIR%/localeif errorlevel 1 exit /b 1echo.echo.Build finished. The message catalogs are in %BUILDDIR%/locale.goto end)if "%1" == "changes" (%SPHINXBUILD% -b changes %ALLSPHINXOPTS%%BUILDDIR%/changesif errorlevel 1 exit /b 1echo.echo.The overview file is in %BUILDDIR%/changes.goto end)if "%1" == "linkcheck" (%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS%%BUILDDIR%/linkcheckif errorlevel 1 exit /b 1echo.echo.Link check complete; look for any errors in the above output ^or in %BUILDDIR%/linkcheck/output.txt.goto end)if "%1" == "doctest" (%SPHINXBUILD% -b doctest %ALLSPHINXOPTS%%BUILDDIR%/doctestif errorlevel 1 exit /b 1echo.echo.Testing of doctests in the sources finished, look at the ^results in %BUILDDIR%/doctest/output.txt.goto end)if "%1" == "xml" (%SPHINXBUILD% -b xml %ALLSPHINXOPTS%%BUILDDIR%/xmlif errorlevel 1 exit /b 1echo.echo.Build finished. The XML files are in %BUILDDIR%/xml.goto end)if "%1" == "pseudoxml" (%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS%%BUILDDIR%/pseudoxmlif errorlevel 1 exit /b 1echo.echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.goto end):end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。