diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 719947842..e9b9083fe 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -14,10 +14,10 @@ jobs: with: python-version: 3.x - run: pip install -r requirements.txt - - run: mkdocs build --strict + - run: mkdocs build --verbose --strict - uses: upload-pages-artifact with: - path: public + path: ./public deploy: needs: build diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1d9b8631..69773422d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,7 +57,7 @@ pages: script: - | set -o pipefail - mkdocs build --verbose --strict --site-dir ./public 2>&1 | tee -a /tmp/mkdocs.build.log || { cat /tmp/mkdocs.build.log | grep "WARNING"; exit 1; } + mkdocs build --verbose --strict 2>&1 | tee -a /tmp/mkdocs.build.log || { cat /tmp/mkdocs.build.log | grep "WARNING"; exit 1; } test -f public/index.html && echo "View the generated docs at $CI_ENVIRONMENT_URL" artifacts: expire_in: 3 days diff --git a/mkdocs.yml b/mkdocs.yml index 565372e01..ec7275a3a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -156,6 +156,7 @@ copyright: >- site_url: https://docs.flare.network repo_url: https://github.com/flare-foundation/docs edit_uri: edit/main/docs/ +site_dir: public nav: - Home: - index.md