Skip to content

Commit

Permalink
docs: Added strict mode to mkdocs configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BottlecapDave committed Dec 25, 2024
1 parent 91e08a4 commit 3f3a3f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3f3a3f7

Please sign in to comment.