File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010import shutil
1111
1212"""
13- This script does two things that improve the website organization.
13+ This script does three things that improve the website organization.
1414
1515First, we used to host in the root of the webpage, but have now moved to
1616``/stable/``. We do not want obsolete links to link to nothing (or that has
2121Second, it changes the canonical link in each html file to the newest version
2222found of the html file (including stable if its in the latest version.)
2323
24+ Third, the script adds a new div to the top of all the old webpages with
25+ tag ``olddocs-message`` to warn users that the page is obsolete.
26+
2427This script takes a while, and is destructive, so should probably be run on a
2528branch and pushed as a PR so it can easily be reverted.
2629"""
You can’t perform that action at this time.
0 commit comments