mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
🔨 Update sphinx makefiles
This commit is contained in:
parent
11706f584d
commit
7e2aea2917
2 changed files with 46 additions and 43 deletions
|
@ -1,12 +1,14 @@
|
||||||
# Minimal makefile for Sphinx documentation
|
# Slightly extended makefile for Sphinx documentation
|
||||||
#
|
|
||||||
|
|
||||||
# You can set these variables from the command line, and also
|
# Sphinx options
|
||||||
# from the environment for the first two.
|
export SPHINXOPTS =
|
||||||
SPHINXOPTS ?=
|
export SPHINXBUILD = "sphinx-build"
|
||||||
SPHINXBUILD ?= sphinx-build
|
export SOURCEDIR = "source"
|
||||||
SOURCEDIR = source
|
export BUILDDIR = "build"
|
||||||
BUILDDIR = build
|
|
||||||
|
# LaTeX builder options
|
||||||
|
export LATEXMKOPTS =
|
||||||
|
export LATEXOPTS = "-interaction=nonstopmode"
|
||||||
|
|
||||||
# Put it first so that "make" without argument is like "make help".
|
# Put it first so that "make" without argument is like "make help".
|
||||||
help:
|
help:
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
|
|
||||||
pushd %~dp0
|
pushd %~dp0
|
||||||
|
|
||||||
REM Command file for Sphinx documentation
|
REM Slightly extended command file for Sphinx documentation
|
||||||
|
|
||||||
if "%SPHINXBUILD%" == "" (
|
set SPHINXOPTS=
|
||||||
set SPHINXBUILD=sphinx-build
|
set SPHINXBUILD=sphinx-build
|
||||||
)
|
|
||||||
set SOURCEDIR=source
|
set SOURCEDIR=source
|
||||||
set BUILDDIR=build
|
set BUILDDIR=build
|
||||||
|
set LATEXMKOPTS=
|
||||||
|
set LATEXOPTS=-interaction=nonstopmode
|
||||||
|
|
||||||
if "%1" == "" goto help
|
if "%1" == "" goto help
|
||||||
|
|
||||||
|
@ -21,7 +22,7 @@ if errorlevel 9009 (
|
||||||
echo.may add the Sphinx directory to PATH.
|
echo.may add the Sphinx directory to PATH.
|
||||||
echo.
|
echo.
|
||||||
echo.If you don't have Sphinx installed, grab it from
|
echo.If you don't have Sphinx installed, grab it from
|
||||||
echo.http://sphinx-doc.org/
|
echo.https://www.sphinx-doc.org/
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue