sympy_doc
sympy_doc copied to clipboard
added Better way to link to old docs at docs.sympy.org
issue sympy/sympy#6614
@asmeurer that's working fine in all version except v 0.6.7
i get Access-Control-Allow-Origin'
error.i hope that's working fine on server.
What about the generate_indices script?
I also see the issue with 0.6.7.
As long as we're using Javascript can we make a popup menu? The only really important ones are latest
and dev
? Can we put those at the top of the popup, then a divider, then the rest of the versions?
The only really important ones are latest and dev? Can we put those at the top of the popup, then a divider, then the rest of the versions?
@asmeurer i am working on this.
I also see the issue with 0.6.7.
i read txt
file from same Origin but still get Access-Control-Allow-Origin'
error.i will try to solve that issue. i think that's jquery version problem.
Regarding 0.6.7, I'm guessing there's a bug in your script, perhaps due to the fact that 0.6.7 is the first entry in the file.
@asmeurer i added this type of popup menu
.
when we click on
Other
.
@asmeurer that's looks good ?
I would use a different color from yellow (see https://github.com/sympy/sympy-web-static#sympys-website-design for the pallet we use), but otherwise yes.
@asmeurer that's looks good ?
@asmeurer that's looks good ?
Yes.
Would it be possible to just check what the last value in the file is, and set that to "latest"?
@asmeurer i added this condition and update my PR.
It seems you've added jquery in multiple places.
Is it possible to not duplicate popupmenu.css?
We need to generate this automatically (update the generate_indexes.py script). When we release a new version, we should only have to run that script to fix everything. You can see what the release script runs here.
In terms of the content, I would remove the "SymPy Versions" box. Instead just call the buttons "Latest version", "Development version", and "Other versions". Also, it seems to me that the versions in "other" should be sorted from latest to least latest (reverse of what it is now).
Finally, can it highlight the version that we are presently on, and if we are on a non-latest version, have the "other" box be open by default, with the version we are on highlighted.
@asmeurer Please check the changes.
The pulsating "latest version" box is a bit confusing. It shows up when I mouse over an old version. Is that intentional?
Can we highlight for the current page (I guess use the lighter green).
@asmeurer That's looks good ?
That doesn't really indicate which version of the docs is currently active.
@asmeurer "latest version" background color is varies with time. now, that's looks good ? if not then explain little bit more which type of message box we need or sent me demo link .
No, please don't add any annoying pulsating stuff. All I'm saying is that the version of the current page should be a different color, like this
@asmeurer I like to add "latest" background color is varies with time. Should i do ?
@asmeurer I like to add "latest" background color is varies with time. Should i do ?
IMO, background should be simple. I am -1 towards a "time varying" background color.
@asmeurer As we discuss about Docker container. I built my own docker container and then i transfer this on Sympy docker container. give me detail about which dependency you want to run on Docker container.
@asmeurer Please check the changes.
Doesn't seem to work. "Latest" is always highlighted, even when pages for other versions.
@asmeurer Sorry for delay, I added "latest" background color which is varies with time in Sympy 1.0 version.
@asmeurer That's looks good?