Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
7 changes: 4 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ jobs:
fetch-depth: 0
ref: ${{ inputs.git-tag }}

- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
continue-on-error: true
# Temporarily disabled to debug nvidia-sphinx-theme installation issues
# - name: Setup proxy cache
# uses: nv-gha-runners/setup-proxy-cache@main
# continue-on-error: true
Comment thread
leofang marked this conversation as resolved.
Outdated

- name: Set up miniforge
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
Expand Down
83 changes: 42 additions & 41 deletions .github/workflows/ci.yml
Comment thread
leofang marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -50,46 +50,47 @@ jobs:
host-platform: ${{ matrix.host-platform }}
cuda-version: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

test-linux:
strategy:
fail-fast: false
matrix:
host-platform:
- linux-64
- linux-aarch64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
secrets: inherit
uses: ./.github/workflows/test-wheel-linux.yml
with:
build-type: pull-request
host-platform: ${{ matrix.host-platform }}
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
# Temporarily disabled test jobs for documentation theme migration
# test-linux:
# strategy:
# fail-fast: false
# matrix:
# host-platform:
# - linux-64
# - linux-aarch64
# name: Test ${{ matrix.host-platform }}
# if: ${{ github.repository_owner == 'nvidia' }}
# permissions:
# contents: read # This is required for actions/checkout
# needs:
# - ci-vars
# - build
# secrets: inherit
# uses: ./.github/workflows/test-wheel-linux.yml
# with:
# build-type: pull-request
# host-platform: ${{ matrix.host-platform }}
# build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

test-windows:
strategy:
fail-fast: false
matrix:
host-platform:
- win-64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
secrets: inherit
uses: ./.github/workflows/test-wheel-windows.yml
with:
build-type: pull-request
host-platform: ${{ matrix.host-platform }}
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
# test-windows:
# strategy:
# fail-fast: false
# matrix:
# host-platform:
# - win-64
# name: Test ${{ matrix.host-platform }}
# if: ${{ github.repository_owner == 'nvidia' }}
# permissions:
# contents: read # This is required for actions/checkout
# needs:
# - ci-vars
# - build
# secrets: inherit
# uses: ./.github/workflows/test-wheel-windows.yml
# with:
# build-type: pull-request
# host-platform: ${{ matrix.host-platform }}
# build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

doc:
name: Docs
Expand All @@ -113,8 +114,8 @@ jobs:
checks: read
needs:
- build
- test-linux
- test-windows
# - test-linux # Temporarily disabled for documentation theme migration
# - test-windows # Temporarily disabled for documentation theme migration
- doc
secrets: inherit
uses: ./.github/workflows/status-check.yml
30 changes: 30 additions & 0 deletions cuda_bindings/docs/nv-versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"version": "latest",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/latest/"
},
{
"version": "13.0.1",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.1/"
},
{
"version": "13.0.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.0/"
},
{
"version": "12.9.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.9.0/"
},
{
"version": "12.8.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.8.0/"
},
{
"version": "12.6.2",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.2/"
},
{
"version": "12.6.1",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.1/"
}
]
61 changes: 0 additions & 61 deletions cuda_bindings/docs/source/_static/javascripts/version_dropdown.js

This file was deleted.

24 changes: 0 additions & 24 deletions cuda_bindings/docs/source/_templates/sidebar/variant-selector.html

This file was deleted.

30 changes: 10 additions & 20 deletions cuda_bindings/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,17 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_baseurl = "docs"
html_theme = "furo"
# html_theme = 'pydata_sphinx_theme'
html_theme = "nvidia_sphinx_theme"
html_theme_options = {
"light_logo": "logo-light-mode.png",
"dark_logo": "logo-dark-mode.png",
# For pydata_sphinx_theme:
# "logo": {
# "image_light": "_static/logo-light-mode.png",
# "image_dark": "_static/logo-dark-mode.png",
# },
# "switcher": {
# "json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/versions.json",
# "version_match": release,
# },
## Add light/dark mode and documentation version switcher
# "navbar_end": [
# "search-button",
# "theme-switcher",
# "version-switcher",
# "navbar-icon-links",
# ],
"switcher": {
"json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/nv-versions.json",
"version_match": release,
},
# Add light/dark mode and documentation version switcher
"navbar_center": [
"version-switcher",
"navbar-nav",
],
}
if os.environ.get("CI"):
if int(os.environ.get("BUILD_PREVIEW", 0)):
Expand Down
30 changes: 30 additions & 0 deletions cuda_core/docs/nv-versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"version": "latest",
"url": "https://nvidia.github.io/cuda-python/cuda-core/latest/"
},
{
"version": "0.3.2",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.2/"
},
{
"version": "0.3.1",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.1/"
},
{
"version": "0.3.0",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.0/"
},
{
"version": "0.2.0",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.2.0/"
},
{
"version": "0.1.1",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.1.1/"
},
{
"version": "0.1.0",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.1.0/"
}
]
61 changes: 0 additions & 61 deletions cuda_core/docs/source/_static/javascripts/version_dropdown.js

This file was deleted.

24 changes: 0 additions & 24 deletions cuda_core/docs/source/_templates/sidebar/variant-selector.html

This file was deleted.

Loading
Loading