sagemathinc / cocalc-doc

cocalc user manaual
https://doc.cocalc.com
Creative Commons Attribution 4.0 International
19 stars 111 forks source link

cocalc-docker: discontinued #61

Closed haraldschilly closed 3 months ago

haraldschilly commented 3 months ago

the page https://doc.cocalc.com/docker-image.html should shrink down to an explanation, that this is a discontinued product.

novoselt commented 3 months ago

I got very confused tracking it down since I could not locate the source file. That's because it is gone, but that trick with gh-pages as "a special independent branch" keeps copies of old deleted files. In particular the navigation panel is different at the link above, because it was generated a while ago.

So what is the proper solution here? Should I recreate the file, put a deprecated note there, and never ever delete a page, but just take it out of TOC and put a message that it is gone? Can we customize 404 to have a link to the main page instead? Or just redirect there automatically?

haraldschilly commented 3 months ago

hmm, maybe we should delete all files and re-deploy, such that there aren't any old ones lying around? I don't remember how I got to that link. In any case, I'll delete that page, just to avoid future confusion.

haraldschilly commented 3 months ago

I've just deleted two old pages, manually. Probably best would be to delete all files prior to copying the artifacts over and deploying it.

https://github.com/sagemathinc/cocalc-doc/commit/c62c6ab8cb759a7fdc528b6aca18a3437c46e564

novoselt commented 3 months ago

I'm following deployment instructions that Hal has passed to me - when I tried to be more clever with rsync and delete no longer existing files, things got really messed up!