Skip to content

Commit 07e9b99

Browse files
committed
Readthedocs fix.
1 parent 12d58ac commit 07e9b99

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/.readthedocs.yaml renamed to .readthedocs.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ build:
44
os: "ubuntu-20.04"
55
tools:
66
python: "3.9"
7-
8-
sphinx:
9-
configuration: docs/conf.py
7+
jobs:
8+
pre_build:
9+
- doxygen docs/Doxyfile
1010

1111
python:
1212
install:
1313
- requirements: docs/requirements.txt
14+
15+
sphinx:
16+
configuration: docs/conf.py

docs/Doxyfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
INPUT = ../src/
1+
INPUT = src/
2+
OUTPUT_DIRECTORY = docs/
23

3-
GENERATE_HTML = NO
4+
GENERATE_HTML = YES
45
GENERATE_LATEX = NO
56
GENERATE_XML = YES
67

78
INLINE_GROUPED_CLASSES = YES
89
INLINE_SIMPLE_STRUCTS = YES
910

1011
EXTENSION_MAPPING = tcc=C++
11-
FILE_PATTERNS = *.c *.cc *.h *.tcc
12+
FILE_PATTERNS = *.c *.cc *.cpp *.h *.tcc

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@
88
extensions = ['breathe']
99
breathe_projects = {'doxygen': 'xml'}
1010
breathe_default_project = 'doxygen'
11-
breathe_default_members = ('members')
11+
breathe_default_members = ('members',)
1212

1313
master_doc = 'index'
1414

1515
highlight_language = 'none'
16-
html_theme = 'sphinx_rtd_theme'
17-
18-
19-
call('doxygen', shell=True)

0 commit comments

Comments
 (0)