Skip to content

FIX - nox -s docs-live #1349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 14, 2023
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