Skip to content

Commit

Permalink
docs: fix options page (#1821)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed May 12, 2024
1 parent 711a3d0 commit 63daa02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yml
Expand Up @@ -11,5 +11,5 @@ build:
- asdf install uv latest
- asdf global uv latest
- uv venv
- uv pip install .[docs]
- .venv/bin/python -m mkdocs build --site-dir $READTHEDOCS_OUTPUT/html
- uv pip install -e.[docs]
- . .venv/bin/activate && mkdocs build --strict --verbose --site-dir $READTHEDOCS_OUTPUT/html
2 changes: 2 additions & 0 deletions mkdocs.yml
Expand Up @@ -49,3 +49,5 @@ plugins:
module_name: docs/main
j2_variable_start_string:
j2_variable_end_string:
on_error_fail: true
on_undefined: strict
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -133,7 +133,7 @@ def docs(session: nox.Session) -> None:
Build the docs. Will serve unless --non-interactive
"""
session.install("-e.[docs]")
session.run("mkdocs", "serve" if session.interactive else "build")
session.run("mkdocs", "serve" if session.interactive else "build", "--strict", *session.posargs)


@nox.session
Expand Down

0 comments on commit 63daa02

Please sign in to comment.