From mboxrd@z Thu Jan 1 00:00:00 1970 From: thurstylark at gmail.com (David Thurstenson) Date: Wed, 8 Feb 2017 16:33:15 -0600 Subject: About tab not showing on repo page In-Reply-To: <807ad276-481e-93b8-ca0a-318090a9788e@monkz.de> References: <20170208170102.GA8625@dtarchaio> <20170208174724.GA10844@dtarchaio> <807ad276-481e-93b8-ca0a-318090a9788e@monkz.de> Message-ID: <20170208223315.GA25564@dtarchaio> 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 > > MfG > MonkZ > > 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 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! > > _______________________________________________ > > 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.