Skip to content

Commit

Permalink
fix: set docs_dir for mkdocs (#197)
Browse files Browse the repository at this point in the history
* fix: set docs_dir for mkdocs
* chore: improve sed readability
  • Loading branch information
adthrasher authored Dec 20, 2024
1 parent 7f9546d commit 55a5cad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python3 -m pip install wdldoc~=1.7.0
python3 -m pip install mkdocs
- name: Prepare Docs
run: cp README.md assets/index.md && sed -i.bak 's/\.\/assets/\.\//g' assets/index.md
run: cp README.md assets/index.md && sed -i.bak 's#./assets#./#g' assets/index.md
- name: Build Docs
run: |
wdldoc -o assets .
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ theme: readthedocs

markdown_extensions:
- def_list

docs_dir: 'assets'

0 comments on commit 55a5cad

Please sign in to comment.