|  | 
|  | 1 | +# Configuration file for the Sphinx documentation builder. | 
|  | 2 | +# | 
|  | 3 | +# This file only contains a selection of the most common options. For a full | 
|  | 4 | +# list see the documentation: | 
|  | 5 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html | 
|  | 6 | +# from omni.isaac.kit import SimulationApp | 
|  | 7 | + | 
|  | 8 | +# simulation_app = SimulationApp({'headless': True}) | 
|  | 9 | +import os | 
|  | 10 | +import sys | 
|  | 11 | + | 
|  | 12 | +from sphinx.builders.html import StandaloneHTMLBuilder | 
|  | 13 | + | 
|  | 14 | +sys.path.insert(0, os.path.abspath('../..')) | 
|  | 15 | + | 
|  | 16 | +# -- Path setup -------------------------------------------------------------- | 
|  | 17 | + | 
|  | 18 | +# If extensions (or modules to document with autodoc) are in another directory, | 
|  | 19 | +# add these directories to sys.path here. If the directory is relative to the | 
|  | 20 | +# documentation root, use os.path.abspath to make it absolute, like shown here. | 
|  | 21 | +# | 
|  | 22 | +# import os | 
|  | 23 | +# import sys | 
|  | 24 | +# sys.path.insert(0, os.path.abspath('.')) | 
|  | 25 | + | 
|  | 26 | +# -- Project information ----------------------------------------------------- | 
|  | 27 | + | 
|  | 28 | +project = 'Intern Robotics Engine' | 
|  | 29 | +copyright = '2025, OpenRobotLab' | 
|  | 30 | +author = 'OpenRobotLab' | 
|  | 31 | + | 
|  | 32 | +# The full version, including alpha/beta/rc tags | 
|  | 33 | +release = 'v0.0.1' | 
|  | 34 | + | 
|  | 35 | +# -- General configuration --------------------------------------------------- | 
|  | 36 | + | 
|  | 37 | +# Add any Sphinx extension module names here, as strings. They can be | 
|  | 38 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | 
|  | 39 | +# ones. | 
|  | 40 | +extensions = [ | 
|  | 41 | +    'sphinx.ext.autodoc', | 
|  | 42 | +    'sphinx.ext.autosummary', | 
|  | 43 | +    'sphinx.ext.intersphinx', | 
|  | 44 | +    'sphinx.ext.napoleon', | 
|  | 45 | +    'sphinx.ext.viewcode', | 
|  | 46 | +    'sphinx_markdown_tables', | 
|  | 47 | +    'myst_parser', | 
|  | 48 | +    'sphinx_copybutton', | 
|  | 49 | +]  # yapf: disable | 
|  | 50 | + | 
|  | 51 | +# Add any paths that contain templates here, relative to this directory. | 
|  | 52 | +templates_path = ['_templates'] | 
|  | 53 | + | 
|  | 54 | +# List of patterns, relative to source directory, that match files and | 
|  | 55 | +# directories to ignore when looking for source files. | 
|  | 56 | +# This pattern also affects html_static_path and html_extra_path. | 
|  | 57 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | 
|  | 58 | + | 
|  | 59 | +# -- Options for HTML output ------------------------------------------------- | 
|  | 60 | + | 
|  | 61 | +# The theme to use for HTML and HTML Help pages.  See the documentation for | 
|  | 62 | +# a list of builtin themes. | 
|  | 63 | +# | 
|  | 64 | +# html_theme = 'alabaster' | 
|  | 65 | +html_theme = 'pydata_sphinx_theme' | 
|  | 66 | +html_logo = '_static/image/logo.png' | 
|  | 67 | +html_favicon = '_static/image/logo192.png' | 
|  | 68 | + | 
|  | 69 | +# Define the json_url for our version switcher. | 
|  | 70 | +json_url = 'https://pydata-sphinx-theme.readthedocs.io/en/latest/_static/switcher.json' | 
|  | 71 | + | 
|  | 72 | +# Add any paths that contain custom static files (such as style sheets) here, | 
|  | 73 | +# relative to this directory. They are copied after the builtin static files, | 
|  | 74 | +# so a file named "default.css" will overwrite the builtin "default.css". | 
|  | 75 | +html_static_path = ['_static'] | 
|  | 76 | + | 
|  | 77 | +html_theme_options = { | 
|  | 78 | +    'navbar_start': ['navbar-logo'], | 
|  | 79 | +    'navbar_end': ['theme-switcher', 'navbar-icon-links'], | 
|  | 80 | +    'navbar_center': ['navbar-nav'], | 
|  | 81 | +    'secondary_sidebar_items': ['page-toc', 'edit-this-page', 'sourcelink'], | 
|  | 82 | +    'footer_items': ['copyright', 'sphinx-version'], | 
|  | 83 | +    'default_mode': 'auto', | 
|  | 84 | +    'switcher': { | 
|  | 85 | +        'json_url': 'https://pydata-sphinx-theme.readthedocs.io/en/latest/_static/switcher.json', | 
|  | 86 | +        'version_match': 'latest', | 
|  | 87 | +    }, | 
|  | 88 | +    'icon_links': [ | 
|  | 89 | +        { | 
|  | 90 | +            'name': 'GitHub', | 
|  | 91 | +            'url': 'https://github.com/OpenRobotLab/GRUtopia.git', | 
|  | 92 | +            'icon': 'fab fa-github-square', | 
|  | 93 | +        }, | 
|  | 94 | +    ], | 
|  | 95 | +    'show_nav_level': 2, | 
|  | 96 | +    'navigation_depth': 4, | 
|  | 97 | +    # 'collapse_navigation': True, | 
|  | 98 | +    'show_toc_level': 2, | 
|  | 99 | +} | 
|  | 100 | + | 
|  | 101 | +# html_sidebars = { | 
|  | 102 | +#     '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'] | 
|  | 103 | +# } | 
|  | 104 | + | 
|  | 105 | + | 
|  | 106 | +html_css_files = ['css/readthedocs.css'] | 
|  | 107 | + | 
|  | 108 | +# The name of the Pygments (syntax highlighting) style to use. | 
|  | 109 | +pygments_style = 'sphinx' | 
|  | 110 | + | 
|  | 111 | +# -- Extension configuration ------------------------------------------------- | 
|  | 112 | +# Ignore >>> when copying code | 
|  | 113 | +copybutton_prompt_text = r'>>> |\.\.\. ' | 
|  | 114 | +copybutton_prompt_is_regexp = True | 
0 commit comments