1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

update master to generate docs like rancher.github.io does

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-08-17 06:01:19 +10:00
parent cb36d1c400
commit 7a0ebc409b
81 changed files with 538 additions and 174 deletions

View File

@@ -0,0 +1,3 @@
{% include os-header.html %}
{% include os-sidebar-v1.0.html %}
{% include footer.html %}

View File

@@ -1,3 +1,3 @@
{% include os-header.html %}
{% include os-sidebar.html %}
{% include os-sidebar-v1.0.html %}
{% include footer.html %}

View File

@@ -0,0 +1,14 @@
{% capture version %}/{{page.version}}/{% endcapture %}
{% capture redirectto %}{{site.baseurl}}/{{ page.path | replace: "/latest/", version | replace: "index.md", "" }}{% endcapture %}
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="{{redirectto}}">
<meta http-equiv="refresh" content="0; url={{redirectto}}">
<h1>Redirecting...</h1>
version: {{version}}
from (os/latest/en) {{site.baseurl}}/{{page.path}}
to {{redirectto}}
<a href="{{redirectto}}">Click here if you are not redirected.</a>
<script>location="{{redirectto}}"</script>

View File

@@ -0,0 +1,14 @@
{% capture version %}/{{page.version}}/{% endcapture %}
{% capture redirectto %}{{site.baseurl}}/{{ page.path | replace: "/latest/", "/latest/en/" | replace: "/latest/", version | replace: "index.md", "" }}{% endcapture %}
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="{{redirectto}}">
<meta http-equiv="refresh" content="0; url={{redirectto}}">
<h1>Redirecting...</h1>
version: {{version}}
from (os/latest) {{site.baseurl}}/{{page.path}}
to {{redirectto}}
<a href="{{redirectto}}">Click here if you are not redirected.</a>
<script>location="{{redirectto}}"</script>

View File

@@ -0,0 +1,15 @@
{% capture version %}/{{page.version}}/{% endcapture %}
{% capture baseto %}os/{{page.version}}/en/{% endcapture %}
{% capture redirectto %}{{site.baseurl}}/{{ page.path | replace_first: "os/", baseto | replace: "index.md", "" }}{% endcapture %}
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting...</title>
<link rel="canonical" href="{{redirectto}}">
<meta http-equiv="refresh" content="0; url={{redirectto}}">
<h1>Redirecting...</h1>
version: {{version}}
from (os) {{site.baseurl}}/{{page.path}}
to {{redirectto}}
<a href="{{redirectto}}">Click here if you are not redirected.</a>
<script>location="{{redirectto}}"</script>

View File

@@ -1,3 +1,3 @@
{% include rancher-header.html %}
{% include rancher-sidebar-v1.5.html %}
{% include footer.html %}
{% include footer-archive.html %}