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:
3
docs/_layouts/os-default-v1.0.html
Normal file
3
docs/_layouts/os-default-v1.0.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{% include os-header.html %}
|
||||
{% include os-sidebar-v1.0.html %}
|
||||
{% include footer.html %}
|
@@ -1,3 +1,3 @@
|
||||
{% include os-header.html %}
|
||||
{% include os-sidebar.html %}
|
||||
{% include os-sidebar-v1.0.html %}
|
||||
{% include footer.html %}
|
||||
|
14
docs/_layouts/os-latest-en-redirect.html
Normal file
14
docs/_layouts/os-latest-en-redirect.html
Normal 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>
|
||||
|
14
docs/_layouts/os-latest-redirect.html
Normal file
14
docs/_layouts/os-latest-redirect.html
Normal 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>
|
||||
|
15
docs/_layouts/os-redirect.html
Normal file
15
docs/_layouts/os-redirect.html
Normal 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>
|
||||
|
@@ -1,3 +1,3 @@
|
||||
{% include rancher-header.html %}
|
||||
{% include rancher-sidebar-v1.5.html %}
|
||||
{% include footer.html %}
|
||||
{% include footer-archive.html %}
|
||||
|
Reference in New Issue
Block a user