mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-24 06:34:33 +08:00
* initial doc filling * improvements * stage provided get started, and add clean tutorials * pull in Kirit's content and polish * improve observability * moving pieces * move TOC around * drop support matrix from concepts * fix links * minor fixes and fix badges * minor fixes * incorporate missed content * minor improvements * clean up * run dori style guide review * clean up * updates impacting docs * incorporate feedback * minor fix * some edits * enterprise structure * update cards * improve * add some emojis * improve landing page with animated getting started code * fix the animated code * small improvements * refresh content based on PR 156 and 158 * README as the source of truth for quickstart * update README * run edits * change to the new prod name, text only, code swipe later * add Home * incorporate dev feedback on README * krit's edits * edit and improve index pages * fix build * revert README * revert quickstart to not pull from README
104 lines
2.3 KiB
Python
104 lines
2.3 KiB
Python
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import sys
|
|
from datetime import date
|
|
from pathlib import Path
|
|
|
|
sys.path.insert(0, str(Path(__file__).parent.parent))
|
|
|
|
project = "NVIDIA OpenShell Developer Guide"
|
|
this_year = date.today().year
|
|
copyright = f"2025-{this_year}, NVIDIA Corporation"
|
|
author = "NVIDIA Corporation"
|
|
release = "0.1.0"
|
|
|
|
extensions = [
|
|
"myst_parser",
|
|
"sphinx.ext.autodoc",
|
|
"sphinx.ext.autosummary",
|
|
"sphinx.ext.napoleon",
|
|
"sphinx.ext.viewcode",
|
|
"sphinx.ext.intersphinx",
|
|
"sphinx_copybutton",
|
|
"sphinx_design",
|
|
"sphinxcontrib.mermaid",
|
|
]
|
|
|
|
autodoc_default_options = {
|
|
"members": True,
|
|
"undoc-members": False,
|
|
"show-inheritance": True,
|
|
"member-order": "bysource",
|
|
}
|
|
autodoc_typehints = "description"
|
|
autodoc_class_signature = "separated"
|
|
|
|
copybutton_exclude = ".linenos, .gp, .go"
|
|
|
|
exclude_patterns = [
|
|
"README.md",
|
|
"SETUP.md",
|
|
"_build/**",
|
|
]
|
|
|
|
myst_linkify_fuzzy_links = False
|
|
myst_heading_anchors = 4
|
|
myst_enable_extensions = [
|
|
"colon_fence",
|
|
"deflist",
|
|
"dollarmath",
|
|
"fieldlist",
|
|
"substitution",
|
|
]
|
|
myst_links_external_new_tab = True
|
|
|
|
myst_substitutions = {
|
|
"version": release,
|
|
}
|
|
|
|
templates_path = ["_templates"]
|
|
|
|
html_theme = "nvidia_sphinx_theme"
|
|
html_copy_source = False
|
|
html_show_sourcelink = False
|
|
html_show_sphinx = False
|
|
|
|
mermaid_init_js = (
|
|
"mermaid.initialize({"
|
|
" startOnLoad: true,"
|
|
" theme: 'base',"
|
|
" themeVariables: {"
|
|
" background: '#ffffff',"
|
|
" primaryColor: '#76b900',"
|
|
" primaryTextColor: '#000000',"
|
|
" primaryBorderColor: '#000000',"
|
|
" lineColor: '#000000',"
|
|
" textColor: '#000000',"
|
|
" mainBkg: '#ffffff',"
|
|
" nodeBorder: '#000000'"
|
|
" }"
|
|
"});"
|
|
)
|
|
|
|
html_domain_indices = False
|
|
html_use_index = False
|
|
highlight_language = "console"
|
|
|
|
html_theme_options = {
|
|
"icon_links": [
|
|
{
|
|
"name": "GitHub",
|
|
"url": "https://github.com/NVIDIA/NemoClaw",
|
|
"icon": "fa-brands fa-github",
|
|
"type": "fontawesome",
|
|
},
|
|
{
|
|
"name": "PyPI",
|
|
"url": "https://pypi.org/project/nemoclaw/",
|
|
"icon": "fa-brands fa-python",
|
|
"type": "fontawesome",
|
|
},
|
|
],
|
|
}
|