Add documentation build to build-all.sh
This commit is contained in:
parent
8cc7553acd
commit
95665357f5
@ -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 *
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user