Initialize generation stack
This commit is contained in:
parent
41e7d1c441
commit
eeb582169a
4 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
||||||
|
### Generate all site pages using csv files.
|
||||||
|
|
||||||
|
from utils.gen import index as gen_index
|
||||||
|
from utils.gen import categories as gen_categories
|
||||||
|
from utils.gen import runs as gen_runs
|
||||||
|
|
||||||
|
gen_index.generate()
|
||||||
|
gen_categories.generate()
|
||||||
|
gen_runs.generate()
|
||||||
|
|
||||||
|
print("Done generating site!")
|
5
scripts/utils/gen/categories.py
Normal file
5
scripts/utils/gen/categories.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
### Generation helper for category pages
|
||||||
|
|
||||||
|
|
||||||
|
def generate():
|
||||||
|
print("- categories.py -")
|
5
scripts/utils/gen/index.py
Normal file
5
scripts/utils/gen/index.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
### Generation helper for index.html
|
||||||
|
|
||||||
|
|
||||||
|
def generate():
|
||||||
|
print("- index.py -")
|
5
scripts/utils/gen/runs.py
Normal file
5
scripts/utils/gen/runs.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
### Generation helper for run pages
|
||||||
|
|
||||||
|
|
||||||
|
def generate():
|
||||||
|
print("- runs.py -")
|
Loading…
Reference in a new issue