From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Website implementation Date: Mon, 09 Mar 2015 10:30:51 +0100 Message-ID: <871tkyplf8.fsf@gnu.org> References: <74473d9c7d46e51bfa41629c7028c650@openmailbox.org> <87a8zo4gbt.fsf@fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUu1b-0004eN-IL for guix-devel@gnu.org; Mon, 09 Mar 2015 05:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUu1Y-0005QJ-9m for guix-devel@gnu.org; Mon, 09 Mar 2015 05:30:59 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUu1Y-0005QE-5I for guix-devel@gnu.org; Mon, 09 Mar 2015 05:30:56 -0400 In-Reply-To: <87a8zo4gbt.fsf@fsf.org> (David Thompson's message of "Sat, 07 Mar 2015 17:01:58 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > Luis Felipe L=C3=B3pez Acevedo writes: [...] >> - Skribilo > > I haven't used Skribilo enough to know if it should be used for this > purpose. Ludo? The =E2=80=9CExample=E2=80=9D section of the web page can give you a feel o= f what it=E2=80=99s like. Basically, you write a =E2=80=98document=E2=80=99 form: (document :title [My Stuff] (chapter :title [Foo] (p [This is some text.]))) Then run: skribilo -t html -o foo.html foo.skb And you=E2=80=99re done. Then there are =E2=80=9Ccustoms=E2=80=9D that can be set to specify whether= to use separate HTML pages for chapters, what CSS file to use, etc. > Lisps have built-in templating via quasiqoute, so you can do any > transformations you'd like on the resulting s-expression. SXML is a > popular way of writing XML/HTML templates in Lisp. See guix-web for > examples. [1] Another simple example is the build-aux/list-packages.scm program in the Guix source tree, which is used to generate . HTH, Ludo=E2=80=99.