mirror of https://github.com/crossplane/docs.git
Merge pull request #128 from negz/v1.5-is-best-version
Use release-1.5 branch as latest docs
This commit is contained in:
commit
c2a194cdce
|
@ -7,8 +7,8 @@
|
|||
{% 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.4" | append: '/' | relative_url %}
|
||||
{% assign latestDocs = "/docs/v1.5" | append: '/' | relative_url %}
|
||||
{% assign cncfLink = "https://www.cncf.io/" %}
|
||||
{% assign prodFormLink = "https://docs.google.com/forms/d/e/1FAIpQLSev-5clADSdkwi_wiFqBCAECeIoAQDE91chBbeWbvyTjRCeYg/viewform" %}
|
||||
{% assign infoMailToLink = "mailto:info@crossplane.io" %}
|
||||
{% assign upboundGithubLink = "https://github.com/upbound" %}
|
||||
{% assign upboundGithubLink = "https://github.com/upbound" %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% assign currentVersion = url[2] %}
|
||||
{% assign currentVersionBranch = currentVersion | replace: 'v', 'release-' %}
|
||||
{% assign currentVersionPath = '/docs/' | append: currentVersion | append: '/' %}
|
||||
{% assign latestVersion = "v1.4" %}
|
||||
{% assign latestVersion = "v1.5" %}
|
||||
{% 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 %}
|
||||
|
|
Loading…
Reference in New Issue