5890852ff1
Relates to https://github.com/RadeonOpenCompute/rocm-docs-core/issues/330 Change-Id: Ic9370548bb8d919376b20f7e1800fe620369e69b
25 行
798 B
Python
25 行
798 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
|
|
|
|
|
|
# for PDF output on Read the Docs
|
|
project = "ROCm Data Center Documentation"
|
|
author = "Advanced Micro Devices, Inc."
|
|
copyright = "Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved."
|
|
|
|
external_toc_path = "./sphinx/_toc.yml"
|
|
|
|
docs_core = ROCmDocs("ROCm Data Center Documentation")
|
|
docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml")
|
|
docs_core.setup()
|
|
|
|
external_projects_current_project = "rdc"
|
|
|
|
for sphinx_var in ROCmDocs.SPHINX_VARS:
|
|
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
|