Skills Expanded

Build a Static Site Generator with Python

What you'll learn

Python is great for building simple command line applications. In this project you’ll use classes to architect a command line static site generator.

Table of contents

Setup
1h
  • Set up your local environment for this project. We'll walk you through everything you need to know, including how to install and configure your environment to be able to complete all of the tasks.
The Site Class
20m
  • In this module, we'll create a class that will set configuration values and create the root structure of our static site.
The Parser Class
20m
  • In this module, we'll create a parser class which will have several utility methods to help convert Markdown and ReStructuredText to HTML.
The Content Class
20m
  • In this module, we'll create a custom collection class to model the content of a Markdown or ReStructuredText document.
Parser Subclasses
20m
  • In this module, we'll create two parser subclasses to convert Markdown and ReStructuredText to HTML.

About the author

Tom is a staff author at Pluralsight helping to develop Hands-On content. Tom's background in software development, UI/UX, and instructional design was developed over the years while working as a faculty member at the School of Computing at Weber State University in Utah, and continues to grow as he develops Projects and Labs for Pluralsight. When he's not creating content to allow learners to gain real-life experience, he enjoys spending time with his family.

Ready to upskill? Get started