2023-05-02 08:54:06 -06:00
|
|
|
# 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
|
|
|
|
|
|
2023-11-23 11:29:04 -07:00
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
2023-05-02 08:54:06 -06:00
|
|
|
docs_core = ROCmDocs("ROCm Data Center Documentation")
|
2023-11-23 11:29:04 -07:00
|
|
|
docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml")
|
2023-05-02 08:54:06 -06:00
|
|
|
docs_core.setup()
|
|
|
|
|
|
2023-11-23 11:29:04 -07:00
|
|
|
external_projects_current_project = "rdc"
|
|
|
|
|
|
2023-05-02 08:54:06 -06:00
|
|
|
for sphinx_var in ROCmDocs.SPHINX_VARS:
|
|
|
|
|
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
|