List for cgit developers and users
 help / color / mirror / Atom feed
From: john at keeping.me.uk (John Keeping)
Subject: How to apply about-formatting.sh to appropriate tree files
Date: Sat, 11 Aug 2018 14:11:31 +0100	[thread overview]
Message-ID: <20180811131131.GA2084@john.keeping.me.uk> (raw)
In-Reply-To: <CAKcFC3ahL0k9orRs4a9ChzmzpiVH5PO3gSdu6ebKP5OD+qvBmA@mail.gmail.com>

On Sat, Aug 11, 2018 at 01:51:09PM +0200, jean-christophe manciot wrote:
> I could not find a way with v1.2.1 to get any markdown/html files formatted
> correctly when read from the tree.
> I already successfully use the
> "about-filter=/usr/local/lib/cgit/filters/about-formatting.sh" setting in
> /etc/cgitrc, but it only pertains to the about page.
> How can we use this filter for all appropriate tree files?

This is not currently supported.

Some patches were posted a little while ago [1] which add this feature,
but they're not quite ready to be integrated yet.

The best summary of where we want to go is [2].

[1] https://lists.zx2c4.com/pipermail/cgit/2018-June/003978.html
[2] https://lists.zx2c4.com/pipermail/cgit/2018-July/004127.html


  reply	other threads:[~2018-08-11 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-11 11:51 actionmystique
2018-08-11 13:11 ` john [this message]
2018-08-16  8:35   ` actionmystique

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=20180811131131.GA2084@john.keeping.me.uk \
    --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).