Skip to content

Commit

Permalink
chore: Updated docs to fail if links are invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
BottlecapDave committed Dec 26, 2024
1 parent 3f3a3f7 commit 06bd74a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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 Expand Up @@ -72,4 +71,17 @@ theme:
primary: light blue
toggle:
icon: material/brightness-4
name: Switch to light mode
name: Switch to light mode

strict: true

validation:
nav:
omitted_files: warn
not_found: warn
absolute_links: warn
links:
not_found: warn
anchors: warn
absolute_links: warn
unrecognized_links: warn
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs-material==9.5.27
mkdocs-material==9.5.49
mike==2.0.0
# mkdocs-git-committers-plugin-2==2.3.0
mkdocs-git-authors-plugin==0.9.0

0 comments on commit 06bd74a

Please sign in to comment.