[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <86oablcn4d.fsf@hiro.keithp.com>
Date: Fri, 12 Feb 2016 19:20:18 -0800
From: Keith Packard <keithp@...thp.com>
To: Jonathan Corbet <corbet@....net>,
Jani Nikula <jani.nikula@...el.com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Daniel Vetter <daniel.vetter@...ll.ch>
Subject: Re: [RFC] A first shot at asciidoc-based formatted docs
Keith Packard <keithp@...thp.com> writes:
> The goal would be to create an html document which could be used without
> javascript, and that would work without css as well.
I've managed to hack up asciidoc to generate the TOC within the
document, rather than requiring javascript. The changes are fairly
minor, and seem to add a nice generalization to the asciidoc environment
which should be useful in other contexts.
The changes consist of two bits -- the first is to allow the diversion
of some text from .conf file sections, the second is to postpone some
attribute processing to a second pass over the document so that the TOC
can be inserted in the desired location, instead of requiring that it be
placed at the bottom.
I've sent these changes upstream, and also pushed them to a personal
asciidoc git repository at :
git clone git://keithp.com/git/asciidoc
--
-keith
Download attachment "signature.asc" of type "application/pgp-signature" (811 bytes)
Powered by blists - more mailing lists