List for cgit developers and users
 help / color / mirror / Atom feed
From: john at keeping.me.uk (John Keeping)
Subject: md2html is inoperative
Date: Sat, 30 Jun 2018 16:39:52 +0100	[thread overview]
Message-ID: <20180630153952.GW6584@john.keeping.me.uk> (raw)
In-Reply-To: <CAKcFC3awpu4UaG+1GESiWASy48EivBW_vDD24Jcr3HT0qYPY5w@mail.gmail.com>

On Thu, Jun 28, 2018 at 12:50:49PM +0200, jean-christophe manciot wrote:
> On Ubuntu 18.10 cosmic
> cgit 1.1+git2.10.2-3build1
> python3: 3.6.5-3
> python3-docutils: 0.14+dfsg-3
> python3-markdown: 2.6.9-1
> python3-pygments: 2.2.0+dfsg-1
> 
> In /etc/cgitrc:
> about-filter=/usr/lib/cgit/filters/about-formatting.sh
> 
> Despite that setting, the README.md file loaded from the <about> link is
> not formatted correctly. It seems that no conversion takes place.

Are you sure that there isn't a repo-specific override in place for the
about-filter?  And that you're not seeing cached content immediately
after changing the setting?

You can test CGit from the command line to rule out a misconfiguration
in the web server:

	CGIT_CONFIG=/etc/cgitrc cgit --query=url=repo/about/

> # about-formatting.sh README.md 

Note that for testing you should try something like:

	about-formatting.sh README.md <README.md

to check that python-markdown is invoked correctly.


  reply	other threads:[~2018-06-30 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 10:50 actionmystique
2018-06-30 15:39 ` john [this message]
2018-07-02  8:17   ` actionmystique
2018-07-05 15:38     ` 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=20180630153952.GW6584@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).