Skip to content

Commit f1abe19

Browse files
authored
Merge pull request #20 from mu-editor/latest_doc
Add help pages submodule for "latest" and redirect
2 parents 62f5b1d + 516fe60 commit f1abe19

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
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

Lines changed: 15 additions & 0 deletions
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

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>Code With Mu</h1>
99
programmers. It's written in Python and works on Windows, OSX, Linux
1010
and Raspberry Pi.</p>
1111
<p><a class="btn btn-lg btn-success" href="#download"
12-
role="button">Download now</a> <a class="btn btn-primary" role="button" href="/help/0.9.13">Help</a></p>
12+
role="button">Download now</a> <a class="btn btn-primary" role="button" href="/help/">Help</a></p>
1313
</div>
1414

1515
<div class="row marketing">

0 commit comments

Comments
 (0)