unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Lirzin <mthl@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, Alex Kost <alezost@gmail.com>
Subject: Re: JavaScript on web site
Date: Tue, 03 Nov 2015 13:52:15 +0100	[thread overview]
Message-ID: <87611jgs8w.fsf@gnu.org> (raw)
In-Reply-To: <87mvuv1mo5.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Tue, 03 Nov 2015 10:01:46 +0100")

Hi,

> Alex Vong <alexvong1995@gmail.com> skribis:
>
>> By the way, does anyone know how to build the guix website from
>> source?

There are some instructions in website/README but I must confess they
are not very explicit.  Assuming that DIR is the root of your personal
guix-artwork repository, in a REPL you can do:

  (chdir "DIR/website")
  (add-to-load-path (getcwd))
  (use-modules (www) (www utils))
  (parameterize ((current-url-root (getcwd))
                 (gnu.org-root "https://www.gnu.org"))
    (export-web-site))

Then you will have the generated html files in “DIR/website”.

Simplifying the build process is on my TODO list.  :)

--
Mathieu Lirzin

  reply	other threads:[~2015-11-03 12:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-31 11:27 2 (possible) problems in documentation Alex Vong
2015-10-31 21:17 ` Alex Kost
2015-11-01  3:22   ` Alex Vong
2015-11-01 15:13     ` Alex Kost
2015-11-01 15:30     ` Mathieu Lirzin
2015-11-01 15:43       ` Mathieu Lirzin
2015-11-03  4:46         ` Alex Vong
2015-11-03  8:58           ` Ludovic Courtès
2015-11-03  9:01           ` JavaScript on web site Ludovic Courtès
2015-11-03 12:52             ` Mathieu Lirzin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-03 12:39 Alex Vong

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87611jgs8w.fsf@gnu.org \
    --to=mthl@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).