From mboxrd@z Thu Jan 1 00:00:00 1970 From: r at uzy.me (Pablo Rauzy) Date: Thu, 05 Mar 2015 12:16:40 +0100 Subject: Description for section and link for repos In-Reply-To: <20150305095739.GB1369@serenity.lan> References: <87mw3rvoo0.fsf@uzy.me> <20150305093030.GA1369@serenity.lan> <87lhjbvkky.fsf@uzy.me> <20150305095739.GB1369@serenity.lan> Message-ID: <87ioefvhc3.fsf@uzy.me> On 2015-03-05, John Keeping wrote: > On Thu, Mar 05, 2015 at 10:51:09AM +0100, Pablo Rauzy wrote: >> What I was looking for is the possibility to for instance make cgit >> using a file called "description" in the directory that it makes a >> section as description of that section. > > I don't think this has ever been supported. > > CGit doesn't generate any links to the section pages so I'm not sure > much thought has gone into the formatting of those pages. That's what I infered. But I'd like to have both the link and the formatting. I'll think about it when I have time to. >> FWIW, here is the filter I wrote to make link clickable in plaintext >> READMEs: http://paste.fulltxt.net/LKdVjbHaY (it is quick and dirty, it >> simply considers that anything between < and > and starting with "http" >> is a link). > > Note that there is a collection of scripts in the "filters" directory > that will handle Markdown, ReStructuredText and a variety of other > formats. Yes I saw that, thanks. But I prefer to keep things simple (I only have plaintext and html readme) and fast as cgit already is :). Thanks, -- Pablo Rauzy. http://pablo.rauzy.name/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: