1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

🔨 Update sphinx makefiles

This commit is contained in:
Steffo 2022-03-02 16:31:03 +01:00
parent d36945208b
commit a07fd1432e
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 46 additions and 43 deletions

View file

@ -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:

View file

@ -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
) )