Add documentation build to build-all.sh

This commit is contained in:
Disassembler 2019-03-19 14:04:13 +01:00
parent 8cc7553acd
commit 95665357f5
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
4 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,10 @@ set -ev
cd $(realpath $(dirname "${0}")) cd $(realpath $(dirname "${0}"))
# Build documentation
cd ../_doc
make html
# Build basic.tar # Build basic.tar
cd ../_vm cd ../_vm
tar cpf /srv/build/_vm.tar * tar cpf /srv/build/_vm.tar *

View File

@ -9,7 +9,7 @@ apk add git file htop less openssh-client openssh-server openssh-sftp-server tar
# Install Alpine SDK # Install Alpine SDK
apk add alpine-sdk apk add alpine-sdk
# Install Sphinx support # Install Sphinx support
apk-add py3-sphinx apk add py3-sphinx
pip3 install recommonmark sphinx-markdown-tables pip3 install recommonmark sphinx-markdown-tables
# Copy root profile files and settings # Copy root profile files and settings

View File

@ -5,7 +5,7 @@
SPHINXOPTS = SPHINXOPTS =
SPHINXBUILD = sphinx-build-3 SPHINXBUILD = sphinx-build-3
SOURCEDIR = . SOURCEDIR = .
BUILDDIR = _build BUILDDIR = /srv/build/doc
# 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

@ -87,7 +87,7 @@ html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] # html_static_path = ['_static']
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.