Viewing Repository "About" Tab

Daniel Moch daniel at danielmoch.com
Sat Oct 19 14:41:28 CEST 2019


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
daniel at danielmoch.com
http://djmoch.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20191019/b81c251f/attachment.asc>


More information about the CGit mailing list