all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Thompson <dthompson2@worcester.edu>
Cc: guix-devel@gnu.org
Subject: Re: Website implementation
Date: Mon, 09 Mar 2015 10:30:51 +0100	[thread overview]
Message-ID: <871tkyplf8.fsf@gnu.org> (raw)
In-Reply-To: <87a8zo4gbt.fsf@fsf.org> (David Thompson's message of "Sat, 07 Mar 2015 17:01:58 -0500")

David Thompson <dthompson2@worcester.edu> skribis:

> Luis Felipe López Acevedo <felipe.lopez@openmailbox.org> writes:

[...]

>>      - Skribilo <http://www.nongnu.org/skribilo/>
>
> I haven't used Skribilo enough to know if it should be used for this
> purpose.  Ludo?

The “Example” section of the web page can give you a feel of what it’s
like.  Basically, you write a ‘document’ 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’re done.

Then there are “customs” 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
<https://www.gnu.org/software/guix/package-list.html>.

HTH,
Ludo’.

  parent reply	other threads:[~2015-03-09  9:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 21:45 Website implementation Luis Felipe López Acevedo
2015-03-07 22:01 ` David Thompson
2015-03-07 22:43   ` Luis Felipe López Acevedo
2015-03-07 23:00     ` David Thompson
2015-03-09  9:30   ` Ludovic Courtès [this message]
2015-03-07 23:01 ` Taylan Ulrich Bayırlı/Kammer

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=871tkyplf8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.