Files
blackroad-os-docs/CONTRIBUTING.md
copilot-swe-agent[bot] 1845e069e0 Add comprehensive system prompt, style guide, and documentation structure
- Add SYSTEM_PROMPT.md with full documentation philosophy
- Add STYLE_GUIDE.md with detailed writing standards
- Create services/ directory with docs for API, Operator, Core, Web, Prism, Infra
- Create agents/ directory with agent ecosystem documentation
- Create guides/ directory with getting-started and contributing guides
- Create runbooks/ directory with incident playbook and deployment runbooks
- Create reference/ directory with API reference placeholder
- Update sidebars.ts to include all new sections
- Update CONTRIBUTING.md to reference new comprehensive guides
- Update .gitignore to exclude binary assets per system prompt requirements
- All documentation builds successfully with no broken links

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
2025-11-24 16:42:05 +00:00

3.5 KiB

Contributing to BlackRoad OS Docs

This repository is the canonical source of truth for BlackRoad OS documentation. Contributions should help operators, partners, and developers understand the system quickly without sacrificing accuracy.

📚 New to contributing? Check out the comprehensive Contributing Guide and Style Guide for detailed information.

Quick setup

  • Use Node.js 20+ with npm or pnpm installed.
  • Install dependencies once via npm install.
  • Run npm run start for the local docs server at http://localhost:3000.

Writing guidelines

See the Style Guide for comprehensive documentation standards. Quick tips:

  • Write in Markdown using ## for sections and ### for subsections.
  • Prefer relative links like [Agents](../agents/agent-ecosystem.md) so content works in GitHub and static exports.
  • Keep paragraphs short, use bullet lists for steps, and clearly mark components as planned/alpha/in-flight when applicable.
  • Reuse diagrams via Mermaid blocks or ASCII art instead of embedding binary images.

Adding or updating pages

  • Place new documents under the closest matching folder within docs/ (for example, docs/services/ for service documentation, docs/guides/ for how-to guides).
  • Update sidebars.ts when adding new pages so navigation stays in sync.
  • Include concise frontmatter (title, slug, description) and cross-link related pages to reduce duplication.

Document structure

BlackRoad OS docs are organized into clear categories:

  • docs/overview/ - High-level architecture and system overview
  • docs/services/ - Per-service documentation (API, Operator, Core, Web, etc.)
  • docs/agents/ - Agent ecosystem and development
  • docs/guides/ - How-to guides and tutorials
  • docs/runbooks/ - Operational runbooks and procedures
  • docs/reference/ - API reference and technical specs
  • docs/ops/ - Operations and infrastructure
  • docs/infra/ - Infrastructure configuration and deployment
  • docs/dev/ - Developer-focused content
  • docs/meta/ - Documentation about documentation

See the System Prompt for the complete documentation philosophy.

Validation checklist

  • Run npm run build to catch broken links and frontmatter issues before opening a pull request.
  • Use npm run serve to locally review the production build when changing navigation or layout-heavy content.
  • If you encounter stale artifacts, run npm run clean to reset the Docusaurus cache.

Pull request expectations

  • Keep changes scoped and describe the audience and intent in the PR summary.
  • Call out cross-repo impacts (e.g., updates required in blackroad-os-operator or blackroad-os-api).
  • Favor iterative updates over large rewrites so reviewers can ship improvements continuously.

Security

Never commit:

  • Secrets, API keys, or credentials
  • Binary images (PNG, JPEG, etc.) - use Mermaid or ASCII diagrams instead
  • Large files or build artifacts
  • Sensitive personal data

See the Security section of the System Prompt for details.

Resources