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
- Host: GitHub
- URL: https://github.com/marcuwynu23/stgen-cli
- Owner: marcuwynu23
- License: mit
- Created: 2022-09-30T21:18:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T04:43:18.000Z (over 2 years ago)
- Last Synced: 2025-02-17T04:41:41.712Z (8 months ago)
- Topics: console, extends, html, html-inheritance, includes, static-html-generator, tool
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 RequestThank you in advance for your contributions! Godbless and Happy Coding!