[docs] clean up latex leaking into docs site
This commit is contained in:
parent
40efe7a450
commit
dc92d4a79d
4 changed files with 104 additions and 2 deletions
10
make_docs.sh
10
make_docs.sh
|
|
@ -5,7 +5,15 @@ set -Eeuo pipefail
|
|||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
mkdocs build --clean
|
||||
DOCS_TMP="$(mktemp -d)"
|
||||
cleanup() {
|
||||
rm -rf "$DOCS_TMP"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
python3 "$ROOT/scripts/prepare_docs_sources.py" "$ROOT/meanas" "$DOCS_TMP"
|
||||
|
||||
MKDOCSTRINGS_PYTHON_PATH="$DOCS_TMP" mkdocs build --clean
|
||||
|
||||
PRINT_PAGE='site/print_page/index.html'
|
||||
if [[ -f "$PRINT_PAGE" ]] && command -v htmlark >/dev/null 2>&1; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue