diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index 5fb1052..a119085 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -45,8 +45,8 @@ jobs: if: github.event.action != 'closed' with: docs-folder: "docs/" - pre-build-command: "sphinx-build -b linkcheck . _build" - build-command: "sphinx-build -b dirhtml . _build" + pre-build-command: "sphinx-build -W -b linkcheck . _build" + build-command: "sphinx-build -W -b dirhtml . _build" - name: Deploy preview uses: rossjrw/pr-preview-action@v1 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9da33c1..51f5458 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,8 +36,8 @@ jobs: uses: ammaraskar/sphinx-action@8.0.2 with: docs-folder: "docs/" - pre-build-command: "sphinx-build -b linkcheck . _build" - build-command: "sphinx-build -b dirhtml . _build" + pre-build-command: "sphinx-build -W -b linkcheck . _build" + build-command: "sphinx-build -W -b dirhtml . _build" - name: Deploy main docs uses: JamesIves/github-pages-deploy-action@v4 diff --git a/docs/conf.py b/docs/conf.py index 0ebd864..b40b40c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "furo" -html_static_path = ["_static"] +html_static_path: list[str] = [] pygments_style = "sphinx" pygments_dark_style = "monokai"