From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Fri, 30 Mar 2018 13:08:34 +0100 Subject: About or readme formatting for subfolders In-Reply-To: <998581521564033@web5g.yandex.ru> References: <998581521564033@web5g.yandex.ru> Message-ID: <20180330120834.GB2287@john.keeping.me.uk> On Tue, Mar 20, 2018 at 07:40:33PM +0300, Alex Ivanov wrote: > Currently about tab is only for readme file in root folder. Is it > possible to show it for subfolders with readme files also? Or other > way show say readme.mkd (markdown) preformatted in file preview > (unless one clicks plain) You can load pretty much anything via the about view if it's configured to point at the correct branch, just append the relevant path to the /about/ URL. I also had some patches a while ago [1] to add a render mode to CGit's tree view which is probably closer to what you want, but I don't think there was ever any feedback and I didn't pursue it. There's a version rebased onto an up-to-date master on my GitHub [2]. [1] https://lists.zx2c4.com/pipermail/cgit/2016-September/003289.html [2] https://github.com/johnkeeping/cgit/tree/render-mode