use gitweb/gitolite directory layout (including subdirs)
1 file changed, 7 insertions(+), 5 deletions(-)
changed files
M readme → readme
@@ -6,6 +6,9 @@ FORK CHANGES • Uses gomponents instead of html/template. +• Better integration with [gitolite](https://gitolite.com/gitolite/index.html) +• repo.ignore is ignored: only repositories listed in projects.list are shown. +• Supports subdirectories FEATURES@@ -27,7 +30,7 @@ Example config.yaml: repo: - scanPath: /var/www/git + root: /var/lib/gitolite readme: - readme - README@@ -52,13 +55,12 @@ port: 5555 These options are fairly self-explanatory, but of note are: -• repo.scanPath: where all your git repos live (or die). elgit doesn't - traverse subdirs yet. +• repo.root: where all your git repos live (or die). This should contain projects.list + and repositories/ • dirs: use this to override the static assets. • repo.readme: readme files to look for. • repo.mainBranch: main branch names to look for. -• repo.ignore: repos to ignore, relative to scanPath. -• repo.unlisted: repos to hide, relative to scanPath. +• repo.unlisted: repos to hide, relative to root/repositories. • server.name: used for go-import meta tags and clone URLs. • meta.syntaxHighlight: this is used to select the syntax theme to render. If left blank or removed, the native theme will be used. If an invalid theme is set in this field,