Skip to content

scgitstuff/sitegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boot.dev "Build a Static Site Generator" project

structure

  • input markdown in content/
  • output HTML in public/

run

  • ./main.sh
  • ./test/sh

serve output

cd public
python3 -m http.server 8888

http://localhost:8888

GitHub Pages

https://scGetStuff.github.io/sitegen

  • added docs/ to repo for Pages
  • this should be an orphan branch with no history

assumptions

  • markdown valid
  • there is no nested markdown

type hints & mypy

  • I'm using type hints because I hate languages that are not static typed
  • but I am not using mypy yet
  • the IDE behaves better with the hints; that's good enough for me

enhancments

  • nested markdown
    • first pass only support a single level of nesting
    • make this This is an *italic and **bold** word*. work

About

"Build a Static Site Generator" project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages