Just Write Click

Technical writing with Continuous Integration and docs-as-code

  • JustWriteClick
  • Contact
  • Books by Anne Gentle
  • Introducing Docs Like Code
You are here: Home / Featured / How to Modernize a Docs Site: Explore Three Static Site Generators

January 3, 2022 by annegentle

How to Modernize a Docs Site: Explore Three Static Site Generators

How to Modernize a Docs Site: Explore Three Static Site Generators

Sometimes treating docs as code seems overly complicated. Let’s break it into component parts – static site generators, development environments, source control, continuous integration, hosting, deployment, and testing docs. Yes there is a stack here to learn, but now you can take tutorials one-at-a-time no matter where you are in a docs-as-code exploration.

Go to docslikecode.com/learn to take a look!

With this new series of online tutorials I hope to provide a simplified view of static site generators plus the continuous configuration and deployment scenarios you can use for docs like code. The idea is to show the different “adventures” you can take through docs like code tooling. Then, there are also articles that help you evaluate each of three (yes, three!) static site generators – Sphinx, Jekyll, and Hugo.

If you’re not sure whether to go ahead and pay for that GitHub account for access to private repositories, check out this article, GitHub Pro Account or GitHub Free Account for Technical Writing?

Sphinx with Read the Docs

Sphinx screenshot
Sphinx with Alabaster theme on Readthedocs.org

This combination is a powerful one, and you can go completely through from setting up a GitHub repository with Sphinx for builds and RST as source, to connecting the repo by manually setting up the webhook so that it builds automatically to readthedocs.org. The theme is the Alabaster theme, as shown. With a simple change in the Sphinx configuration you can also use Markdown as source. This possible substitution shows the flexibility of any of these adventures. Don’t miss the additional post on this site, Tips for Publishing Python Sphinx with Free Hosting on GitHub Pages.

Jekyll with GitHub Pages

Jekyll screenshot
Jekyll with Minimal Mistakes theme on GitHub Pages

For this opinionated walkthrough, you learn how to set up a GitHub repository with Jekyll and Markdown as source that uses GitHub Pages to automatically deploy the web pages to a web site. The theme is the Minimal Mistakes theme, which can be easily upgraded as the theme author continues to maintain the theme. Plus, you can deploy to GitHub Pages with a single configuration setting.

Hugo with Netlify

Hugo screenshot
Hugo with Learn theme on Netlify

If you’re interested in a Go-based workflow with no dependencies, you could go through the Hugo scenario. Set up a GitHub repository with Hugo and Markdown as source, then use Netlify to deploy a documentation site. The theme in place is the Learn theme, based on the Grav Learn theme.

I know there are many more combinations of build systems, testing possibilities, and static site generators and I welcome more tutorials! I know Asciidoc has another great build system that has another source type. We can also learn a lot about the templating engines in each system. Please submit a pull request if you have more ideas, and please use these tutorials for workshops or self-guided learning.

Related

Filed Under: Featured, techpubs

More reading

Bubble graph showing sources of developer support data

I’ve been thinking a lot about developer support at Cisco recently, especially for the way the world works today with multiple cloud providers. This post is a re-publish of my talk from over five years ago, but the techniques and tools for listening and helping others are still true today. At Rackspace, we watched several […]

Cisco DevNet is our developer program for outreach, education, and tools for developers at Cisco. From the beginning, the team has had a vision for how to run a developer program. Customers are first, and the team implements what Cisco customers need for automation, configuration, and deployment of our various offerings. Plus, the DevNet team […]

I had a great talk with Ellis Pratt of Cherryleaf Technical Writing consulting last week. Here are the show notes, full of links to all the topics we covered. Podcasts are great fun to listen to and participate in, if a bit nerve-wracking to think on your feet and make sure you answer questions succinctly […]

At the beginning of this year, I worked hard to summarize my thoughts on API documentation, continuous publishing, and technical accuracy for developer documentation. The result is an article on InfoQ.com, edited by Deepak Nadig, who also was forward-thinking in having me speak to a few teams at Intuit about API documentation coupled with code. Always […]

Recently on Just Write Click

  • A Flight of Static Site Generators: Sampling the Best for Documentation
  • Try a GPT about “Docs Like Code” to ask questions
  • Discipline and Diplomacy: Docs in the Open
  • Let’s Find Out: When Do Static Site Generators Do Rendering?
  • GitHub for Managing Tech Docs

Just Write Click in your Inbox

Enter your email address to subscribe to Just Write Click and receive notifications of new posts by email.

Read More

  • Privacy Policy
  • About Anne Gentle, developer experience expert
  • Books by Anne Gentle
    • Conversation and Community
    • Docs Like Code, a Book for Developers and Tech Writers
  • Woman in Tech Speaker Profile
  • Contact

Books

  • JustWriteClick
  • Contact
  • Books by Anne Gentle
  • Introducing Docs Like Code

Copyright © 2025 · WordPress · Log in