diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-11 19:42:59 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-11 19:42:59 +0100 |
| commit | 29f6d5716af3fceb1d26ec392d03410842dc9995 (patch) | |
| tree | 89187db6893ea9515b69fcecf52c6e796f852888 /cgitrc | |
| parent | c3a054460e43bf29a73f29d548f26ca9869e92b5 (diff) | |
| download | git.zue.dev-29f6d5716af3fceb1d26ec392d03410842dc9995.tar git.zue.dev-29f6d5716af3fceb1d26ec392d03410842dc9995.tar.gz git.zue.dev-29f6d5716af3fceb1d26ec392d03410842dc9995.tar.bz2 git.zue.dev-29f6d5716af3fceb1d26ec392d03410842dc9995.tar.xz git.zue.dev-29f6d5716af3fceb1d26ec392d03410842dc9995.zip | |
Keep readme entries above scan-path
Diffstat (limited to 'cgitrc')
| -rw-r--r-- | cgitrc | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -33,21 +33,10 @@ snapshots=tar tar.gz tar.bz2 tar.xz zip # disable cache to make sure cgit always shows the latest changes cache-size=0 -scan-path=/srv/git - -# maximum length of the repository description shown on the index page -max-repodesc-length=1000 - -# enable stats -max-stats=year - -# use the first path component of the repository path as the section name -section-from-path=1 - -## -## Search for these files in the root of the default branch of repositories -## for coming up with the about page: -## +# Keep readme entries above scan-path. cgit applies readme defaults while +# scanning repositories, so moving this block below scan-path can hide the +# repo About page. +# Search these filenames in the default branch for repository About content. readme=:README.md readme=:readme.md readme=:README.mkd @@ -77,5 +66,16 @@ readme=:install.txt readme=:INSTALL readme=:install +scan-path=/srv/git + +# maximum length of the repository description shown on the index page +max-repodesc-length=1000 + +# enable stats +max-stats=year + +# use the first path component of the repository path as the section name +section-from-path=1 + # this has to be empty for cgit to work with a reverse proxy virtual-root=
\ No newline at end of file |
