Skip to content

Commit 4cfd728

Browse files
committed
Generated initial gh-pages
Signed-off-by: Daniel Azuma <[email protected]>
1 parent 28b88d0 commit 4cfd728

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

.gitignore

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
11
.DS_Store
2-
.bundle/
3-
.yardoc/
4-
Gemfile.lock
5-
coverage/
6-
doc/
7-
lib/
8-
pkg/
9-
test/
10-
tmp/

404.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@
55
</head>
66
<body>
77
<p>
8-
<a href="https://cloudevents.github.io/sdk-ruby/latest">Ruby CloudEvents SDK documentation</a>
8+
<a href="https://cloudevents.github.io/sdk-ruby/index.html">Main documentation page</a>
99
</p>
1010
</body>
1111
<script>
1212
var version = "0.8.0";
13-
if (window.location.href.includes("//cloudevents.github.io/sdk-ruby/latest")) {
13+
var location_updated = false;
14+
if (!location_updated && window.location.href.includes("//cloudevents.github.io/sdk-ruby/./latest")) {
1415
var loc = window.location.href.replace(
15-
"//cloudevents.github.io/sdk-ruby/latest",
16-
"//cloudevents.github.io/sdk-ruby/v" + version);
16+
"//cloudevents.github.io/sdk-ruby/./latest",
17+
"//cloudevents.github.io/sdk-ruby/./v" + version);
1718
window.location.replace(loc);
18-
} else {
19-
window.location.replace("https://cloudevents.github.io/sdk-ruby/latest");
19+
location_updated = true;
20+
}
21+
if (!location_updated) {
22+
window.location.replace("https://cloudevents.github.io/sdk-ruby/./latest");
2023
}
2124
</script>
2225
</html>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<meta http-equiv="refresh" content="0; url=https://cloudevents.github.io/sdk-ruby/latest">
5+
<meta http-equiv="refresh" content="0; url=https://cloudevents.github.io/sdk-ruby/./latest">
66
</head>
77
<body>
88
<p>
9-
<a href="https://cloudevents.github.io/sdk-ruby/latest">Ruby CloudEvents SDK documentation</a>
9+
<a href="https://cloudevents.github.io/sdk-ruby/./latest">Documentation for latest version</a>
1010
</p>
1111
</body>
1212
<script>
13-
window.location.replace("https://cloudevents.github.io/sdk-ruby/latest");
13+
window.location.replace("https://cloudevents.github.io/sdk-ruby/./latest");
1414
</script>
1515
</html>

v0.0.0/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
</head>
6+
<body>
7+
<p>
8+
No releases yet for cloud_events.
9+
</p>
10+
</body>
11+
</html>

0 commit comments

Comments
 (0)