Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Jekyll template for 18F Guides, based on CFPB/DOCter, for publishing documentation guides.
The 18F Guides Template is a Jekyll-based skeleton repository, built on CFPB/DOCter, that gives you a starting point for creating and publishing 18F-style documentation guides.
The 18F Guides Template is a skeleton repository that provides a pre-configured Jekyll site for building documentation guides. It takes the name of your new guide as the destination folder when you clone it and produces a locally runnable static site that can be published to 18F Pages. It runs on Ruby and uses the Jekyll static site generator, and it is maintained by 18F, the digital service team of the U.S. government.
./go script checks your Ruby version, installs the Bundler gem if it is missing, and installs all gems required by the template../go serve launches a live preview at http://localhost:4000/, letting you see your guide as you edit../go serve to start a local server at localhost:4000 and iterate before publishing.git clone https://github.com/18F/guides-template.git MY-NEW-GUIDE../go serve.The template requires Ruby version greater than 2.2.4. You can check your installed version with ruby -v. If Ruby is missing or outdated, the README provides installation instructions, including a Homebrew method for OS X.
Yes. The project is in the worldwide public domain under the CC0 1.0 Universal public domain dedication. By submitting a pull request, contributors also agree to release their contributions under CC0.
Clone the repository using your new guide's name as the destination folder, then run ./go serve. The automated script installs dependencies and starts a local preview at http://localhost:4000/, where you can access the template instructions.
The structure is designed for Jekyll-based static hosting, and 18F hosts guides on 18F Pages. The published template instructions at https://pages.18f.gov/guides-template/ show the intended output of a finished guide.
No. The ./go script installs the Bundler gem automatically if it is not already present, then installs all gems needed by the template, so you can get started with a single command.