From 61b1c6e5e3a29f4fd82fa1f88e524d618d4a27e3 Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:21:42 -0600 Subject: [PATCH] Fix ucxx version templating (#484) --- _data/docs.yml | 1 - _data/releases.json | 8 ++++++-- _includes/api-docs.html | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/_data/docs.yml b/_data/docs.yml index 05d259e05f8..70abf11b8cd 100644 --- a/_data/docs.yml +++ b/_data/docs.yml @@ -232,7 +232,6 @@ libs: path: libucxx desc: "UCXX is an object-oriented C++ interface for UCX, with native support for Python bindings." ghlink: https://github.com/rapidsai/ucxx - cllink: https://github.com/rapidsai/ucxx/blob/main/CHANGELOG.md versions: # enable or disable links; 0 = disabled, 1 = enabled legacy: 0 diff --git a/_data/releases.json b/_data/releases.json index b2c3eba3da5..79a42856c5c 100644 --- a/_data/releases.json +++ b/_data/releases.json @@ -1,14 +1,17 @@ { "legacy": { "version": "23.12", - "date": "Dec 7 2023" + "date": "Dec 7 2023", + "ucxx_version": "0.35" }, "stable": { "version": "24.02", - "date": "Feb 13 2024" + "date": "Feb 13 2024", + "ucxx_version": "0.36" }, "nightly": { "version": "24.04", + "ucxx_version": "0.37", "cudf_dev": { "start": "Jan 18 2024", "end": "Mar 13 2024", @@ -47,6 +50,7 @@ }, "next_nightly": { "version": "24.06", + "ucxx_version": "0.38", "cudf_dev": { "start": "Mar 14 2024", "end": "May 15 2024", diff --git a/_includes/api-docs.html b/_includes/api-docs.html index bf4e3a45fee..e4428de7db6 100644 --- a/_includes/api-docs.html +++ b/_includes/api-docs.html @@ -4,7 +4,7 @@ {% assign versions = api.versions | sort | where_exp: "item", "item[1] == 1" | join: "" | split: "1" | reverse %} ### {{ api.name }} {{ api.desc }} -#### DOCS {% for version_name in versions %} {% if api.name == 'libucxx' %} {% case version_name %} -{% when 'legacy' %}{% assign display_version = '0.34' %} {% when 'stable' %}{% assign display_version = '0.35' %} {% else %}{% assign display_version = '0.36' %} {% endcase %} {% else %} {% assign display_version = site.data.releases[version_name].version %} {% endif %} **[{{ version_name }} ({{ display_version }})](/api/{{ api.path }}/{{ version_name }})** {% unless forloop.last %}|{% endunless %} {% endfor %} -{% if api.name != 'libucxx' %}#### LINKS **[changelog]({{ api.cllink }}){:target="_blank"}** | **[github]({{ api.ghlink }}){:target="_blank"}**{: .mb-7 }{% else %}#### LINKS **[github]({{ api.ghlink }}){:target="_blank"}**{: .mb-7 }{% endif %} +#### DOCS {% for version_name in versions %} {% if api.name == "libucxx" %} **[{{ version_name }} ({{ site.data.releases[version_name].ucxx_version }})](/api/{{ api.path }}/{{ version_name }})** {% else %} **[{{ version_name }} ({{ site.data.releases[version_name].version }})](/api/{{ api.path }}/{{ version_name }})** {% endif %} {% unless forloop.last %}|{% endunless %} {% endfor %} +#### LINKS {% if api.cllink %} **[changelog]({{ api.cllink }}){:target="_blank"}** | {% endif %} **[github]({{ api.ghlink }}){:target="_blank"}** +{: .mb-7 } {% endfor %}