Skip to content

Commit

Permalink
Pushing changes to GitHub Pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
docs-preview committed Feb 13, 2024
1 parent 41c3e11 commit 3e1cfea
Show file tree
Hide file tree
Showing 1,521 changed files with 420,030 additions and 0 deletions.
1 change: 1 addition & 0 deletions review/pr-17/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions review/pr-17/_sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
var sd_labels_by_text = {};

function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
}
sd_labels_by_text[syncId].push(label);
}
}
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
if (label === this) continue;
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
}

document.addEventListener("DOMContentLoaded", ready, false);
1 change: 1 addition & 0 deletions review/pr-17/_static/NVIDIA-LogoBlack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions review/pr-17/_static/NVIDIA-LogoWhite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions review/pr-17/_static/api-styles-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or distribution of this material and related documentation
* without an express license agreement from NVIDIA CORPORATION or
* its affiliates is strictly prohibited.
*/


/**
* CSS variables for API signature styling.
*
* These define styles in a way that function signatures produced by Sphinx will apply similar results for Python, C++,
* or any other language supported by Sphinx.
*/
html[data-theme='dark']
{
--api-signature-font-style-light: 300;
--api-signature-parameter-name-color: #FCFCFC;
--api-signature-parameter-name-font-style: normal;
--api-signature-parameter-symbol-color: var(--sd-color-tabs-label-inactive);
--api-signature-parameter-default-value-color: var(--sd-color-tabs-label-inactive);
}

/**
* Python function parameter name.
*/
/*
div > dl.py > dt > em.sig-param > span.n > span.pre,
div > dl.py > dt > span.pre
*/
html[data-theme='dark'] dl.py em.sig-param > span.n > span.pre
{
color: var(--api-signature-parameter-name-color);
font-style: var(--api-signature-parameter-name-font-style);
}
84 changes: 84 additions & 0 deletions review/pr-17/_static/api-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or distribution of this material and related documentation
* without an express license agreement from NVIDIA CORPORATION or
* its affiliates is strictly prohibited.
*/


/**
* CSS variables for API signature styling.
*
* These define styles in a way that function signatures produced by Sphinx will apply similar results for Python, C++,
* or any other language supported by Sphinx.
*/
:root {
--api-signature-font-style-light: 300;
--api-signature-parameter-name-color: var(--sd-color-secondary);
--api-signature-parameter-name-font-style: normal;
--api-signature-parameter-symbol-color: var(--sd-color-tabs-label-inactive);
--api-signature-parameter-default-value-color: var(--sd-color-tabs-label-inactive);
}


/**
* Python module name.
*/
dl.py code.sig-prename.descclassname > span.pre {
font-weight: var(--api-signature-font-style-light);
}

/**
* Python function parenthesis.
*/
dl.py span.sig-paren {
font-weight: var(--api-signature-font-style-light);
}

/**
* Python function parameter name.
*/
/*dl.py em.sig-param > span.n > span.pre*/
div > dl.py > dt > em.sig-param > span.n > span.pre,
div > dl.py > dt > span.pre
{
color: var(--api-signature-parameter-name-color);
font-style: var(--api-signature-parameter-name-font-style);
}

/**
* Python function parameter typehint reference.
*/
dl.py em.sig-param > span.n > a
{
font-style: normal;
}

/**
* Python function parameter operator (i.e. `=`).
*/
dl.py em.sig-param > span.o > span.pre {
color: var(--api-signature-parameter-symbol-color);
font-weight: var(--api-signature-font-style-light);
}

/**
* Python function parameter default value.
*/
dl.py em.sig-param > span.default_value > span.pre {
color: var(--api-signature-parameter-default-value-color);
font-weight: var(--api-signature-font-style-light);
}

/**
* Python return typehint
*/
dl.py span.sig-return-typehint > span.pre {
color: var(--api-signature-parameter-name-color);
font-weight: var(--api-signature-font-style-light);
}
Loading

0 comments on commit 3e1cfea

Please sign in to comment.