New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
website coqdoc outdated / release process incomplete #361
Comments
CC @CohenCyril @affeldt-aist Ping @maximedenes |
FTR, the website at http://math-comp.github.io/math-comp/ has the update coqdoc, while the one at https://math-comp.github.io/ has not! |
I didn't realize the website was duplicated. |
it's a bug ;-) |
Should we take down http://math-comp.github.io/math-comp/ or keep it as a documentation-specific website? |
PS: Many links (papers, website, posts, chat messages) might still reference http://math-comp.github.io/math-comp/ as the main page, so I advocate we keep the page alive but re-purpose it as I said. What do you think? |
I think that keeping the two is a bad idea, because it will be too confusing for both users and maintainers of the website. Can't we just redirect http://math-comp.github.io/math-comp/ to http://math-comp.github.io? |
yes I think we can |
Great! Yet this redirection topic is slightly different from the one of the present issue, which is about the bad version of the documentation linked from http://math-comp.github.io. |
Merge only after solving issue #361
Ping @maximedenes . |
Sorry for this confusing situation. Can you clarify what you want me to do? |
Today the coqdoc documentation linked from the new location of the website is outdated. E.g.: Actions needed:
Point 3 is addressed by #365 but points 1 and 2 are not done, and should precede 3. |
Working on 1. For 2., I'll need to discuss with @gares how to separate concerns between math-comp proper and the website. The current html doc build script does very strange things, including mangling source files in place without warning... Not sure I can write reliable and reasonable release instructions with this state of affairs. |
Many thanks @maximedenes ! |
Wait! @gares didn't your https://github.com/math-comp/math-comp.github.io/blob/master/Makefile The file header is a bit terse. |
And of course it is not idempotent. So I got incorrect results, and will need to rebuild math comp entirely. Please bear with me. |
This should be dropped (it was used when we could not release by tagging master).
The Makefile in https://github.com/math-comp/math-comp/blob/master/docs/htmldoc/Makefile is idempotent when it succeeds (it checks your tree is clean and uses git to restore the old files at the end). If you move the Makefile elsewhere you could get in input the git url to clone (a tag for the release, a branch for testing things) |
Yeah but a successful build is typically one you don't restart, whereas failing ones... |
Yes, I think that's what we should do (although not sure it should be a |
It leaves you the thing that did not compile, so that you can inspect it. I really don't get what the problem is. |
The problem (IIUC) is that when you fix the problem and relaunch the build, it will mangle the sources more, and you get formatting issues in the final html. |
Then the check must be incomplete (since I guess you did not commit the mangled sources). |
Yes, the test is broken. We are discussing it in the other thread. Anyway, it seems I finally got the updated HTML documentation. Will create a PR. |
@amahboubi For 1., see math-comp/math-comp.github.io#7 |
Very good, thanks! One last thing regarding 1 and 3. As far as I can see, we now how two versions of the coqdoc,e.g.: Today, there are identical, but will they stay so? Can we either remove the 2nd one, or redirect to the first? It seems to me that #365 only addresses the re-direction of the root of the site. @CohenCyril can you confirm? |
Merge only after solving issue math-comp#361
Merge only after solving issue #361
At some point @maximedenes made the website available at https://math-comp.github.io/ but the release process documented at https://github.com/math-comp/math-comp/wiki/Howto-Release misses a step to synchronize the websites (since the authoritative contents are still in the .../math-comp/ repo I guess).
The text was updated successfully, but these errors were encountered: