MCPcopy
hub / github.com/urllib3/urllib3 / docs

Function docs

noxfile.py:343–362  ·  view source on GitHub ↗
(session: nox.Session)

Source from the content-addressed store, hash-verified

341
342@nox.session
343def docs(session: nox.Session) -> None:
344 session.env["UV_PROJECT_ENVIRONMENT"] = session.virtualenv.location
345 session.run_install(
346 "uv",
347 "sync",
348 "--frozen",
349 "--group",
350 "docs",
351 "--extra",
352 "socks",
353 "--extra",
354 "brotli",
355 "--extra",
356 "zstd",
357 )
358
359 session.chdir("docs")
360 if os.path.exists("_build"):
361 shutil.rmtree("_build")
362 session.run("sphinx-build", "-b", "html", "-W", ".", "_build/html")

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected