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

Function _live_docs

tasks.py:184–203  ·  view source on GitHub ↗
(context: Context)

Source from the content-addressed store, hash-verified

182
183
184def _live_docs(context: Context) -> None:
185 with context.cd(DOCS_DIR):
186 context.run("poetry install")
187 context.run(
188 "poetry run python main.py "
189 "--open-browser "
190 # watch python source too
191 "--watch=../src/py "
192 # for some reason this matches absolute paths
193 "--ignore=**/_auto/* "
194 "--ignore=**/_static/custom.js "
195 "--ignore=**/node_modules/* "
196 "--ignore=**/package-lock.json "
197 "-a "
198 "-E "
199 "-b "
200 "html "
201 "source "
202 "build"
203 )
204
205
206@task

Callers 1

docsFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected