File tree 1 file changed +13
-3
lines changed
tests/sites/doxygen/legacy
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
from rocm_docs import ROCmDocs
2
2
3
+ # base setup for using rocm-docs-core package
3
4
docs_core = ROCmDocs ("ROCm Docs Core Doxygen Test Project - Legacy" )
4
5
docs_core .setup ()
6
+
7
+ # doxygen integration
5
8
docs_core .run_doxygen (doxygen_root = "doxygen" , doxygen_path = "doxygen/xml" )
9
+
10
+ # doxysphinx integration
6
11
docs_core .enable_api_reference ()
7
12
13
+ # used in intersphinx linking
14
+ external_projects_current_project = "a"
15
+
16
+ # custom path to table of contents
17
+ external_toc_path = "./sphinx/_toc.yml"
18
+
19
+ # set variables from rocm-docs-core for sphinx
8
20
for sphinx_var in ROCmDocs .SPHINX_VARS :
9
21
globals ()[sphinx_var ] = getattr (docs_core , sphinx_var )
10
22
23
+ # optional extension for additional linking to doxygen
11
24
if not "extensions" in globals ():
12
25
extensions = []
13
-
14
26
extensions += ["sphinxcontrib.doxylink" ]
15
-
16
- external_projects_current_project = "a"
You can’t perform that action at this time.
0 commit comments