Skip to content

Commit 60bd1fe

Browse files
committed
Fixing incorrect path in Sphinx config
1 parent 4b0605e commit 60bd1fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Install documentation dependencies
2121
run: |
2222
sudo apt install opencl-c-headers ocl-icd-opencl-dev doxygen
23+
pip3 install --upgrade setuptools build
2324
pip3 install -U -r $GITHUB_WORKSPACE/doc/requirements.txt
2425
pip3 install -U --ignore-installed $GITHUB_WORKSPACE
2526

doc/conf.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,16 @@
2525

2626
breathe_projects = { 'pocky' : './doxygen/xml' }
2727
breathe_default_project = 'pocky'
28-
breathe_domain_by_extension = { 'h' : 'c', 'cl' : 'c' }
28+
breathe_domain_by_extension = { 'h' : 'c' }
2929
breathe_implementation_filename_extensions = ['c']
3030
breathe_show_define_initializer = True
3131
breathe_show_enumvalue_initializer = True
3232
breathe_separate_member_pages = False
3333

3434
stdin = textwrap.dedent(f'''\
3535
OUTPUT_LANGUAGE = English
36-
EXTENSION_MAPPING = h=C cl=C
37-
EXCLUDE_PATTERNS += *.txt *.c *.py
38-
INPUT = {root_dir}/src/ext
36+
EXTENSION_MAPPING = h=C
37+
INPUT = {root_dir}/src/pocky/ext
3938
RECURSIVE = YES
4039
QUIET = YES
4140
PREDEFINED += DOXYGEN_SHOULD_SKIP_THIS
@@ -47,7 +46,7 @@
4746
'rootFileName' : 'lowlevel.rst', 'rootFileTitle' : 'Low-level C API',
4847
'createTreeView' : True, 'exhaleExecutesDoxygen' : True,
4948
'contentsDirectives' : False, 'doxygenStripFromPath' : root_dir,
50-
'lexerMapping' : { r'.*\.h' : 'c', r'.*\.cl' : 'c' },
49+
'lexerMapping' : { r'.*\.h' : 'c' },
5150
'exhaleDoxygenStdin' : stdin }
5251

5352
smartquotes = True

0 commit comments

Comments
 (0)