Merge pull request #92 from hasheddan/default-v1.1

Use release-1.1 branch as latest docs
This commit is contained in:
Daniel Mangum 2021-03-03 15:30:52 -06:00 committed by GitHub
commit c1dc8dbde6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -7,5 +7,5 @@
{% assign podcastLink = "https://www.youtube.com/playlist?list=PL510POnNVaaYFuK-B_SIUrpIonCtLVOzT" %}
{% assign blogLink = "https://blog.crossplane.io/" %}
{% 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/" %}

View File

@ -4,7 +4,7 @@
{% assign currentVersion = url[2] %}
{% assign currentVersionBranch = currentVersion | replace: 'v', 'release-' %}
{% assign currentVersionPath = '/docs/' | append: currentVersion | append: '/' %}
{% assign latestVersion = "v1.0" %}
{% assign latestVersion = "v1.1" %}
{% assign filepath = page.url | replace: currentVersionPath %}
{% assign repopath = 'docs/' | append: filepath | remove: '.html' | append: '.md' %}
{% if repopath == 'docs/.md' %}{% assign repopath = 'docs/README.md' %}{% endif %}
@ -56,7 +56,7 @@
</div>
{% if currentVersion == "master" or currentVersion == "v1.1" %}
{% if currentVersion == "master" %}
<div class="alert master">
<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.