Skip to content

Commit c88de94

Browse files
committed
Add help pages submodule for "latest" and redirect
So that the ./help/ or ./help/index.html URL redirects to the latest version of the documentation.
1 parent 62f5b1d commit c88de94

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "help/0.9.13"]
1111
path = help/0.9.13
1212
url = https://github.com/mu-editor/help-pages.git
13+
[submodule "help/latest"]
14+
path = help/latest
15+
url = https://github.com/mu-editor/help-pages.git

help/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="refresh" content="1; url=latest/">
6+
<script type="text/javascript">
7+
window.location.href = "latest/"
8+
</script>
9+
<title>Help redirect to latest version</title>
10+
</head>
11+
<body>
12+
If you are not redirected automatically, please follow this link to the
13+
<a href='latest/'>latest version of the documentation</a>.
14+
</body>
15+
</html>

help/latest

Submodule latest added at 780e9a3

0 commit comments

Comments
 (0)