About or readme formatting for subfolders
John Keeping
john at keeping.me.uk
Fri Mar 30 14:08:34 CEST 2018
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
More information about the CGit
mailing list