File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 10
10
import shutil
11
11
12
12
"""
13
- This script does two things that improve the website organization.
13
+ This script does three things that improve the website organization.
14
14
15
15
First, we used to host in the root of the webpage, but have now moved to
16
16
``/stable/``. We do not want obsolete links to link to nothing (or that has
21
21
Second, it changes the canonical link in each html file to the newest version
22
22
found of the html file (including stable if its in the latest version.)
23
23
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
+
24
27
This script takes a while, and is destructive, so should probably be run on a
25
28
branch and pushed as a PR so it can easily be reverted.
26
29
"""
You can’t perform that action at this time.
0 commit comments