Skip to content

Update mkdocs.yml with brightness toggle, search, code copy and Githu… #31

Update mkdocs.yml with brightness toggle, search, code copy and Githu…

Update mkdocs.yml with brightness toggle, search, code copy and Githu… #31

Workflow file for this run

name: ci
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: |
python3 metadata/json2md.py metadata/mscape.json -d 2 >> docs/mscape.md
python3 metadata/json2md.py metadata/pathsafe.json -d 2 >> docs/pathsafe.md
wget https://raw.githubusercontent.com/CLIMB-TRE/onyx-client/master/README.md -O docs/onyx_client_installation_guide.md
# pip install 'onyx @ git+https://github.com/CLIMB-TRE/onyx-client@0b791a8237e0418aa42a2e0f98bac587d7afb95a'
pip install climb-onyx-client
pip install 'varys @ git+https://github.com/CLIMB-TRE/varys@ed2356a9d8de27cee05622710ad2fb23408c1e40'
pip install mkdocs-material
pip install mkdocstrings[python]
pip install mkdocs-with-pdf
- run: mkdocs gh-deploy --force