I have added http://docs.sympy.org/latest, which automatically
redirects to http://docs.sympy.org/0.7.2.  I made it so that specific
pages redirect to specific pages, so for example,
http://docs.sympy.org/latest/gotchas.html redirects to
http://docs.sympy.org/0.7.2/gotchas.html.  Use this from now on when
you put links to docs in places that will be permanent.

To do this, I have added a script to the docs repo to generate
redirects 
(https://github.com/sympy/sympy_doc/blob/gh-pages/generate_redirects.py).
 It just creates a html page in latest/ for each page in 0.7.2/ with a
redirect.  I don't know much about html, so if someone can see that I
am doing something wrong here, or if you know of a better way to do
it, please let me know. I think usually one would do this sort of
thing with htaccess, but since GitHub pages are static, we cannot do
that.

One issue I noticed while testing this is that web browsers (or at
least Chrome) cache the redirect. I'm not sure for how long, but if it
is for a long time, this could be an issue when we update it with a
new release.

By the way, if you ever update the docs in that repo (either docs for
a release or development docs), please read the README that I have put
there.

Aaron Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to