Skip to content

Commit e86e0ab

Browse files
authored
kill the docs-live infinite loop (yet again) (#1540)
1 parent 9fc0854 commit e86e0ab

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/examples/pydata.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"import numpy as np\n",
2525
"import pandas as pd\n",
2626
"\n",
27-
"rng = np.random.default_rng()\n",
27+
"rng = np.random.default_rng(seed=15485863)\n",
2828
"data = rng.standard_normal((100, 26))\n",
2929
"df = pd.DataFrame(data, columns=list(string.ascii_lowercase))\n",
3030
"df"

noxfile.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def docs_live(session: nox.Session) -> None:
9191
session.install(
9292
"sphinx-theme-builder[cli]@git+https://github.com/pradyunsg/sphinx-theme-builder#egg=d9f620b"
9393
)
94-
session.run("stb", "serve", "docs", "--open-browser", "--re-ignore=locale|api")
94+
session.run(
95+
"stb", "serve", "docs", "--open-browser", "--re-ignore=locale|api|_build"
96+
)
9597

9698

9799
@nox.session()

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["sphinx-theme-builder @ https://github.com/pradyunsg/sphinx-theme-builder/archive/d9f620b1a73839728c95b596343595d3952ec8bf.zip"]
2+
requires = ["sphinx-theme-builder @ https://github.com/pradyunsg/sphinx-theme-builder/archive/87214d0671c943992c05e3db01dca997e156e8d6.zip"]
33
build-backend = "sphinx_theme_builder"
44

55
[tool.sphinx-theme-builder]

0 commit comments

Comments
 (0)