Generate static website from using python
Go to file
dependabot[bot] 32ee58e5df
Bump pygments from 2.4.2 to 2.7.4
Bumps [pygments](https://github.com/pygments/pygments) from 2.4.2 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.4.2...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 20:24:30 +00:00
lib Move and split lib.generator.py to package 2019-09-03 22:28:47 +02:00
.gitignore Initial commit for website generator 2019-08-30 01:42:39 +02:00
LICENSE Initial commit for website generator 2019-08-30 01:42:39 +02:00
README.md Update README.md 2019-09-03 22:30:48 +02:00
config.yml Initial commit for website generator 2019-08-30 01:42:39 +02:00
main.py Move and split lib.generator.py to package 2019-09-03 22:28:47 +02:00
requirements.txt Bump pygments from 2.4.2 to 2.7.4 2021-03-29 20:24:30 +00:00

README.md

static-site-generator

Description

Static website generator that is using jekyll format to generate vane.pl website.
No jekyll configuration files or existing markdown data was changed to generate output.

Dependencies

pygments - for syntax hightlighting
libsass - for sass style compile
csscompressor - for css compression
markdown - for makrdown parsing generation
liquidpy - for liquid template parsing

Emulate

  • jekyll
  • rouge
  • jekyll-feed
  • jekyll-sitemap
  • jekyll-seo-tag

Install

git clone https://github.com/vane/static-site-generator.git
python3 -m venv static-site-generator-env
source static-site-generator-env/bin/activate
pip install -r static-site-generator/requirements.txt

Usage

Specify config.yml input and output directory

  • input - directory with jekyll website data (where is _config.yml file)
  • output - directory for generated files (assets directory in output will be deleted during generation)

Why

Because I can.
So I recreated jekyll with all above plugins using 400 lines of python code.