ファイル
rocm-systems/docs/conf.py
T
Hao Zhou 4e044a1f6c Revert "Revert "Merge amd-staging into amd-master 20230524""
This reverts commit 7d508f75ab.

Change-Id: I0f277acf328566485994b0a771b685172541874c
2023-06-02 10:11:10 +08:00

18 行
580 B
Python
実行ファイル

# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
from rocm_docs import ROCmDocs
docs_core = ROCmDocs("ROCm SMI LIB")
docs_core.run_doxygen(doxygen_root='.doxygen', doxygen_path='.')
docs_core.enable_api_reference()
docs_core.setup()
for sphinx_var in ROCmDocs.SPHINX_VARS:
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
html_theme_options["show_navbar_depth"] = 2