Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Boot.dev

Build a Static Site Generator in Python

via Boot.dev

Overview

Boot.dev Special Discount:
25% off your first payment!
Grab it
Ever wondered how SEO and performance-optimized static site generators like Hugo work? In this guided project you'll build your own from scratch using Python. You'll put a lot of your learnings from Object-Oriented Programming and Functional Programming to use in a tangible web project. This project isn't for the faint of heart, but it's well worth the effort. You'll come away with a deeper understanding of static content management.

Syllabus

  • Static Sites
    • Learn about what a static site is, and start building the functionality necessary to process and move static HTML and Markdown files.
  • Nodes
    • Build the core HTML generation logic that will power your static site generator. Use recursion and OOP to build an easily understandable and maintainable system.
  • Inline
    • Build the inline markdown parsing logic, and the logic to generate inline HTML elements.
  • Blocks
    • Handle entire blocks of markdown, and generate the HTML nodes that represent them.
  • Website
    • Put the entire static site generator together, and publish your first website.

Taught by

Lane Wagner, Allan, Matt, Dan, and Hunter

Reviews

4.6 rating at Boot.dev based on 846 ratings

Start your review of Build a Static Site Generator in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.