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
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,12 @@ function make_python_docs() {
echo $SOPT
fi
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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment