mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 11:04:21 +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
|
||||
# from the environment for the first two.
|
||||
SPHINXOPTS ?=
|
||||
SPHINXBUILD ?= sphinx-build
|
||||
SOURCEDIR = source
|
||||
BUILDDIR = build
|
||||
# Sphinx options
|
||||
export SPHINXOPTS =
|
||||
export SPHINXBUILD = "sphinx-build"
|
||||
export SOURCEDIR = "source"
|
||||
export BUILDDIR = "build"
|
||||
|
||||
# LaTeX builder options
|
||||
export LATEXMKOPTS =
|
||||
export LATEXOPTS = "-interaction=nonstopmode"
|
||||
|
||||
# Put it first so that "make" without argument is like "make help".
|
||||
help:
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
|
||||
pushd %~dp0
|
||||
|
||||
REM Command file for Sphinx documentation
|
||||
REM Slightly extended command file for Sphinx documentation
|
||||
|
||||
if "%SPHINXBUILD%" == "" (
|
||||
set SPHINXBUILD=sphinx-build
|
||||
)
|
||||
set SPHINXOPTS=
|
||||
set SPHINXBUILD=sphinx-build
|
||||
set SOURCEDIR=source
|
||||
set BUILDDIR=build
|
||||
set LATEXMKOPTS=
|
||||
set LATEXOPTS=-interaction=nonstopmode
|
||||
|
||||
if "%1" == "" goto help
|
||||
|
||||
|
@ -21,7 +22,7 @@ if errorlevel 9009 (
|
|||
echo.may add the Sphinx directory to PATH.
|
||||
echo.
|
||||
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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue