Skip to content

Wiki Publishing

Your GitHub Name edited this page May 23, 2026 · 4 revisions

Wiki publishing workflow

PromptPilot can publish selected docs to the GitHub Wiki using:

scripts/publish_wiki.sh

What it does

  • Derives the wiki remote from origin (or uses --remote / WIKI_REMOTE_URL)
  • Clones (or updates) the wiki repo (*.wiki.git)
  • Copies curated docs into wiki pages
  • Writes a minimal _Sidebar.md
  • Commits and pushes wiki changes only when there is a diff

Current page mapping

  • docs/README.mdHome.md
  • docs/PROJECT_OVERVIEW.mdProject-Overview.md
  • QUICKSTART.mdQuickstart.md
  • docs/AUTHENTICATION_AND_PROVIDERS.mdAuthentication-and-Providers.md
  • docs/HYBRID_MODE.mdHybrid-Mode.md
  • docs/TOOL_OUTPUT_COMPRESSION.mdTool-Output-Compression.md
  • docs/TROUBLESHOOTING.mdTroubleshooting.md
  • docs/ARCHITECTURE.mdArchitecture.md
  • docs/SLM_HARNESS.mdSLM-Harness.md
  • docs/ROUTES_AND_DECISIONS.mdRoutes-and-Decisions.md
  • docs/SESSION_MEMORY.mdSession-Memory.md
  • docs/SEMANTIC_PRESERVATION.mdSemantic-Preservation.md
  • docs/SAFETY_MODEL.mdSafety-Model.md
  • docs/TELEMETRY_AND_REPLAY.mdTelemetry-and-Replay.md
  • docs/BENCHMARKS.mdBenchmarks.md
  • docs/COMPARISON.mdComparison.md
  • docs/FAQ.mdFAQ.md
  • docs/ROADMAP.mdRoadmap.md
  • docs/WIKI_WORKFLOW.mdWiki-Publishing.md

Usage

# Normal publish
scripts/publish_wiki.sh

# Preview only (no commit/push)
scripts/publish_wiki.sh --dry-run

# Explicit remote override
scripts/publish_wiki.sh --remote git@github.com:steyangdot/PromptPilot.wiki.git

Notes

  • The wiki is a separate git repository from the main code repo.
  • You must have push access to <repo>.wiki.git for publish to succeed.
  • Treat the markdown files in this repository as the source of truth.
  • Avoid editing the temporary wiki clone directly unless you are intentionally recovering a failed publish.
  • Extend both this mapping and scripts/publish_wiki.sh when adding a new wiki page.

Clone this wiki locally