Tasks: Documentation Rework
Input: Design documents from /docs/specs/030-docs-rework/
Prerequisites: plan.md, spec.md, research.md, data-model.md, contracts/editorial-standard.md, contracts/site-navigation.md, quickstart.md
Organization: Tasks are grouped by phase and user story so each perspective can be implemented and verified incrementally.
Format: [ID] [P?] [Story] Description
- [P]: Can run in parallel (different files, no dependencies)
- [Story]: User story label (
[US1]–[US5]) for story phases only - Every task includes exact repository file paths
Phase 1: Setup
Purpose: Ensure documentation build tooling is installed and capture ground-truth CLI, config, and Task defaults before editing pages.
- [x] T001 Install documentation and frontend dependencies via
task docs:install, verify baselinetask docs:checkpasses ondocs/, and record baseline word/line counts (wc -lw) for active pages (README.md,docs/*.md,docs/self-hosting/*.md,docs/development/*.md,docs/architecture/*.md,docs/operations/*.md) - [x] T002 [P] Audit current environment variables, defaults, and runtime constraints in
src/camply/server/config.pyandsrc/camply/db/config.py - [x] T003 [P] Audit current CLI commands, options, and provider behavior in
src/camply/cli/andTaskfile.yaml/tasks/
Phase 2: Foundational (Verification & Editorial Guardrails)
Purpose: Establish shared automated checks in tests/docs/test_docs.py before rewriting content so every phase can validate links, navigation scoping, search rules, and editorial quality incrementally.
CRITICAL: Complete before story phases begin.
- [x] T004 Add reusable helper checks to
tests/docs/test_docs.pyverifying preserved route targets (/docs/,/docs/using-camply,/docs/404.html,/docs/assets/camply.svg), plus parameterized helpers for retired-page links (configuration.md,development.md) and internal GitHub blob links scoped to completed tracks - [x] T005 [P] Add editorial-standard helper assertions to
tests/docs/test_docs.pychecking active rewritten pages (passed as an explicit track list that expands per completed story) for zero emoji-prefixed headings and zero banned filler openers perdocs/specs/030-docs-rework/contracts/editorial-standard.md
Checkpoint: Verification helpers ready in tests/docs/test_docs.py.
Phase 3: User Story 1 - Default Documentation View for Users and Self-Hosters (Priority: P1) 🎯 MVP
Goal: Make the documentation site and repository README default cleanly to User Documentation and Self-Hosting, placing technical and reference tracks behind a secondary navigation menu with scoped sidebars.
Independent Test: Build and preview the docs site (task docs:serve), open / and /using-camply, and confirm only User Documentation and Self-Hosting groups appear in the default sidebar and primary navbar while Technical & Architectural Documentation and Technical Reference sit behind the Technical dropdown.
- [x] T006 [US1] Configure the 4-item navbar (
User Guide,CLI,Self-Hosting,Technicaldropdown), path-scopedthemeConfig.sidebarmap, and initial search exclusions (specs/**,PLAN.md,CHECKLIST.md,development/DESIGN_AGENTIC.md,development/AGENT_TROUBLESHOOTING.md) indocs/.vitepress/config.tsperdocs/specs/030-docs-rework/contracts/site-navigation.md - [x] T007 [P] [US1] Rewrite the landing page in
docs/index.mdkeeping the# Find your next campsiteH1, highlighting User Documentation and Self-Hosting as primary actions, and placing subtle secondary pointers to/technical/and/reference - [x] T008 [P] [US1] Create initial
docs/technical/index.mdhub stub so/technical/resolves cleanly at the MVP checkpoint, and rewriteREADME.mdto mirror the User Documentation and Self-Hosting default focus with concise links tohttps://camply.rocks,docs/index.md,docs/using-camply.md,docs/self-hosting/index.md, and secondary links todocs/technical/index.mdanddocs/reference.md - [x] T009 [US1] Add navigation-scoping assertions to
tests/docs/test_docs.pyverifying the default sidebar indocs/.vitepress/config.tscontains only User Documentation and Self-Hosting entries and does not exposeCHECKLIST,PLAN,DESIGN_AGENTIC,AGENT_TROUBLESHOOTING, orspecs/
Checkpoint: Default landing page, README, and VitePress navigation cleanly prioritize User Documentation and Self-Hosting.
Phase 4: User Story 2 - Clear User Documentation for Web App and CLI (Priority: P1)
Goal: Deliver concise, plainspoken, non-duplicated User Documentation for both the web app and the camply CLI.
Independent Test: Follow docs/using-camply.md and docs/cli.md end-to-end to verify web scan creation, weekday/weekend filtering, Pushover user-key setup, CLI discovery, and CLI availability watching work with zero references to backend internals or spec TODOs.
- [x] T010 [P] [US2] Rewrite
docs/using-camply.md(preserving/docs/using-camply) to cover finding campgrounds, creating/editing scans, weekday/night and minimum-stay rules, Pushover alerts, and first-time admin catalog sync without self-hosting or backend jargon - [x] T011 [P] [US2] Rewrite
docs/cli.mdusing verified CLI flags fromsrc/camply/cli/to cover installation viauv, location discovery, availability watching, night/weekend/stay-length examples, and current CLI limitations in concise, plainspoken prose without spec-deferral jargon
Checkpoint: User Documentation (docs/using-camply.md and docs/cli.md) is self-contained, accurate, and ready for readers.
Phase 5: User Story 3 - Focused Self-Hosting Documentation for Maintainers (Priority: P1)
Goal: Consolidate overlapping hosting and configuration instructions into one clear Self-Hosting track covering deployment choice, standalone, containers/Helm, everyday configuration, and maintenance.
Independent Test: Follow docs/self-hosting/index.md through standalone.md, containers.md, configuration.md, and maintenance.md to confirm every deployment model, auth mode, Pushover app setup, backup/restore step, and security warning is complete without consulting contributor or developer guides.
- [x] T012 [P] [US3] Create
docs/self-hosting/index.mdwith a deployment comparison table (Standalone vs. Docker Compose vs. Kubernetes/Helm) and post-install checklist (initial catalog sync, auth, Pushover) - [x] T013 [P] [US3] Rewrite
docs/self-hosting/standalone.mdfor single-machine Python/SQLite hosting (uvx,uv tool install, prepared wheel,--host/--port, reverse-proxyCAMPLY_APP_URL) using relative site links - [x] T014 [P] [US3] Rewrite
docs/self-hosting/containers.mdfor Docker Compose quickstart/operations and Kubernetes/Helm overview linking todeploy/helm/README.mdand relative Self-Hosting config pages - [x] T015 [US3] Create
docs/self-hosting/configuration.mdconsolidatingdocs/configuration.mdaroundCAMPLY_AUTH_MODE(none,session,auth0), Pushover (PUSHOVER_APP_TOKEN,CAMPLY_NOTIFICATION_MODE,CAMPLY_APP_URL), storage (CAMPLY_DB_HOST), and polling intervals, verified againstsrc/camply/server/config.pyandsrc/camply/db/config.py - [x] T016 [P] [US3] Create
docs/self-hosting/maintenance.mdcovering SQLite/PostgreSQL backups and restores, schema upgrades, health checks, and common maintainer troubleshooting - [x] T017 [US3] Remove retired
docs/configuration.mdafter updating all inbound links acrossdocs/andREADME.mdtodocs/self-hosting/configuration.md
Checkpoint: All five Self-Hosting pages are complete, deduplicated, and verified against tests/docs/test_docs.py.
Phase 6: User Story 4 - Scoped Technical & Architectural Documentation and Technical Reference (Priority: P2)
Goal: Organize and rewrite Technical and Architectural Documentation for contributors, clean up Technical Reference without losing exact technical tables or historical specs, and configure search exclusion/deprioritization for internal artifacts.
Independent Test: Navigate via the Technical navbar dropdown to /technical/ and /reference, verify scoped sidebars switch cleanly per perspective, verify zero overlap between CONTRIBUTING.md and DEVELOPER_GUIDE.md, and confirm search excludes docs/specs/, PLAN.md, CHECKLIST.md, and agent docs.
Track A: Technical and Architectural Documentation
- [x] T018 [P] [US4] Finalize
docs/technical/index.mdsummarizing repository layout (src/camply/,src/frontend/,tasks/,deploy/) and linking to rewritten contributor guides and architecture blueprints - [x] T019 [P] [US4] Rewrite
docs/CONTRIBUTING.mdto focus strictly on PR workflow,.worktrees/, Gitmoji commits/PR titles, and review expectations without duplicating local environment setup - [x] T020 [US4] Consolidate
docs/development.mdintodocs/development/DEVELOPER_GUIDE.md, covering prerequisites, local stack (task install,task compose:infra,task dev), quality gates (task lint,task check,task test), and editing/previewing docs (task docs:serve,task docs:check) - [x] T021 [US4] Remove retired
docs/development.mdafter migrating docs-workflow notes todocs/development/DEVELOPER_GUIDE.mdand updating all inbound links inREADME.md,docs/index.md, anddocs/ - [x] T022 [P] [US4] Rewrite
docs/development/STYLE_GUIDE.mdto remove emoji headings/filler while keeping Python, React/TypeScript, testing/VCR, Gitmoji, and documentation editorial rules aligned withdocs/specs/030-docs-rework/contracts/editorial-standard.md - [x] T023 [P] [US4] Rewrite
docs/architecture/ARCHITECTURE_DEEP_DIVE.mdto present package layer boundaries and the smart de-duplicated polling engine clearly without copied boilerplate - [x] T024 [P] [US4] Rewrite
docs/architecture/DESIGN_DATA.mdto document database models, availability snapshots, and notification outbox design concisely - [x] T025 [P] [US4] Rewrite
docs/architecture/DESIGN_PROVIDERS.mdto explain provider abstractions, catalog sync/enrichment, and pacing/retries cleanly - [x] T026 [P] [US4] Rewrite
docs/architecture/DESIGN_NOTIFICATIONS.mdto document summary vs. direct delivery, coalescing, and Pushover dispatch clearly - [x] T027 [P] [US4] Rewrite
docs/architecture/DESIGN_API.mdto remove emoji headings and cover FastAPI routes, auth flows, health checks, and standalone serving concisely - [x] T028 [P] [US4] Rewrite
docs/architecture/DESIGN_FRONTEND.mdto document React/Vite/MapLibre/TanStack Query architecture and docs-bundle integration concisely
Track B: Technical Reference & Search Hygiene
- [x] T029 [P] [US4] Rewrite
docs/reference.mdas the Technical Reference hub linking cleanly to operations references, specifications catalog, roadmap/plan, checklist, and agent references - [x] T030 [P] [US4] Clean up headings, relative links, and duplicated self-hosting intros in
docs/operations/CONFIGURATION.mdwhile preserving allCAMPLY_*environment-variable tables and defaults - [x] T031 [P] [US4] Clean up headings, relative links, and duplicated standalone quickstarts in
docs/operations/RUNNING.mdwhile preserving package extras, role subcommands, build contracts, and enrichment CLI details - [x] T032 [P] [US4] Clean up headings and relative links in
docs/operations/RELEASES.mdwhile preserving CI/semantic-release/PyPI/Docker/Helm/Pages pipeline accuracy - [x] T033 [P] [US4] Clean up headings and relative links in
docs/development/DESIGN_AGENTIC.md,docs/development/AGENT_TROUBLESHOOTING.md,docs/PLAN.md, anddocs/CHECKLIST.mdso all sit cleanly under Technical Reference with zero broken links - [x] T034 [P] [US4] Verify
docs/specs/index.mdlinks cleanly todocs/specs/030-docs-rework/and existing spec directories without altering historical spec files underdocs/specs/ - [x] T035 [US4] Tune local search document-boost options alongside the
_renderexclusions indocs/.vitepress/config.tsso User/Self-Hosting pages outrankoperations/andarchitecture/ - [x] T036 [US4] Expand
tests/docs/test_docs.pychecks to enforce retired-link, internal-link, and editorial-standard assertions across all active tracks, plus search exclusion/boost configuration indocs/.vitepress/config.ts
Checkpoint: Both secondary tracks (Technical and Architectural Documentation and Technical Reference) have scoped sidebars, clean links, and search-filtered internal artifacts.
Phase 7: User Story 5 - Human-Readable, Low-Noise Writing Style (Priority: P1)
Goal: Audit every rewritten page across User Documentation, Self-Hosting, and active Technical and Architectural Documentation against the "more is less" and anti-AI-slop rules and confirm search behavior prioritizes human guides.
Independent Test: Run automated editorial assertions in tests/docs/test_docs.py, review paragraph lengths and prose reductions across consolidated pages, and test local search queries in task docs:serve.
- [x] T037 [US5] Audit all active Markdown files in
docs/index.md,docs/using-camply.md,docs/cli.md,docs/self-hosting/*.md,docs/technical/index.md,docs/CONTRIBUTING.md,docs/development/{DEVELOPER_GUIDE,STYLE_GUIDE}.md, anddocs/architecture/*.mdagainstdocs/specs/030-docs-rework/contracts/editorial-standard.md(zero emoji headings, zero filler openers, paragraphs <=5 lines, >=30% redundant prose reduction on consolidated guides) - [x] T038 [US5] Verify VitePress local search index output in
build/docs/(viatests/docs/test_docs.pyor search-index inspection) confirms excluded internal artifacts (specs/,PLAN.md,CHECKLIST.md,DESIGN_AGENTIC.md,AGENT_TROUBLESHOOTING.md) are absent from the built search index and queries like"weekends","notifications","standalone", and"login"surface User/Self-Hosting pages first
Checkpoint: Editorial standard and search hygiene verified automatically and by human review.
Phase 8: Polish & Cross-Cutting Concerns
Purpose: Verify cross-repo references, run full docs/frontend/packaging/lint/type checks, and complete quickstart.md validation.
- [x] T039 [P] Verify
AGENTS.mdanddeploy/helm/README.mdrelative/repo links resolve accurately against the updateddocs/file layout - [x] T040 Run
task docs:check,task lint, andtask checkfrom repository root and resolve any failures - [x] T041 Run
task frontend:build,task frontend:test, anduv run pytest tests/test_frontend_build.py tests/packaging/test_frontend_artifacts.pyto confirm bundled/docs/routes (/docs/,/docs/using-camply,/docs/assets/camply.svg,/docs/404.html) pass end-to-end - [x] T042 Execute manual walkthrough in
docs/specs/030-docs-rework/quickstart.mdviatask docs:serveand mark feature completion indocs/CHECKLIST.md
Dependencies & Execution Order
Phase Dependencies
- Phase 1 (Setup): No dependencies — start immediately.
- Phase 2 (Foundational): Depends on Phase 1 — establishes automated test guardrails in
tests/docs/test_docs.py. - Phase 3 (US1 - Default View & Nav): Depends on Phase 2 — sets up
docs/.vitepress/config.ts,docs/index.md, andREADME.md. - Phase 4 (US2 - User Docs): Depends on Phase 1 & Phase 2 (can run in parallel with US1 once
docs/.vitepress/config.tsroutes are settled). - Phase 5 (US3 - Self-Hosting): Depends on Phase 1 & Phase 2 (can run in parallel with US2).
- Phase 6 (US4 - Technical & Architectural + Technical Reference): Depends on Phase 2 and US3 (needs
docs/self-hosting/configuration.mdbeforeoperations/CONFIGURATION.mdandREADME.mdcross-link cleanup; Track A and Track B tasks marked[P]run in parallel). - Phase 7 (US5 - Editorial Audit & Search Verification): Depends on Phases 3–6 so all rewritten pages and search config are audited together.
- Phase 8 (Polish & Verification): Depends on Phase 7.
User Story Dependencies
- US1 (P1): MVP foundation for the documentation site's default two-perspective presentation.
- US2 (P1) and US3 (P1): Independent of each other; both rely on US1 navigation routes and Phase 1 ground-truth audit.
- US4 (P2): Independent from US2; coordinates link updates after US3 retires
docs/configuration.md. - US5 (P1): Cross-cutting editorial and search-hygiene verification across US1–US4 outputs.
Parallel Opportunities
- Setup:
T002andT003run in parallel afterT001(or alongside it). - US1:
T007(docs/index.md) andT008(README.md) run in parallel. - US2:
T010(docs/using-camply.md) andT011(docs/cli.md) run in parallel. - US3:
T012,T013,T014,T016run in parallel;T015runs alongside them beforeT017deletesdocs/configuration.md. - US4:
T018,T019,T022–T028, andT029–T034touch separate files and can run in parallel batches.
Parallel Example: User Story 3 (Self-Hosting)
# Rewrite independent Self-Hosting guides in parallel:
Task: "Create docs/self-hosting/index.md"
Task: "Rewrite docs/self-hosting/standalone.md"
Task: "Rewrite docs/self-hosting/containers.md"
Task: "Create docs/self-hosting/configuration.md"
Task: "Create docs/self-hosting/maintenance.md"Implementation Strategy
MVP First (User Story 1 + User Story 2 + User Story 3)
- Complete Phase 1 (Setup) and Phase 2 (Foundational guardrails).
- Complete Phase 3 (US1 — Default View, Navbar, Scoped Sidebars, README).
- Complete Phase 4 (US2 — User Documentation) and Phase 5 (US3 — Self-Hosting).
- STOP and VALIDATE: Run
task docs:checkand preview viatask docs:serveto confirm the default two-perspective user/self-hoster experience works cleanly end-to-end.
Full Delivery
- Complete Phase 6 (US4 — Technical & Architectural Documentation, Technical Reference cleanup, and search filtering).
- Complete Phase 7 (US5 — Editorial & Search Audit across all active pages).
- Complete Phase 8 (Cross-repo links, frontend/packaging verification, and
docs/CHECKLIST.mdupdate).
Phase 9: Convergence
- [x] T043 Update stale environment variable and path references (
REDIS_URL→CAMPLY_VALKEY_URL,DATABASE_URL→CAMPLY_DB_*,task frontend:codegen→task api:generate,frontend→src/frontend,backend-api/redis/postgres→backend/valkey/db,scripts/run-snapshots.ts→src/frontend/tooling/run-snapshots.ts) indocs/development/AGENT_TROUBLESHOOTING.mdanddocs/development/DESIGN_AGENTIC.mdper FR-008 - [x] T044 Switch VitePress sidebar to the unified collapsible 4-section layout, add client-side Mermaid rendering (
MermaidDiagram.vue,mermaid, CSS overflow & race fixes), move licensing todocs/license.md, configureboostDocumentsearch ranking, and align editorial/technical accuracy fixes per follow-up review