List for cgit developers and users
 help / color / mirror / Atom feed
From: daniel at danielmoch.com (Daniel Moch)
Subject: Viewing Repository "About" Tab
Date: Sat, 19 Oct 2019 08:41:28 -0400	[thread overview]
Message-ID: <20191019124128.GA23829@fat-tire.djmoch.org> (raw)
In-Reply-To: <CAMj1aXWKcMbXzhV49otbBrKM-PFUUV=zXcstyYKN2E=H65hYJQ@mail.gmail.com>

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>


  reply	other threads:[~2019-10-19 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 14:23 spython01
2019-10-19 12:41 ` daniel [this message]
2019-10-19 17:08   ` spython01
2019-10-19 18:42     ` daniel
2019-10-21  0:51       ` spython01

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191019124128.GA23829@fat-tire.djmoch.org \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).