Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Sudhanshu Mishra
Hi all I've sent a PR to update the dev docs. With Regards Sudhanshu Mishra On Wednesday, April 16, 2014 9:35:59 PM UTC+5:30, Aaron Meurer wrote: > > Until then, anyone can update the dev docs. Just send a pull request to > https://github.com/sympy/s

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Aaron Meurer
Until then, anyone can update the dev docs. Just send a pull request to https://github.com/sympy/sympy_doc, or push it directly if you have access. There are instructions in the README on how to do it (it's really simple). Aaron Meurer On Wed, Apr 16, 2014 at 11:03 AM, Aaron Meurer wrote: > Th

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Aaron Meurer
The dev docs are a separate issue. The problem there is that they are only updated when someone builds them and updates the docs in the repo. It would be nice if we had a bot that did this automatically. Aaron Meurer On Wed, Apr 16, 2014 at 2:13 AM, F. B. wrote: > By the way, the dev docs are

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Aaron Meurer
We can manually add it to the old docs I suppose. Aaron Meurer On Wed, Apr 16, 2014 at 8:03 AM, Jason Moore wrote: > I guess this doesn't matter. We will just have to generate the old docs > with the new warning manually for each release. > > > Jason > moorepants.info > +01 530-601-9791 > > >

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
I guess this doesn't matter. We will just have to generate the old docs with the new warning manually for each release. Jason moorepants.info +01 530-601-9791 On Wed, Apr 16, 2014 at 8:43 AM, Jason Moore wrote: > I started implementing something for this, but I don't know what to do > about t

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
I started implementing something for this, but I don't know what to do about the fact that the patch I'm creating will only work for this version of sympy and future versions. If I git checkout an older version of sympy and build the docs, it will of course not have my patch. Any ideas on how we co

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
Sphinx allows you to introduce jinja templates to override their defaults. I think all you have to do is copy the correct template that Sphinx is already using, modify it to your liking, and drop it in the _templates directory: http://sphinx-doc.org/templating.html Jason moorepants.info +01 530

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread F. B.
By the way, the dev docs are stuck to version 0.7.3 http://docs.sympy.org/dev/ -- 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 sympy+unsubscr...@googlegroups.com. To p

Re: [sympy] Taking down older versions of our docs

2014-04-15 Thread Ondřej Čertík
On Tue, Apr 15, 2014 at 2:55 PM, Aaron Meurer wrote: > We currently host a lot of old versions of our docs at docs.sympy.org. I > don't really like this though, because too many people end up at old > versions of the docs. For example, if you google "sympy matrices" you end up > at the 0.7.2 docs.

Re: [sympy] Taking down older versions of our docs

2014-04-15 Thread Aaron Meurer
The docs aren't using jinja. They're just html generated by Sphinx, with some patches to support cross-linking (see https://github.com/sympy/sympy_doc/blob/gh-pages/generate_indexes.py). If you know how to make it use Jinja and that would make things easier, then definitely go for it. Aaron Meurer

Re: [sympy] Taking down older versions of our docs

2014-04-15 Thread Jason Moore
It should be fairly easy to have an if statement in the jinja templates that shows a warning and link to the newer docs only if the docs aren't the latest. I think we should leave old docs available and just add the warning. readthedocs does this automatically for you, I believe. Jason moorepants

[sympy] Taking down older versions of our docs

2014-04-15 Thread Aaron Meurer
We currently host a lot of old versions of our docs at docs.sympy.org. I don't really like this though, because too many people end up at old versions of the docs. For example, if you google "sympy matrices" you end up at the 0.7.2 docs. Should we remove the old versions of the docs, possibly addi