This directory contains the official documentation for OpenCue, built with Jekyll and the Just the Docs theme. The documentation features a professional design with comprehensive search functionality, versioned content, and dark mode support.
Build and serve documentation using Docker without installing Ruby locally:
cd docs/
# Build documentation
./docker-build.sh build
# Or serve with live reload
./docker-build.sh serveSee DOCKER.md for complete Docker setup documentation.
- Ruby 3.0+ and Bundler
- Git for version control
- Text editor (VS Code, Sublime, etc.)
-
Clone and navigate to docs:
cd docs -
Install dependencies:
bundle install
-
Test the build:
.build.sh
-
Start development server:
bundle exec jekyll serve --livereload -
Open in browser: http://localhost:4000/
docs/
├── _config.yml # Jekyll configuration with versioning
├── _includes/ # Custom includes and theme components
│ └── header_custom.html # Custom styling and site header
├── _docs/ # Main documentation content
│ ├── concepts/ # Core concepts and overview
│ ├── getting-started/ # Installation and setup guides
│ ├── quick-starts/ # Platform-specific quick starts
│ ├── user-guides/ # End-user documentation
│ ├── other-guides/ # Advanced configuration and guides
│ ├── reference/ # API and command reference
│ ├── tutorials/ # Step-by-step tutorials and guides
│ └── developer-guide/ # Contributor and development guides
├── _news/ # News entries, ordered by the date in the filename
├── _releases/ # Release announcements, ordered by their `date` front matter
├── _sass/ # Custom SCSS styles
│ └── color_schemes/ # Custom color schemes
├── assets/ # Static assets
│ ├── images/ # Documentation images and logos
│ ├── js/ # JavaScript files
│ └── css/ # Generated CSS files
├── _plugins/ # Jekyll plugins for search and functionality
├── build.sh # Automated build testing script
├── docker-build.sh # Docker build helper script
├── Dockerfile # Docker image for building docs
├── docker-compose.yml # Docker Compose configuration
├── .dockerignore # Docker build exclusions
├── Makefile # Make-based Docker build commands
├── DOCKER.md # Docker setup documentation
├── validate_nav.py # Navigation front matter validation (runs in build.sh and CI)
├── Gemfile # Ruby dependencies
├── news.md # News listing page
├── releases.md # Releases listing page
└── index.md # Homepage
All documentation pages should include comprehensive front matter:
---
title: "Your Page Title"
nav_order: 1 # Controls order in navigation
parent: "Parent Section" # Optional, for nested pages
layout: default
linkTitle: "Short Title" # Optional, for navigation
date: 2025-07-30 # Last updated date
description: >
Brief description for SEO and social media previews.
Can span multiple lines for detailed descriptions.
---The documentation supports advanced Markdown features:
- Standard Markdown: Headers, lists, emphasis, links
- Code blocks with syntax highlighting:
def hello_opencue(): print("Welcome to OpenCue!")
- Tables with sorting and styling
- Callout boxes for warnings and notes:
> **Note** > {: .callout .callout-info} > This is an informational callout.
- Images with proper baseurl support
- Internal links using Jekyll syntax
- Place images in
assets/images/ - Reference with proper baseurl:

- Use descriptive alt text for accessibility
Documentation Collection (_docs/):
- Quick starts: Try OpenCue in the sandbox environment on different operating systems
- Concepts: Conceptual guides for all users to introduce OpenCue
- OpenCue getting started guide: Guides for system admins deploying OpenCue components and installing dependencies
- User guides: Guides for artists and end-users completing common OpenCue user tasks
- Other guides: Guides for system admins and technical Production Services and Resources (PSR) teams completing common tasks related to managing, supporting, and troubleshooting OpenCue
- Reference: Reference guides for all users running OpenCue tools and interfaces
- Tutorials: Step-by-step learning guides and workflows
- News: Latest news, updates, and community announcements about OpenCue development and events
- Releases: OpenCue release announcements and changelogs
Navigation Best Practices:
- Use
nav_orderto control page ordering - Use
parentfor hierarchical navigation - Keep navigation depth to maximum 3 levels
- Use descriptive titles for better UX
nav_order is sorted within each sibling group -- pages that share the same parent and
grand_parent. It is never compared across sections, so the numbers in one section are
completely independent of every other section.
That gives two rules, and no scripts.
Every sibling group starts at 10 and counts up by 10:
_docs/quick-starts/index.md nav_order: 20 (top level)
_docs/quick-starts/quick-start-linux.md nav_order: 10 (inside Quick Starts)
_docs/quick-starts/quick-start-mac.md nav_order: 20
_docs/quick-starts/quick-start-windows.md nav_order: 30
To insert a page between macOS and Windows, give it nav_order: 25 and change nothing else.
The gaps absorb nine insertions between any two pages before a section needs renumbering, and
that renumbering only ever touches the one section.
Two sibling pages must never share a nav_order. just-the-docs renders ties in an
unspecified order that can change between builds.
News entries and release announcements are Jekyll collections sorted by date. They carry no
nav_order and no parent.
- News (
_news/): name the fileYYYY-MM-DD-slug.md. Jekyll reads the date from the filename, so the front matter needs nothing buttitle. - Releases (
_releases/): filenames are named after the version, so adddate: YYYY-MM-DDto the front matter.
Adding a news post or a release means adding exactly one file. Nothing else changes.
validate_nav.py enforces both rules and runs in build.sh and in CI:
cd docs
python3 validate_nav.pyIt reports:
- duplicate
nav_ordervalues within a sibling group - a
parentthat matches no page title, or whose target is missinghas_children: true - a
grand_parentthat is not the parent of the namedparent nav_orderorparenton a news or release entry- a news file that is not named
YYYY-MM-DD-slug.md, or a release without adate - a page whose directory disagrees with the section it renders under (warning)
- Create the file in the directory of the section it belongs to.
- Set
title,parent(the section index page'stitle), and anav_orderthat fits between its neighbours. - Run
python3 validate_nav.py.
- Automatic theme detection based on system preferences
- Manual theme toggle with persistent preference storage
- Smooth transitions between light and dark themes
- Comprehensive styling for all UI elements in both themes
- Theme toggle button with intuitive sun/moon icons (🌚/☀️)
The dark mode implementation includes:
- Custom dark color scheme in
_sass/color_schemes/opencue-dark.scss - Theme toggle functionality in
_includes/aux-nav.html - Theme persistence via localStorage in
_includes/header_custom.html - Professional dark gray design system with proper contrast ratios
- Enhanced button styling and auxiliary navigation layout
- Client-side search using Lunr.js
- Real-time results as you type
- Content indexing of all documentation pages
- Search highlighting in results
- Keyboard navigation support
- Keyboard shortcuts:
Ctrl+K(Windows/Linux) or⌘+K(Mac) to focus search - Visual shortcut indicators displayed in the search box
Search settings in _config.yml:
# Enable search
search_enabled: true
search:
# Split pages into sections that can be searched individually
heading_level: 2
# Maximum search results
previews: 3
preview_words_before: 5
preview_words_after: 10
tokenizer_separator: /[\s\-/]+/
# Display the relative url in search results
rel_url: true
# Enable or disable the search button that appears in the bottom right corner of every page
button: trueUse the comprehensive test script:
cd docs/
.build.shFeatures:
- Prerequisites validation
- Dependency installation
- Jekyll build with verbose output
- Critical file verification
- Image path validation
- Build statistics and size reporting
- Helpful testing suggestions
Steps to run the script:
cd docs/./build.sh= Build validation and testingbundle exec jekyll serve --livereload= Local development server with live reload
Use the following commands to build and serve the documentation locally:
bundle exec jekyll build
bundle exec jekyll serve --livereloadNote: The --livereload flag in the command above enables live reloading, which automatically refreshes the page in
your browser when changes are made to the documentation files.
- Homepage loads without errors
- Navigation works across all sections
- Search functionality returns relevant results
- Images display correctly with proper paths
- Mobile responsiveness on different screen sizes
- On Google Chrome: Press Ctrl+Shift+I (or Cmd+Option+I on Mac) to open DevTools, then press Ctrl+Shift+M (or Cmd+Shift+M on Mac) to toggle mobile view and test responsiveness.
- Link validation - all internal/external links work
cd docs/
# Link checking
bundle exec jekyll build && find _site -name "*.html" -exec grep -l "href.*#" {} \;
# Build size analysis
du -sh _siteDocumentation is automatically deployed via GitHub Actions:
- Trigger: Push to
masterbranch - Workflow:
.github/workflows/docs.yml - Build environment: Ubuntu with Ruby 3.x
- Deployment target: GitHub Pages
- URL:
https://docs.opencue.io(redirected fromhttps://academysoftwarefoundation.github.io/OpenCue)
For developers contributing to the OpenCue project who want to validate the OpenCue documentation in their fork of https://github.com/AcademySoftwareFoundation/OpenCue, follow these steps:
-
Enable GitHub Pages in your fork:
- Go to Settings -> Pages
- In Build and deployment -> Source, select GitHub Actions
-
Configure Actions permissions:
- Go to Settings -> Actions -> General
- Under Actions permissions, select "Allow all actions and reusable workflows"
- Under Workflow permissions, select "Read and write permissions"
-
Trigger the documentation deployment:
- Go to the Actions tab
- Find the "Deploy Documentation" workflow and either re-run it or manually trigger it to publish your docs
- Your documentation will be available at
https://[your-username].github.io/OpenCue - Note: In your fork, you may need to update
baseurlin_config.ymlto/OpenCuefor GitHub Pages
- Install Ruby dependencies with Bundler
- Run Jekyll build with production settings
- Generate search index and optimized assets
- Deploy to GitHub Pages with proper baseurl
- Invalidate CDN cache for immediate updates
Key configuration for deployment:
# _config.yml
baseurl: "" # Empty for root domain hosting
url: "https://docs.opencue.io" # Production domain- Follow style guide: Consistent tone and formatting
- Test locally: Use
./build.shbefore submitting - Check links: Ensure all references are valid
- Optimize images: Compress images for web use
- Update navigation: Maintain logical page hierarchy
- Fork repository and create feature branch
- Make changes following documentation standards
- Test thoroughly using provided scripts
- Submit pull request with clear description
- Address feedback from maintainers
- Clarity: Write for technical and non-technical audiences
- Accuracy: Keep information current and correct
- Completeness: Include necessary context and examples
- Accessibility: Use proper headings and alt text
- SEO: Include meta descriptions and structured content
- Main Repository: OpenCue on GitHub
- Issue Tracking: GitHub Issues
- Community: OpenCue Slack
- Jekyll Documentation: Jekyll Docs
- Just the Docs Theme: Theme Documentation
Build fails with dependency errors:
bundle clean --force
bundle installImages not displaying:
- Ensure proper baseurl usage (
{{ '/assets/images/' | relative_url }}) - Check file paths and case sensitivity
- Verify images exist in
assets/images/
Search not working:
- Check that
search_enabled: truein_config.yml - Verify search data is generated in
_site/assets/js/ - Test with clean browser session
- Check existing GitHub Issues
- Run
./build.shfor diagnostic information - Join the OpenCue Slack for community support
- Create detailed issue with error logs and steps to reproduce