{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "perplexityai-space--build-spitfire-docs-locally",
 "repo": "perplexityai/SPACE",
 "repo_url": "https://github.com/perplexityai/SPACE",
 "repo_slug": "perplexityai-space",
 "title": "Build the SPACE guide and API docs on your machine",
 "page_title": "How to build the SPACE guide and API docs on your machine with SPACE",
 "summary": "Build the mdBook guide and API reference locally and browse them in a browser.",
 "who": "A developer or operator who wants offline access to the SPACE guide and API reference, or who is editing the docs.",
 "problem": "The hosted docs show the published version, not the local checkout you are working from.",
 "outcome": "You get a local documentation site that combines the guide and API reference from your current checkout.",
 "steps": [
  "Install mdBook 0.4.52 and the API build prerequisites listed in the README.",
  "From a clean checkout, run `bash scripts/build-docs.sh`.",
  "Run `python3 -m http.server 8000 --bind 127.0.0.1 --directory target/docs/site`.",
  "Open http://127.0.0.1:8000 in a browser to view the combined site. (inferred, check the README)"
 ],
 "agent_prompt": "In the perplexityai/SPACE checkout, install mdBook 0.4.52, run `bash scripts/build-docs.sh`, then serve target/docs/site on 127.0.0.1 port 8000. Report the build result, and verify that the page at http://127.0.0.1:8000 loads.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The build needs mdBook 0.4.52, Git, and Python 3.11+ installed before the script will run.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A host that meets the prerequisites in docs/installation.md",
  "Docker-compatible local setup for a Kind cluster, as described in docs/installation.md",
  "Bash for installation and cluster diagnostics",
  "Git and Python 3.11+ and mdBook 0.4.52 only if you build the docs locally"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/perplexityai-space/build-spitfire-docs-locally/",
 "md": "https://dedupedai.com/use-cases/perplexityai-space/build-spitfire-docs-locally/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/perplexityai-space--build-spitfire-docs-locally.json",
 "api_version": "v1"
}
