Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ucxx version templating #484

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 %}