Skip to content

Commit

Permalink
Add back a docs-live nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Nov 12, 2021
1 parent e302c4d commit c75865a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ def docs(session):
session.run("sphinx-build", "-b", "dirhtml", "-v", "docs/", "build/docs")


@nox.session(name="docs-live", reuse_venv=True)
def docs_live(session):
session.install("-e", ".[doc]", "sphinx-theme-builder[cli]")

# Generate documentation into `build/docs`
session.run("stb", "serve", "docs/")


@nox.session(reuse_venv=True)
def lint(session):
session.install("pre-commit")
Expand Down

0 comments on commit c75865a

Please sign in to comment.