Skip to content

a commandline tool or a program use to generate static html file

License

Notifications You must be signed in to change notification settings

marcuwynu23/stgen-cli

Repository files navigation

stgen-cli

Overview

a commandline tool for generate static html file

Goals

How to generate HTML file

python stgen-cli.py index.html

Prerequisite

- PyYAML
- .gen folder contains:
- page.yml contains the page title,template folder directory, dependencies,etc
- layout.yml contains the layout structure of the html files
- template folder(you can name whatever you want) but you need to specify it in the page.yml in the .gen
  • this template folder contains the html files that you will includes in the layout.html

Project Structure

  • project
  • .gen
    • layout.yml
    • page.yml
  • template
    • header
      • header.html
      • sidebar.html
    • main
      • content.html
    • footer
      • footer.html
  • compiled
    • index.html

Contributing

How to Contribute to this Project Repository:

  1. Fork the Project
  2. Create your Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Thank you in advance for your contributions! Godbless and Happy Coding!

Releases

No releases published

Packages

No packages published