List for cgit developers and users
 help / color / mirror / Atom feed
* About or readme formatting for subfolders
@ 2018-03-20 16:40 gnidorah
  2018-03-30 12:08 ` john
  0 siblings, 1 reply; 2+ messages in thread
From: gnidorah @ 2018-03-20 16:40 UTC (permalink / raw)


Hi.

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* About or readme formatting for subfolders
  2018-03-20 16:40 About or readme formatting for subfolders gnidorah
@ 2018-03-30 12:08 ` john
  0 siblings, 0 replies; 2+ messages in thread
From: john @ 2018-03-30 12:08 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-30 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20 16:40 About or readme formatting for subfolders gnidorah
2018-03-30 12:08 ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).