MCPcopy
hub / github.com/sphinx-doc/sphinx / build

Function build

utils/generate_js_fixtures.py:17–26  ·  view source on GitHub ↗
(srcdir: Path)

Source from the content-addressed store, hash-verified

15
16
17def build(srcdir: Path) -> None:
18 cmd = (
19 'sphinx-build',
20 '--fresh-env',
21 '--quiet',
22 *('--builder', 'html'),
23 f'{srcdir}',
24 f'{srcdir}/_build',
25 )
26 subprocess.run(cmd, check=True, capture_output=True)
27
28
29for directory in TEST_JS_ROOTS:

Callers 1

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…