Read The Docs Theme for Jekyll & GitHub Pages

This is a port of the Read The Docs theme to Jekyll, specifically developed be used with GitHub Pages.

[!NOTE] You are previewing ๐Ÿ‘€ the theme right now as you navigate this documentation!

screenshot

The original Read The Docs theme was created for the Sphinx documentation generator, and so it is designed specifically for docs.

Combined with GitHub Pages itโ€™s a great and easy way to document your projects!

Features:

  • ๐Ÿ–ฅ๏ธ Read the Docs responsive design with a collapsible sidebar navigation
  • ๐Ÿ™ Specifically developed to be compatible with GitHub Pages out of the box
    • ๐Ÿ“ Simply create a docs folder with a _config.yml and your markdown files
    • ๐Ÿ”— Automatic GitHub link, โ€œEdit on GitHubโ€, and commit links (optional)
    • ๐Ÿท๏ธ Latest release tag displayed in the sidebar (optional)
  • ๐ŸŒ External links in the navigation bar
  • ๐Ÿ” Built-in search functionality via Lunr.js
  • ๐Ÿ–๏ธ Source code highlighting via highlight.js, with a copy-to-clipboard button
  • ๐Ÿงœ Diagram rendering support via Mermaid
  • ๐Ÿ“ข Admonition callouts via aDOMonitions
  • โš“ Heading anchor links on hover via AnchorJS
  • ๐Ÿ”˜ Button styling via links with additional attributes
  • ๐Ÿท Labels for status, releases, or other metadata
  • โš™๏ธ Configurable with custom options in _config.yml and front matter
  • ๐Ÿ“ฃ Social media metadata and preview images
  • ๐Ÿ”Ž SEO friendly meta tags and canonical URLs
  • ๐Ÿง‘โ€๐Ÿ’ป TODO ๐Ÿง‘โ€๐Ÿ’ป: ๐Ÿงฎ Mathematical expressions rendering

What Can You Find Around Here

  • Check out the Quick Start Guide to get up and running.
  • If some of the terms thrown around here donโ€™t make a lot of sense, check out the What is All This? (FAQs) page.
  • To find out more about all the theme available options see the Theme Configuration and the Pages Configuration pages.
  • The Demo Pages contain generic content to showcase how the standard Markdown and additional features are rendered with this theme.
  • The Debug Config page documents a utility file you can copy into your site to inspect every Jekyll & Liquid variable at build time.

๐Ÿง‘โ€๐Ÿ’ป Work in Progress!

New features are still being developed but the theme is already usable and v1.4.0 is the latest release ๐ŸŽ‰.

Any possible breaking change would be released as a major revision (i.e. v2, v3, etc). A breaking change would be a change in existing config options, or a significant visual style change, while new features and settings will be released a minor revisions (i.e. v1.1, v1.2, etc).

So, it is recommended to lock the theme version in the _config.yml file:

remote_theme: carlosperate/jekyll-theme-rtd@v1.4.0

Missing features are listed in the GitHub issues with the enhancement or new feature labels, and any known issues are listed with the bug label.

Contributions are very welcomed!