On Thu, Oct 17, 2019 at 10:23:46AM -0400, Samir Parikh wrote:

> What is the correct way to have cgit present the "about" tab for a
> given repository (for example https://git.zx2c4.com/cgit/about/)?

The repo.readme section of the man page (cgitrc(5)) has a pretty good
write up of how to configure about pages on a per-repo basis. The readme
entry in cgitrc (*not* root-readme) acts as a default list.

I personally just keep all of the entries defined in cgitrc and dispense
with the per-repo configuration. My cgitrc looks like this:

readme=:README.md
readme=:README.rst

That way cgit will globally render README pages written in Markdown or
reStructuredText.

-- 
Daniel Moch
[email protected]
http://djmoch.org

Attachment: signature.asc
Description: PGP signature

_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to