From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: JavaScript on web site Date: Tue, 03 Nov 2015 13:52:15 +0100 Message-ID: <87611jgs8w.fsf@gnu.org> References: <87wpu2kaa3.fsf@gmail.com> <87611lg2jc.fsf@gnu.org> <87vb9ld8te.fsf@gnu.org> <87mvuv1mo5.fsf_-_@gnu.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]:48565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztb4c-0005Ym-He for guix-devel@gnu.org; Tue, 03 Nov 2015 07:52:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ztb4b-0008VR-NJ for guix-devel@gnu.org; Tue, 03 Nov 2015 07:52:26 -0500 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") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Alex Kost Hi, > Alex Vong 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 =E2=80=9CDIR/website=E2=80= =9D. Simplifying the build process is on my TODO list. :) -- Mathieu Lirzin