docs(ci): prepare deployment to cloudflare
Some checks failed
Deploy Sphinx Docs / build-and-deploy (push) Has been cancelled
Some checks failed
Deploy Sphinx Docs / build-and-deploy (push) Has been cancelled
This commit is contained in:
11
docs/build_docs.sh
Executable file
11
docs/build_docs.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
LANG_CODE=$1
|
||||
|
||||
if [ -n "$LANG_CODE" ]; then
|
||||
echo "Building docs for language: $LANG_CODE..."
|
||||
sphinx-build -b html source/ "build/html_$LANG_CODE/" -D language="$LANG_CODE"
|
||||
else
|
||||
echo "Building docs in English (en_US)..."
|
||||
sphinx-build -b html source build/html
|
||||
fi
|
||||
Reference in New Issue
Block a user