From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] website: Add support for Haunt. Date: Fri, 06 Nov 2015 21:47:07 +0100 Message-ID: <87lhaac0tw.fsf@gnu.org> References: <87si4mg4fc.fsf@gnu.org> <87io5gcf5k.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]:38586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zunul-0005i7-73 for guix-devel@gnu.org; Fri, 06 Nov 2015 15:47:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zunuh-0005J8-32 for guix-devel@gnu.org; Fri, 06 Nov 2015 15:47:15 -0500 In-Reply-To: (David Thompson's message of "Thu, 5 Nov 2015 16:48: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: "Thompson, David" Cc: guix-devel "Thompson, David" skribis: > On Thu, Nov 5, 2015 at 4:25 PM, Ludovic Court=C3=A8s wrote: >> Mathieu Lirzin skribis: >> >>> +Building the website depends on the static site generator: >>> + >>> + - [[http://haunt.dthompson.us/][Haunt]] >>> + >>> +To build the site, run =E2=80=98haunt build -c guixsd.scm=E2=80=99 to = compile all of >>> +the HTML pages. To view the results, run =E2=80=98haunt serve -c guix= sd.scm=E2=80=99 >>> +and visit in a web browser. >> >> This looks nice. >> >> Is there a way to specify the output directory for the generated HTML? >> >> Currently I do: >> >> (export-web-site "/path/to/cvs/checkout") >> >> so the HTML ends up directly in the right place. > > Yes, you can tweak haunt.scm a bit: > > (site ... #:build-directory "/path/to/cvs/checkout") And from the command line? I don=E2=80=99t want to hard-code /home/ludo in= the code. :-) > WARNING: Haunt builds the site afresh at each 'haunt build' run, which > means that it deletes everything in the build directory first. Will > that be an issue here? That should be fine. Thanks, Ludo=E2=80=99.