Skip to content

Commit

Permalink
Update MkDocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed May 14, 2024
1 parent b507736 commit bfa1599
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🧰 Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip" # caching pip dependencies
Expand All @@ -34,11 +34,17 @@ jobs:
chmod: 0755

- name: Check Rzk files for each language
run:
run: |
for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk typecheck; popd ;
done
- name: Check Rzk formatting for each language
run: |
for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk format --check; popd ;
done
- name: 🔨 Install MkDocs Material and mike
run: pip install -r docs/requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion docs/config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repo_name: rzk-lang/rzk

theme:
name: material
custom_dir: '../../overrides/'
custom_dir: "../../overrides/"
favicon: assets/images/favicon.png
logo: assets/images/logo-1000x1000.png
icon:
Expand Down

0 comments on commit bfa1599

Please sign in to comment.