-rw-r--r-- src/config.dhall
1 -- This is an example configuration file for gitja. 2 -- It uses the Dhall configuration language: dhall-lang.org 3 4 -- You can list the git repositories here. 5 -- These will be used to generate HTML. 6 let repos = ".." 7 8 let folders = 9 [ "${repos}/gitja" 10 ] 11 12 -- These are the configurable options that are used by gitja. 13 -- You may want to replace the relative paths for absolute paths. 14 let config = 15 { repos = folders 16 , scan = False 17 , template = "./template" 18 , output = "./output" 19 , host = "http://localhost:8000" 20 } 21 22 -- If `scan` is True, then gitja will look for git repositories in folders 23 -- nested within those listed in `repos`. Otherwise, the folders in `repos` are 24 -- assumed to be repositories themselves. 25 26 -- Note: The host is available verbatim in templates. 27 -- Port 8000 is appended here for easier testing with `python -m http.server`. 28 29 in config 30