[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] website: Add support for Haunt.
From: |
Thompson, David |
Subject: |
Re: [PATCH] website: Add support for Haunt. |
Date: |
Fri, 6 Nov 2015 15:58:56 -0500 |
On Fri, Nov 6, 2015 at 3:47 PM, Ludovic Courtès <address@hidden> wrote:
> "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. :-)
I guess I need to add an option to 'haunt build' for that.
>> 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.
OK. I was worried that maybe some "stateful" stuff like the manual
html pages would get clobbered or something.
- Dave
- [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, 2015/11/06
- Re: [PATCH] website: Add support for Haunt.,
Thompson, David <=
- 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