mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 14:29:05 +00:00
* separate bibtex requirement from rocm-docs-core * point requirements to source rocm-docs-core repo
26 lines
638 B
Python
26 lines
638 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("Composable Kernel Documentation")
|
|
docs_core.run_doxygen()
|
|
docs_core.setup()
|
|
|
|
mathjax3_config = {
|
|
'tex': {
|
|
'macros': {
|
|
'diag': '\\operatorname{diag}',
|
|
}
|
|
}
|
|
}
|
|
|
|
for sphinx_var in ROCmDocs.SPHINX_VARS:
|
|
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
|
|
|
|
extensions += ['sphinxcontrib.bibtex']
|
|
bibtex_bibfiles = ['refs.bib']
|