Skip to content
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
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,24 @@ jobs:
id-token: write
packages: read
pull-requests: read
publish-api-docs:
if: github.ref_type == 'branch'
needs: [docs-build]
permissions:
contents: read
id-token: write
secrets:
akamai-access-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_ACCESS_TOKEN }}
akamai-client-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_TOKEN }}
akamai-client-secret: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_SECRET }}
akamai-emails-to-notify: ${{ secrets.NVIDIA_DOCS_AKAMAI_EMAILS_TO_NOTIFY }}
akamai-host: ${{ secrets.NVIDIA_DOCS_AKAMAI_HOST }}
target-aws-access-key-id: ${{ secrets.NVIDIA_DOCS_AWS_ACCESS_KEY_ID }}
target-aws-region: ${{ secrets.NVIDIA_DOCS_AWS_REGION }}
target-aws-secret-access-key: ${{ secrets.NVIDIA_DOCS_AWS_SECRET_ACCESS_KEY }}
target-s3-bucket: ${{ secrets.NVIDIA_DOCS_S3_BUCKET }}
uses: rapidsai/shared-workflows/.github/workflows/publish-api-docs.yaml@release/26.08
with:
docs-projects: rapids-cmake
dry-run: false
version-map: ${{ vars.VERSION_MAP }}
21 changes: 21 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- checks
- conda-cpp-tests
- docs-build
- publish-api-docs
- telemetry-setup
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@release/26.08
permissions:
Expand Down Expand Up @@ -62,6 +63,26 @@ jobs:
id-token: write
packages: read
pull-requests: read
publish-api-docs:
needs: [docs-build]
permissions:
contents: read
id-token: write
secrets:
akamai-access-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_ACCESS_TOKEN }}
akamai-client-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_TOKEN }}
akamai-client-secret: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_SECRET }}
akamai-emails-to-notify: ${{ secrets.NVIDIA_DOCS_AKAMAI_EMAILS_TO_NOTIFY }}
akamai-host: ${{ secrets.NVIDIA_DOCS_AKAMAI_HOST }}
target-aws-access-key-id: ${{ secrets.NVIDIA_DOCS_AWS_ACCESS_KEY_ID }}
target-aws-region: ${{ secrets.NVIDIA_DOCS_AWS_REGION }}
target-aws-secret-access-key: ${{ secrets.NVIDIA_DOCS_AWS_SECRET_ACCESS_KEY }}
target-s3-bucket: ${{ secrets.NVIDIA_DOCS_S3_BUCKET }}
uses: rapidsai/shared-workflows/.github/workflows/publish-api-docs.yaml@release/26.08
with:
docs-projects: rapids-cmake
dry-run: true
version-map: ${{ vars.VERSION_MAP }}
telemetry-summarize:
# This job must use a self-hosted runner to record telemetry traces.
runs-on: linux-amd64-cpu4
Expand Down
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Configuration file for the Sphinx documentation builder.
Expand Down Expand Up @@ -102,6 +102,11 @@
"type": "fontawesome",
},
],
"navbar_center": "navbar-nav, version-switcher, navbar-external-links",
"switcher": {
"json_url": "https://docs.nvidia.com/rapids-cmake/versions.json",
"version_match": version,
},
}

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down
Loading