This repository contains the documentation for Captain, a modern content management system focused on simplicity and performance. The documentation is built using Jekyll and the Just the Docs theme.
- Comprehensive documentation for Captain
- Clean, searchable interface
- Mobile-friendly design
- Both standalone landing page and detailed documentation
- Docker-based development environment
- Docker
- Make (optional, but recommended)
-
Clone the repository:
git clone https://github.com/captain-corp/captain-website.git cd captain-website -
Start the development server:
make start
The documentation will be available at http://localhost:4000
make start- Start the documentation servermake start-detached- Start the server in background modemake stop- Stop the documentation servermake build- Build the Docker imagemake build-static- Generate static HTML filesmake serve-static- Serve the static files locallymake serve-standalone- Serve the standalone landing pagemake clean- Remove built files and Docker artifactsmake shell- Open a shell in the container
captain-website/
├── Dockerfile # Docker configuration
├── Gemfile # Ruby dependencies
├── _config.yml # Jekyll configuration
├── docker-compose.yml # Docker Compose configuration
├── index.md # Homepage content
├── quickstart.md # Quick start guide
├── configuration.md # Configuration documentation
└── standalone/ # Standalone landing page
└── index.html # Single-page site
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Create a new Markdown file in the root directory
- Add front matter with layout and navigation order:
--- layout: default title: Your Page Title nav_order: 4 ---
- Add your content using Markdown
To build static files for deployment:
make build-staticThe files will be generated in the _site directory.
This project is licensed under the MIT License - see the LICENSE file for details.
- Jekyll - Static site generator
- Just the Docs - Documentation theme
- Docker - Containerization platform