P-DR0ZD-SSG
Project description
pdrozd-ssg
pdrozd-ssg is a static site generator created in python
Features
- Creates an index based on your html files created
- Added JSON config file support
- Complete Markdown Support with the Help of Python-Markdown/markdown
Requirements
Python 3
How to Install
go to https://pypi.org/project/pdrozd-ssg/ or simply run the command pip install pdrozd-ssg
to run use the command?
Commands
The commands of pdrozd-ssg are
-
-h or --help this will display to the user the options they have
-
-c or --config this will specify a config file which contains arguments for SSG to read.
-
-v or --version this will display to the user the current verison of pdrozd-ssg
-
-i or --input this with a combanation of .txt or .md file or directory will output your files as a Static Site to use put in the format. e.g.
py ssg.py -i or --input [file.txt\text.ms] or [directory\]
-
-l or --lang this at the end of the input command will allow the default language of the HTML files to change. e.g.
py ssg.py -i or --input [file.txt\text.md] or [directory\] -l or --lang [language]
Config File
Config files should be in legal JSON format with a similar format like
{
"input":"./Sherlock-Holmes-Selected-Stories",
"lang":"fr"
}
New features
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pdrozd_ssg-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5ae4f5cf9b0ce2c7bb1a23354b97a73fc3cdee5d37961fd5aed924fea9faef |
|
MD5 | c0fa8007b9bb9ca7a824fe9568b94d6f |
|
BLAKE2b-256 | 4cd5a71d5f25d157b8ad7e516e9611b0ef71bad6fb5580f67f4bdfa18e0c46a5 |