Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
7b175c9d
Commit
7b175c9d
authored
Jan 15, 2021
by
jannick.wolters
Browse files
added doxygen generation
parent
b3f4d0cd
Changes
1
Show whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
7b175c9d
import
subprocess
,
os
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
...
...
@@ -69,3 +71,13 @@ breathe_projects = {
}
breathe_default_project
=
"KiT-RT"
read_the_docs_build
=
os
.
environ
.
get
(
'READTHEDOCS'
,
None
)
==
'True'
if
read_the_docs_build
:
with
open
(
"Doxyfile.in"
,
"rt"
)
as
fin
:
with
open
(
"Doxyfile"
,
"wt"
)
as
fout
:
for
line
in
fin
:
line
.
replace
(
'@DOXYGEN_OUTPUT_DIR@'
,
'doxygen'
)
line
.
replace
(
'@DOXYGEN_INPUT_DIR@'
,
'../code/'
)
fout
.
write
(
line
)
subprocess
.
call
(
'doxygen'
,
shell
=
True
)
jannick.wolters
@jm2154
mentioned in commit
a5533637
·
Apr 30, 2021
mentioned in commit
a5533637
mentioned in commit a55336371695b96cc7d2819c734c979b9596eb53
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment