Skip to content
Snippets Groups Projects
Commit c4f499b4 authored by Alexis Durgnat's avatar Alexis Durgnat :milky_way:
Browse files

Export doc after building it

parent de466dcc
Branches
No related tags found
No related merge requests found
...@@ -93,7 +93,12 @@ function make_python_docs() { ...@@ -93,7 +93,12 @@ function make_python_docs() {
echo $SOPT echo $SOPT
fi fi
echo -e "${GRN}Running sphinx-build in html mode.${NC}" echo -e "${GRN}Running sphinx-build in html mode.${NC}"
cd $SBOX_PYWR/docs/ && SPHINXOPTS=$SOPT make $MODE cd $SBOX_PYWR/docs/ && \
SPHINXOPTS=$SOPT make $MODE && \
mkdir -p /build/wrapper/docs/ && \
rm -rf /build/wrapper/docs/* && \
cp -r $SBOX_PYWR/docs/_build/$MODE/* /build/wrapper/docs/
echo -e "${YLW}Documentation built : ${GRN}./build/wrapper/docs/index.html${NC}"
} }
function clean_python_doc() { function clean_python_doc() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment