mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-26 13:04:20 +00:00
🔨 Update sphinx makefiles
This commit is contained in:
parent
ec7eeb7675
commit
7849cb21a1
2 changed files with 16 additions and 13 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