File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,14 @@ version = "dev"
1111dirpath = " dev"
1212url = " /dev/"
1313[[versions ]]
14- version = " 1.7 "
14+ version = " 1.8 "
1515dirpath = " latest"
1616url = " /latest/"
1717[[versions ]]
18+ version = " 1.7"
19+ dirpath = " 1.7"
20+ url = " /1.7/"
21+ [[versions ]]
1822version = " 1.6"
1923dirpath = " 1.6"
2024url = " /1.6/"
Original file line number Diff line number Diff line change 11# Redirect homepage to the latest version
22/ {{ .Site.BaseURL }}/latest/ 301!
33/docs/ {{ .Site.BaseURL }}/latest/ 301!
4- /1.7/ {{ .Site.BaseURL }}/latest 301!
5- /1.7.0/ {{ .Site.BaseURL }}/latest 301!
4+ /1.8/ {{ .Site.BaseURL }}/latest 301!
5+ /1.8.0/ {{ .Site.BaseURL }}/latest 301!
6+ /1.7.0/ {{ .Site.BaseURL }}/1.7 301!
67/1.6.0/ {{ .Site.BaseURL }}/1.6 301!
78/1.5.0/ {{ .Site.BaseURL }}/1.5 301!
89/1.4.0/ {{ .Site.BaseURL }}/1.4 301!
Original file line number Diff line number Diff line change 66
77_CURRENT_DIR = Path .cwd ()
88
9- _TOML_FILE = _CURRENT_DIR / "docs/ config/production/params.toml"
10- _REDIR_FILE = _CURRENT_DIR / "docs/ layouts/index.redir"
9+ _TOML_FILE = _CURRENT_DIR / "config/production/params.toml"
10+ _REDIR_FILE = _CURRENT_DIR / "layouts/index.redir"
1111
1212
1313def bump_toml (file_path : Path , version : list [int ]):
You can’t perform that action at this time.
0 commit comments