Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Definitive fix: Set docs_dir and site_dir explicitly in mkdocs.yml [skip ci]

Murtaza Nasirf8d4dd75809b
diff --git a/.github/workflows/docs1.yml b/.github/workflows/docs1.yml
index b6302c1e..9c9d1630 100644
--- a/.github/workflows/docs1.yml
+++ b/.github/workflows/docs1.yml
@@ -43,7 +43,7 @@ jobs:
if [ "${{ github.repository }}" != "murtaza-nasir/speakr" ]; then
sed -i "s|site_url:.*|site_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}|" mkdocs.yml
fi
- mkdocs build --strict --site-dir ../_site
+ mkdocs build --strict
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index a7238d98..ebbf490d 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -4,6 +4,8 @@ site_url: https://speakr.yourdomain.com
repo_url: https://github.com/murtaza-nasir/speakr
repo_name: speakr
edit_uri: edit/main/docs/
+docs_dir: .
+site_dir: ../_site
theme:
name: material