diff --git a/packages/api-server/scripts/extract_docs.py b/packages/api-server/scripts/extract_docs.py index bf02a33e3..00f1c0224 100644 --- a/packages/api-server/scripts/extract_docs.py +++ b/packages/api-server/scripts/extract_docs.py @@ -34,7 +34,7 @@ def cleanup(): outdir = f"{args.output}" os.makedirs(outdir, exist_ok=True) -base_url = "http://localhost:8000/rmf-web" +base_url = "http://localhost:8000" with urlopen(f"{base_url}/docs") as resp: html: bytes = resp.read() with open(f"{outdir}/index.html", "bw") as f: