Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Jekyll-based theme for documentation and help systems with multi-sidebar navigation, PDF generation, and special layouts.
The Documentation Theme for Jekyll is a Jekyll-based website theme built for technical documentation and help systems, delivering static HTML sites with product-specific sidebars, PDF output, and multiple special layouts. It is created by Tom Johnson, author of the technical writing blog "I'd Rather Be Writing," and maintained on GitHub at tomjoht/documentation-theme-jekyll.
This theme takes Markdown pages with YAML frontmatter and builds them into a static documentation website using Jekyll. Output includes a collapsible sidebar, top navigation, search support, and optional PDF files per product. It runs on Jekyll 3.x with kramdown as the Markdown processor, and the primary language in the repository is HTML. The theme is distributed free on GitHub under the gh-pages branch and includes sample content for three products (mydoc, product1, product2) that you can delete.
_data/sidebars/, with support for two levels of nesting.pdfconfigs folder and build scripts like pdf-product1.sh._config.yml.title, tags, keywords, summary, sidebar, and permalink, with keywords populated into HTML metadata for SEO.docker-compose build --no-cache && docker-compose up without installing Ruby gems locally.The theme is designed for technical writers who need to produce documentation for multiple products or versions, with each product getting its own sidebar. It also suits documentation teams that want a lightweight static site approach rather than a full CMS. Developers who need quick documentation hosting on GitHub Pages can use the included github-pages gem option. API documentation writers following Tom Johnson's tutorials will find the theme aligned with his recommended workflows.
_config.yml, so each page automatically gets the right navigation.bundle exec jekyll serve and the Gemfile, with relative links that work in any subdirectory.After downloading or cloning the theme, you install Jekyll and Bundler, then either delete the Gemfile to run plain jekyll serve or keep it to use bundle exec jekyll serve with the github-pages gem. You configure sidebars and top navigation by editing YAML files, and each page's frontmatter references the sidebar it should use. To generate a PDF, you install Prince XML, add a product configuration file, and run the matching shell script.
The theme itself is free and open source on GitHub. The only related paid service is Commento.io for comments, which starts at $5/month, and Prince XML for PDF generation requires a commercial license for watermark-free output.
Just the Docs is another Jekyll documentation theme with a simpler, single-sidebar layout and automatic navigation.
Yes, the theme is open source and free to download from GitHub. You do not need to pay anything to use the theme itself or to publish a site with it on GitHub Pages.
Download the ZIP from the GitHub repo, install Jekyll and Bundler, then run jekyll serve from the project directory. If you keep the Gemfile for GitHub Pages, use bundle exec jekyll serve instead.
Yes, the repository includes a docker-compose.yml. Clone the repo and run docker-compose build --no-cache && docker-compose up, then open http://localhost:4000/.
You need a license for Prince XML, install it, then customize the css/printstyles.css email address and create a PDF config file in pdfconfigs. Follow the pattern of the existing pdf-product1.sh script and run it.
The sidebar supports two levels of nesting (folders and subfolders). You cannot create deeper hierarchies. Each level must have at least one topic before the next level starts.
