About tab not showing on repo page
thurstylark at gmail.com
Wed Feb 8 23:33:15 CET 2017
On 17-02-08 22:58:36, MonkZ wrote:
> Hi David,
> which version do you use?
> I've a similar problem. But scan-path is at the end. (config attached)
> All readme entries seem to be ignored. Only a readme entry in the git
> config of a specific repo works.
> My version: cgit 1.1-1 on archlinux packaged 2016-11-23 09:17 UTC
> Am 08.02.2017 um 18:47 schrieb David Thurstenson:
> > 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, I have a few repos that have either a 'README'
> >>> or a 'README.md' file at the root of the repo. In my cgitrc 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!
> > _______________________________________________
> > CGit mailing list
> > CGit at lists.zx2c4.com
> > https://lists.zx2c4.com/mailman/listinfo/cgit
I use the exact same version, and on Arch as well.
More information about the CGit