[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] website: Add support for Haunt.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] website: Add support for Haunt. |
Date: |
Fri, 06 Nov 2015 21:47:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
"Thompson, David" <address@hidden> skribis:
> On Thu, Nov 5, 2015 at 4:25 PM, Ludovic Courtès <address@hidden> wrote:
>> Mathieu Lirzin <address@hidden> skribis:
>>
>>> +Building the website depends on the static site generator:
>>> +
>>> + - [[http://haunt.dthompson.us/][Haunt]]
>>> +
>>> +To build the site, run ‘haunt build -c guixsd.scm’ to compile all of
>>> +the HTML pages. To view the results, run ‘haunt serve -c guixsd.scm’
>>> +and visit <http://localhost:8080> 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’t 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’.
- [PATCH] website: Add support for Haunt., Mathieu Lirzin, 2015/11/03
- Re: [PATCH] website: Add support for Haunt., Thompson, David, 2015/11/03
- Re: [PATCH] website: Add support for Haunt., Daniel Pimentel, 2015/11/03
- Re: [PATCH] website: Add support for Haunt., Ludovic Courtès, 2015/11/05
- Re: [PATCH] website: Add support for Haunt.,
Ludovic Courtès <=
- Re: [PATCH] website: Add support for Haunt., Thompson, David, 2015/11/06
- Re: [PATCH] website: Add support for Haunt., Ludovic Courtès, 2015/11/07
- Re: [PATCH] website: Add support for Haunt., Thompson, David, 2015/11/09
Re: [PATCH] website: Add support for Haunt., Alex Vong, 2015/11/10