diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bc537e82..d25e456e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,7 +34,7 @@ jobs: restore-keys: | mkdocs-material- - run: pip install -r requirements.txt - - run: mkdocs build --strict + - run: mkdocs build deploy_docs: if: ${{ github.repository_owner == 'BottlecapDave' && (github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main') }} diff --git a/mkdocs.yml b/mkdocs.yml index d5d234a4..14c1268c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,7 @@ site_name: Home Assistant Octopus Energy repo_url: https://github.com/bottlecapdave/homeassistant-octopusenergy docs_dir: _docs +strict: true nav: - Home: index.md