On 08/29/2013 01:35 PM, Gael Varoquaux wrote:
> On Thu, Aug 29, 2013 at 01:27:45PM +0200, Andreas Mueller wrote:
>> Why can't we just put the content of the stable website in the main
>> folder and the dev website in this folder?
> This is the way it used to be, but the risk is to run into collisions.
> However, we could move the main index.html one step higher and have the
> documentation itself in stable.
>
As far as I understood (90% certainty), github supports automatic
redirects via jekyll (it will generate loads of /stable/auto_examples/.. 
files that redirect to /auto_examples/...).
If we keep everything in stable except the index, I guess it would work 
the other way around.

Should be one line in the .jekyll file (from what 2 min of googleing 
gave me - we also need to take care
that jekyll doesn't touch the folders that start their name with 
underscores but that shouldn't be hard either).

I'd favor the "redirect /stable to /" solution to the "redirect / to 
stable" solution, but both have their pros and cons.
Collisions are possible, but only if we have a subfolder on the website 
called "dev", "0.14" (or any other X.X),
which I would argue is easy to avoid ;)

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to