An open API service indexing awesome lists of open source software.

https://github.com/marcuwynu23/stgen-cli

a commandline tool or a program use to generate static html file
https://github.com/marcuwynu23/stgen-cli

console extends html html-inheritance includes static-html-generator tool

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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!