About tab not showing on repo page
David Thurstenson
thurstylark at gmail.com
Wed Feb 8 18:47:24 CET 2017
On 17-02-08 18:36:01, Lars Hjemli wrote:
> On Wed, Feb 8, 2017 at 6:01 PM, David Thurstenson <thurstylark at gmail.com> wrote:
> > On my cgit instance[1], I have a few repos that have either a 'README'
> > or a 'README.md' file at the root of the repo. In my cgitrc[2] I have
> > 'readme=:README' and 'readme=:README.md' (among other things), but I
> > still have no about tab on the repo page.
>
> Try to move the 'scan-path' directive to the end of your cgitrc.
>
> From https://git.zx2c4.com/cgit/tree/cgitrc.5.txt#n392 :
>
> "Be advised that only the global settings taken before the scan-path
> directive will be applied to each repository."
>
> PS: this is a recurring question - maybe the FAQ should be updated, or
> the text in cgitrc.5?
>
> Hth,
> larsh
That did the trick! I never considered scan-path as the source of my
issue mainly because my search was focussed on 'about' or 'readme'.
Thanks!
More information about the CGit
mailing list