Skip to content

Commit

Permalink
revert to stb (with new arg)
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Apr 23, 2023
1 parent 1660062 commit 84cea39
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import tempfile
from pathlib import Path
from shlex import split
import tempfile
from textwrap import dedent

import nox
Expand Down Expand Up @@ -79,19 +78,8 @@ 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-autobuild")

with tempfile.TemporaryDirectory() as destination:
session.run(
"sphinx-autobuild",
"--watch=./docs/",
"--port=0",
"--open-browser",
"-b=dirhtml",
"-a",
"docs/",
destination,
)
session.install("sphinx-theme-builder[cli]")
session.run("stb", "serve", "docs", "--open-browser" "--re-ignore=locale")


@nox.session()
Expand Down

0 comments on commit 84cea39

Please sign in to comment.