List for cgit developers and users
 help / color / mirror / Atom feed
From: hjemli at gmail.com (Lars Hjemli)
Subject: About tab not showing on repo page
Date: Wed, 8 Feb 2017 18:36:01 +0100	[thread overview]
Message-ID: <CAFXTnz7XYg5xOrp00KWbRUnJiLPu2oc+UTsYqueqfyc_FV4x_g@mail.gmail.com> (raw)
In-Reply-To: <20170208170102.GA8625@dtarchaio>

On Wed, Feb 8, 2017 at 6:01 PM, David Thurstenson <thurstylark at gmail.com> wrote:
> On my cgit instance[1], I have a few repos that have either a 'README'
> or a 'README.md' file at the root of the repo. In my cgitrc[2] I have
> 'readme=:README' and 'readme=:README.md' (among other things), but I
> still have no about tab on the repo page.

Try to move the 'scan-path' directive to the end of your cgitrc.

From https://git.zx2c4.com/cgit/tree/cgitrc.5.txt#n392 :

  "Be advised that only the global settings taken before the scan-path
directive will be applied to each repository."

PS: this is a recurring question - maybe the FAQ should be updated, or
the text in cgitrc.5?

Hth,
larsh


  reply	other threads:[~2017-02-08 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 17:01 thurstylark
2017-02-08 17:36 ` hjemli [this message]
2017-02-08 17:47   ` thurstylark
2017-02-08 21:58     ` i
2017-02-08 22:33       ` thurstylark

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=CAFXTnz7XYg5xOrp00KWbRUnJiLPu2oc+UTsYqueqfyc_FV4x_g@mail.gmail.com \
    --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).