mirror of https://github.com/crossplane/docs.git
Merge pull request #92 from hasheddan/default-v1.1
Use release-1.1 branch as latest docs
This commit is contained in:
commit
c1dc8dbde6
|
@ -7,5 +7,5 @@
|
||||||
{% assign podcastLink = "https://www.youtube.com/playlist?list=PL510POnNVaaYFuK-B_SIUrpIonCtLVOzT" %}
|
{% assign podcastLink = "https://www.youtube.com/playlist?list=PL510POnNVaaYFuK-B_SIUrpIonCtLVOzT" %}
|
||||||
{% assign blogLink = "https://blog.crossplane.io/" %}
|
{% assign blogLink = "https://blog.crossplane.io/" %}
|
||||||
{% assign communityMeetingLink = "https://github.com/crossplane/crossplane/#get-involved" %}
|
{% assign communityMeetingLink = "https://github.com/crossplane/crossplane/#get-involved" %}
|
||||||
{% assign latestDocs = "/docs/v1.0" | append: '/' | relative_url %}
|
{% assign latestDocs = "/docs/v1.1" | append: '/' | relative_url %}
|
||||||
{% assign cncfLink = "https://www.cncf.io/" %}
|
{% assign cncfLink = "https://www.cncf.io/" %}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{% assign currentVersion = url[2] %}
|
{% assign currentVersion = url[2] %}
|
||||||
{% assign currentVersionBranch = currentVersion | replace: 'v', 'release-' %}
|
{% assign currentVersionBranch = currentVersion | replace: 'v', 'release-' %}
|
||||||
{% assign currentVersionPath = '/docs/' | append: currentVersion | append: '/' %}
|
{% assign currentVersionPath = '/docs/' | append: currentVersion | append: '/' %}
|
||||||
{% assign latestVersion = "v1.0" %}
|
{% assign latestVersion = "v1.1" %}
|
||||||
{% assign filepath = page.url | replace: currentVersionPath %}
|
{% assign filepath = page.url | replace: currentVersionPath %}
|
||||||
{% assign repopath = 'docs/' | append: filepath | remove: '.html' | append: '.md' %}
|
{% assign repopath = 'docs/' | append: filepath | remove: '.html' | append: '.md' %}
|
||||||
{% if repopath == 'docs/.md' %}{% assign repopath = 'docs/README.md' %}{% endif %}
|
{% if repopath == 'docs/.md' %}{% assign repopath = 'docs/README.md' %}{% endif %}
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if currentVersion == "master" or currentVersion == "v1.1" %}
|
{% if currentVersion == "master" %}
|
||||||
<div class="alert master">
|
<div class="alert master">
|
||||||
<p>
|
<p>
|
||||||
<b>PLEASE NOTE</b>: This document applies to an <b>unreleased</b> version of Crossplane. It is strongly recommended that you only use official releases of Crossplane, as unreleased versions are subject to changes and incompatibilities that will not be supported in the official releases.
|
<b>PLEASE NOTE</b>: This document applies to an <b>unreleased</b> version of Crossplane. It is strongly recommended that you only use official releases of Crossplane, as unreleased versions are subject to changes and incompatibilities that will not be supported in the official releases.
|
||||||
|
|
Loading…
Reference in New Issue