Welcome to the comprehensive technical documentation for the CircleCI Docs Static Site project. This documentation is designed to help developers, content authors, and contributors understand the project's architecture, workflow, and best practices.
The CircleCI Docs Static Site is a documentation platform built using Antora, a static site generator designed for multi-repository documentation. This project combines:
- Component-based architecture: Organized documentation into logical sections
- AsciiDoc content: Powerful markup language for technical documentation
- Custom UI: Tailored presentation with modern web technologies
- Automated build pipeline: Streamlined development and deployment process
This technical documentation consists of several specialized files:
File | Purpose |
---|---|
README.md | Project overview and basic usage |
ARCHITECTURE.md | Detailed system architecture |
DEVELOPMENT.md | Development setup and workflows |
CONTENT_AUTHORING.md | Writing and formatting guidelines |
TECHNICAL_REFERENCE.md | Detailed technical specifications |
API_DOCS_INTEGRATION.md | API documentation integration guide |
CONTRIBUTING.md | Guidelines for contributors |
- Set up your environment:
git clone https://github.com/circleci/circleci-docs.git cd circleci-docs npm ci
- Make sure you've cloned server-4 branches (Server Administration Docs)*
npm run fetch-server-branches
-
Start the development server:
npm run start:dev
-
Test the setup (optional):
./scripts/test-setup.sh
This project includes integrated API documentation built with Redocly:
-
Test the integration:
./scripts/test-setup.sh
-
Build API docs:
npm run build:api-docs
-
Customize API docs:
- Replace
api-spec.yaml
with your OpenAPI specification - Edit
redocly.yaml
for styling and configuration - See API_DOCS_INTEGRATION.md for details
- Replace
- Review the architecture:
- Read ARCHITECTURE.md for system design
- Review DEVELOPMENT.md for development workflow
- Consult TECHNICAL_REFERENCE.md for detailed specs
-
Understand the content organization:
- Read CONTENT_AUTHORING.md for guidelines
- Review existing content for examples and patterns
-
Set up your environment:
- Follow the developer setup instructions
- Start the development server to preview changes
-
Create or edit content:
- Follow the AsciiDoc formatting guidelines
- Use the appropriate component structure
- Test your content locally
We welcome contributions to both the documentation content and the technical infrastructure. To contribute:
- Review CONTRIBUTING.md for guidelines
- Set up your development environment
- Create a branch for your changes
- Submit a pull request