MCPcopy Index your code
hub / github.com/reactive-python/reactpy / test_docs

Function test_docs

tasks.py:150–165  ·  view source on GitHub ↗
(context: Context)

Source from the content-addressed store, hash-verified

148
149@task(pre=[env_py])
150def test_docs(context: Context):
151 with context.cd(DOCS_DIR):
152 context.run("poetry install")
153 context.run(
154 "poetry run sphinx-build "
155 "-a " # re-write all output files
156 "-T " # show full tracebacks
157 "-W " # turn warnings into errors
158 "--keep-going " # complete the build, but still report warnings as errors
159 "-b doctest "
160 "source "
161 "build",
162 )
163 context.run("poetry run sphinx-build -b doctest source build")
164
165 context.run("docker build . --file ./docs/Dockerfile")
166
167
168@task

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected