Skip to content

Commit

Permalink
Revert "Create mkDocs at project root to harmonize ARLAS doc"
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliGautier authored Dec 9, 2024
1 parent 0e84f6d commit 80cff97
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
10 changes: 0 additions & 10 deletions mkDocs.sh

This file was deleted.

7 changes: 7 additions & 0 deletions scripts/mkdocs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

python3.10 docs/inject_commands.py docs/docs/*.template

pip3.10 install mkdocs-material termynal
mkdocs build -f docs/mkdocs.yml -d ../target/docs
11 changes: 8 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ python3.10 -m arlas.cli.cli --config-file /tmp/arlas-cli-release.conf --version
cp /tmp/arlas-cli-release.conf ./configuration.yaml
git add configuration.yaml

# Generate and publish documentation
./mkDocs.sh
pip3.10 install mkdocs-material termynal
# Model
export PYTHONPATH=`pwd`
python3.10 -m arlas.cli.settings > docs/docs/model/model.schema.json
jsonschema2md -d docs/docs/model/ -o docs/docs/model/
rm -r out
git add docs/docs/model

./scripts/mkdocs.sh
mkdocs gh-deploy -f docs/mkdocs.yml

git add version.txt
Expand Down

0 comments on commit 80cff97

Please sign in to comment.