Skip to content

Commit c04da6d

Browse files
committed
Merge branch 'main' into fix-testcases
2 parents 9048c00 + 8522093 commit c04da6d

2 files changed

Lines changed: 39 additions & 5 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: mkdocs-deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
- uses: actions/cache@v4
23+
with:
24+
key: mkdocs-material-${{ env.cache_id }}
25+
path: .cache
26+
restore-keys: |
27+
mkdocs-material-
28+
- run: pip install mkdocs-material
29+
- run: pip install mkdocs-autorefs
30+
- run: pip install mkdocs-get-deps
31+
- run: pip install mkdocs-material-extensions
32+
- run: pip install mkdocstrings
33+
- run: pip install mkdocstrings-python
34+
- run: mkdocs gh-deploy --force --verbose

mkdocs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ theme:
4242
palette:
4343
- primary: custom
4444
nav:
45-
- Home: docs/README.md
46-
- Walkthrough: docs/walkthrough.md
47-
- API Reference: docs/api_reference.md
48-
- Publications: docs/publications.md
49-
- Contribute: docs/contribute.md
45+
- Home: README.md
46+
- Walkthrough: walkthrough.md
47+
- API Reference: api_reference.md
48+
- Publications: publications.md
49+
- Contribute: contribute.md
5050

5151
# Define some IBM colors
5252
extra_css:

0 commit comments

Comments
 (0)