Skip to content

Commit 347a592

Browse files
trallardTania Allard
and
Tania Allard
authored
MAINT: fix local live doc build (#1349)
Fix nox -s docs-live Co-authored-by: Tania Allard <[email protected]>
1 parent 4babf53 commit 347a592

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

noxfile.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ def docs_live(session: nox.Session) -> None:
7878
session.run(*split("pybabel compile -d src/pydata_sphinx_theme/locale -D sphinx"))
7979
if _should_install(session):
8080
session.install("-e", ".[doc]")
81-
session.install("sphinx-theme-builder[cli]")
82-
session.run("stb", "serve", "docs", "--open-browser" "--re-ignore=locale")
81+
# quick hack to get the patched version of stb - need to remove once a stb release is cut
82+
session.install(
83+
"sphinx-theme-builder[cli]@git+https://github.com/pradyunsg/sphinx-theme-builder#egg=d9f620b"
84+
)
85+
session.run("stb", "serve", "docs", "--open-browser", "--re-ignore=locale")
8386

8487

8588
@nox.session()

0 commit comments

Comments
 (0)