Skip to content

Commit

Permalink
MAINT: fix local live doc build (#1349)
Browse files Browse the repository at this point in the history
Fix nox -s docs-live

Co-authored-by: Tania Allard <tallard@quansight.com>
  • Loading branch information
trallard and Tania Allard authored Jun 14, 2023
1 parent 4babf53 commit 347a592
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ def docs_live(session: nox.Session) -> None:
session.run(*split("pybabel compile -d src/pydata_sphinx_theme/locale -D sphinx"))
if _should_install(session):
session.install("-e", ".[doc]")
session.install("sphinx-theme-builder[cli]")
session.run("stb", "serve", "docs", "--open-browser" "--re-ignore=locale")
# quick hack to get the patched version of stb - need to remove once a stb release is cut
session.install(
"sphinx-theme-builder[cli]@git+https://github.com/pradyunsg/sphinx-theme-builder#egg=d9f620b"
)
session.run("stb", "serve", "docs", "--open-browser", "--re-ignore=locale")


@nox.session()
Expand Down

0 comments on commit 347a592

Please sign in to comment.