RomanStaticSG is made in python. It is a simple static site generator. It accepts an input file, or input folder. The current file types that are parsed are text and markdown. Markdown however currently only supports heading level 1 parsing. The program will then take the accepted files and create basic html webpages, as well as an index.html file. The script also allows you to input a custom output directory, so that the files could be saved in a custom location.
Python 3.9+ Required
To use RomanStaticSG simply type
python romanssg.py --help
When running the command input command and not specifying the output command, a local folder named "dist" will be created in the directory of the existing file
python romanssg.py --help | python romanssg.py -h
Help Screen
Usage: python romanssg.py
Commands:
To get version number use the command: --version, -v
To change the output directory to a user specified directory, run --output= or -o=
To specify an input, use either a file or a folder with items inside of it
python romanssg.py --version | python romanssg.py -v
Welcome to the RomanStaticSG, a Static Site Generator
The current version is: 0.1
To run the input command specify the file name with the extension
python romanssg.py --input=example.txt | python romanssg.py --input=example.md
To run the input command with a folder, specify the folder name
For Unix/Linux
python romanssg.py --input=./someFolder | python romanssg.py -i=./someFolder
For Windows
python romanssg.py --input="C:\Users\Roman Rezinkin\Desktop" | python romanssg.py -i="C:\Users\Roman Rezinkin\Desktop"
To run the output command specify the custom directory location
For Unix/Linux
python romanssg.py --output=./someFolder | python romanssg.py -o=./someFolder
For Windows
python romanssg.py --output="C:\Users\Roman Rezinkin\Desktop" | python romanssg.py -o="C:\Users\Roman Rezinkin\Desktop"