Skip to content

Commit

Permalink
fix(docs): pin things due to the mkdocs pin (#1181)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jul 18, 2022
1 parent 7c922f9 commit 61821a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion noxfile.py
Expand Up @@ -92,12 +92,13 @@ def update_proj(session: nox.Session) -> None:
)


@nox.session
@nox.session(python="3.9")
def docs(session: nox.Session) -> None:
"""
Build the docs.
"""
session.install("-e", ".[docs]")
session.run("pip", "list")

if session.posargs:
if "serve" in session.posargs:
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -3,10 +3,11 @@
extras = {
"docs": [
"mkdocs-include-markdown-plugin==2.8.0",
"mkdocs==1.0.4",
"mkdocs==1.0.4", # Doesn't support Python 3.10+
"jinja2==3.0.3",
"pymdown-extensions",
"mkdocs-macros-plugin",
"markdown<3.4", # Breaks mkdocs 1.0.4
],
"test": [
"jinja2",
Expand Down

0 comments on commit 61821a8

Please sign in to comment.