Skip to content

Commit

Permalink
Remove sphinx session
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Jan 20, 2024
1 parent f6152a7 commit b9e1399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pipelines/mkdocs.nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"""Website pages generation."""
from pipelines import nox


@nox.session()
def mkdocs(session: nox.Session):
"""Generate docs using mkdocs."""
Expand All @@ -32,6 +33,7 @@ def mkdocs(session: nox.Session):

session.run("mkdocs", "build")


@nox.session()
def view_docs(session: nox.Session):
"""Start an HTTP server that serves the generated docs in real time."""
Expand All @@ -41,4 +43,3 @@ def view_docs(session: nox.Session):
session.install("-e", ".", *nox.dev_requirements("mkdocs"))

session.run("mkdocs", "serve")

2 changes: 1 addition & 1 deletion scripts/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
with open("docs/reference_index.md", "r") as index:
fd.write(index.read())

mkdocs_gen_files.set_edit_path("reference/index.md", "docs/reference_index.md")
mkdocs_gen_files.set_edit_path("reference/index.md", "docs/reference_index.md")


for path in sorted(src.rglob("*.py")):
Expand Down

0 comments on commit b9e1399

Please sign in to comment.