- 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>
3.6 KiB
id, title, slug, description, tags, status
| id | title | slug | description | tags | status | |||
|---|---|---|---|---|---|---|---|---|
| meta-docs-contributing | Docs Contributing Guide | /meta/docs-contributing | Specific guide for contributing to BlackRoad OS documentation |
|
stable |
Docs Contributing Guide
📚 This is the detailed contributing guide specifically for the
blackroad-os-docsrepository.
For general contribution guidelines across all BlackRoad OS repositories, see the main Contributing Guide.
Documentation Structure
See the System Prompt for the complete philosophy and structure of BlackRoad OS documentation.
Quick Reference
Adding New Documentation
-
Choose the right location:
docs/overview/- Architecture and high-level conceptsdocs/services/- Service-specific documentationdocs/agents/- Agent ecosystemdocs/guides/- How-to guidesdocs/runbooks/- Operational proceduresdocs/reference/- API and technical referencedocs/ops/- Operations documentationdocs/meta/- Documentation about documentation
-
Create the file:
# Use kebab-case for filenames touch docs/guides/my-new-guide.md -
Add frontmatter:
--- id: guides-my-new-guide title: "My New Guide" slug: /guides/my-new-guide description: "Brief description" tags: ["guides", "topic"] status: stable # or alpha, planned, deprecated --- -
Update sidebar: Edit
sidebars.tsto add your new page to navigation. -
Build and verify:
npm run build
Writing Standards
Follow the Style Guide for:
- Markdown conventions
- Heading hierarchy
- Code block formatting
- Link formatting
- Diagram creation
What NOT to Commit
Never commit:
- Binary images (PNG, JPEG, GIF, etc.)
- Secrets or credentials
- Large files
- Build artifacts
- IDE-specific files
See .gitignore for the complete list.
Testing Documentation Changes
Local Development
npm run start
# Visit http://localhost:3000
Production Build
npm run build
npm run serve
# Visit http://localhost:3000
Check for Broken Links
The build process will fail if there are broken links. Fix them before submitting.
Pull Request Process
- Create a feature branch
- Make your documentation changes
- Test locally with
npm run build - Update sidebar if adding new pages
- Create PR with clear description
- Request review
Documentation Types
Refer to the Style Guide for templates and conventions for:
- Architecture Docs
- Service Docs
- Runbooks
- How-To Guides
- Reference Docs
Cross-Linking
Use relative links for internal documentation:
See [Service API](../services/service-api.md)
See [Agent Ecosystem](../agents/agent-ecosystem.md)
Marking Planned Content
For planned but not yet written content:
> 📋 **Status:** This document is planned and will be developed.
Or mark links as planned:
See [Future Guide](./future-guide.md) _(planned)_
Questions?
- Check the System Prompt
- Review the Style Guide
- Look at existing docs for examples
- Open an issue for clarification
See Also
- System Prompt - Documentation philosophy
- Style Guide - Writing standards
- Contributing Guide - General contribution guide
- CONTRIBUTING.md - Quick reference in root