On Tue, Sep 15, 2015 at 12:49 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:
On Mon, Sep 14, 2015 at 6:31 PM, Ben Coman <btc@openinworld.com> wrote:
I am having a look into Ecstatic..
What is the philosophy behind the comment in ETSite>>generateHtml ...
"We copy all input files into the output directory to not make the input dirty. We copy all because the site will need not only pillar files but also other resources such as images or css files."
That is, what is it that makes the input dirty?
Pillar generates output files in the same folder as the input file, so it mixes input and output. I don't know if it is possible to configure build folder.
Thanks Peter. It would be nice if Pillar was more flexible in this regard. For background, I am looking into Ecstatic to generate a static web site from Pillar files hosted on GitHub Pages. This is constrained to serve html files out of the base directory of the branch tagged "gh-pages". So I want to generate html files into the root folder, from pillar files in a subdirectory "_sitesrc". I have got as far as getting interested in this line... PrExportPhase>>writeAll:using: ... outputFile := (file relativeTo: self configuration baseDirectory) withExtension: aWriter fileExtension. [1] https://help.github.com/articles/user-organization-and-project-pages/ cheers -ben