spgit

A static page generator for git repositories

git clone git://git.janzachar.dev/spgit.git


0from pathlib import Path
1import os
2
3
4BUILD = Path(os.getenv("BUILD", "./build"))         # output directory when html files are put
5SRC = Path(os.getenv("SRC", "./repos"))            # directory containing bare git repos
6HOST = Path(os.getenv("HOST", "git.janzachar.dev")) # used for urls in templ/*.py
7
8ASSETS = Path(os.getenv("ASSETS", Path(__file__).parent.parent / "assets"))
9
10COMMIT_COUNT = 5 # max amount of commits to have displayed
11
12