Coder Social home page Coder Social logo

marcuwynu23 / stgen-cli Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 49 KB

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

License: MIT License

HTML 34.21% Python 65.79%
html static-html-generator extends includes html-inheritance console tool

stgen-cli's Introduction

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!

stgen-cli's People

Contributors

marcuwynu23 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.