This fork is a custom version of pmarsceill/just-the-docs. We customize the title banner, navigation side bar, and footer.
We add variables to define the layout of the full-width title banner:
title-background-color
Background color for title banner (default: black).title-color
Color of text in title banner (default: white).title-height
Height of title banner (default: 3.0rem).title_image
Relative URL for image to use in title banner.
The background color, color, and height should be set using the color
scheme. The image URL should be set in _config.yml
.
The site navigation (table of contents) is generated manually using a
three-level navigation list. Note
that we use subitems
and subsubitems
for the list structure.
The footer include the software version and time stamp of when the
documentation was generated. The software version is set using
software-version
in _config.yml
.
These sites may require updating when this fork is changed.
- usgs/groundmotion-processing
- usgs/earthquake-cencalvm
- baagaard-usgs/geomodelgrids
- geodynamics/pylith_installer
Add this line to your Jekyll site's Gemfile:
gem "just-the-docs"
And add this line to your Jekyll site's _config.yml
:
remote_theme: baagaard-usgs/just-the-docs
And then execute:
$ bundle
Or install it yourself as:
$ gem install just-the-docs
To view the Jekyll site locally (for example from your docs
directory), run:
$ bundle exec jekyll serve
See pmarsceill/just-the-docs/ for additional documentation.
The theme is available as open source under the terms of the MIT License.