Skip to content

Commit

Permalink
Fix ucxx version templating (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe authored Feb 26, 2024
1 parent 1588d1b commit 61b1c6e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion _data/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions _data/releases.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -47,6 +50,7 @@
},
"next_nightly": {
"version": "24.06",
"ucxx_version": "0.38",
"cudf_dev": {
"start": "Mar 14 2024",
"end": "May 15 2024",
Expand Down
6 changes: 3 additions & 3 deletions _includes/api-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit 61b1c6e

Please sign in to comment.