-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43221/#review117948
-----------------------------------------------------------




site/Rakefile (lines 30 - 37)
<https://reviews.apache.org/r/43221/#comment179243>

    Mind documenting the reason we had to do this, for posterity? I certainly 
will not remember :)



site/Rakefile (line 34)
<https://reviews.apache.org/r/43221/#comment179242>

    Do we need the `-p` here on mkdir?



site/Rakefile (line 42)
<https://reviews.apache.org/r/43221/#comment179249>

    Could we put the slash in the regex instead of in the variable?



site/Rakefile (lines 44 - 46)
<https://reviews.apache.org/r/43221/#comment179251>

    Not yours, but could we add a TODO here to move away from regexes and do a 
programmatic set of steps to perform the replacement? That will be way easier 
to reason about, this regex has become nasty.


- Ben Mahler


On Feb. 4, 2016, 8:38 p.m., Kevin Klues wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43221/
> -----------------------------------------------------------
> 
> (Updated Feb. 4, 2016, 8:38 p.m.)
> 
> 
> Review request for mesos, Ben Mahler, Greg Mann, and Neil Conway.
> 
> 
> Bugs: MESOS-3831
>     https://issues.apache.org/jira/browse/MESOS-3831
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Previously, the Rakefile for generating the mesos documentation
> website didn't support subdirectories containing markdown in the /docs
> folder. Specifically, no subdirectores were cpoied from the /docs
> folder into the site/documentation/latest folder for the website.
> Moreover, the regex used to patch relative links for the markdown
> files was incomplete. It didn't support subfolders contaning a
> top level index.md file (e.g. mydirectory/index.md). Also, due to a
> limitation in middleman, it didn't support .md files named (e.g.
> state.json.md). Middlman would generate an *html* file called
> state.json from this instead of generating the standard
> state.json/index.html like it does for other .md files.
> 
> This commit updates the Rakefile to support these features properly.
> 
> 
> Diffs
> -----
> 
>   site/Rakefile 0ce4b7975f95ab6930f0b2674191930df9ab5b20 
> 
> Diff: https://reviews.apache.org/r/43221/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Kevin Klues
> 
>

Reply via email to