Semaphore Docs is the official documentation site for Semaphore UI, a modern UI and API for Ansible, Terraform, OpenTofu, PowerShell, and other DevOps tools. This documentation is built using mdBook and includes guides for both administrators and users.
- Features
- Getting Started
- Installation
- Usage
- Project Structure
- Contributing
- License
- Contact & Community
- Comprehensive Admin & User Guides: Covers installation, configuration, security, API, pipelines, and more.
- Custom Theming: Uses custom CSS and JS for tabs, search, and content styling.
- Mermaid Diagrams: Integrated support for Mermaid diagrams.
- Search: Built-in search with result limiting.
- Edit Links: Direct links to edit pages on GitHub.
- Responsive Design: Usable on desktop and mobile devices.
- mdBook (install via
cargo install mdbook
) - mdbook-mermaid (for diagram support)
- Ansible (for build/deploy scripts)
- Python 3 (for some deploy scripts)
- (Optional) Access to the deployment environment and Ansible vault password for full deployment
-
Clone the repository:
git clone https://github.com/semaphoreui/semaphore-docs.git cd semaphore-docs
-
Install mdBook and plugins:
cargo install mdbook cargo install mdbook-mermaid
-
(Optional) Set up Python virtual environment for deployment:
cd deploy python3 -m venv venv source venv/bin/activate pip install -r requirements.txt # if requirements.txt exists
-
Install Ansible collections:
ansible-galaxy collection install -r requirements.yml
To build the documentation locally:
mdbook build
Or use the provided script (requires Ansible and Python venv):
./build.sh
To preview the documentation with live reload:
mdbook serve
Visit http://localhost:3000 in your browser.
Deployment is managed via Ansible playbooks. To deploy (requires access and vault password):
./run.sh
src/
– Main documentation source (Markdown files, SUMMARY.md for navigation)theme/
– Custom CSS, JS, and theme assetsdeploy/
– Ansible playbooks, scripts, and deployment configurationbook.toml
– mdBook configuration (plugins, theme, analytics, etc.)build.sh
/run.sh
– Helper scripts for building and deployingbook/
– Built static site (output)user-guide/
,administration-guide/
,faq/
– Main documentation sections
Contributions are welcome! To contribute:
- Fork the repository and create your branch.
- Make your changes in the
src/
directory. - Update
src/SUMMARY.md
to add new pages to the navigation. - Build and preview your changes locally.
- Submit a pull request.
For major changes, please open an issue first to discuss your proposal.