-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
docs-preview
committed
Feb 13, 2024
1 parent
41c3e11
commit 3e1cfea
Showing
1,521 changed files
with
420,030 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.0 |
1 change: 1 addition & 0 deletions
1
review/pr-17/_sphinx_design_static/design-style.b7bb847fb20b106c3d81b95245e65545.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
Oops, something went wrong.