Skip to content

Commit d2a5a65

Browse files
committed
Fixed rtd doc generation
1 parent 9b22b9e commit d2a5a65

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/Doxyfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ INPUT = ../include/xsimd/types/xsimd_api.hpp \
66
../include/xsimd/config/xsimd_config.hpp \
77
../include/xsimd/memory/xsimd_alignment.hpp \
88
../include/xsimd/memory/xsimd_aligned_allocator.hpp \
9-
\
109
../include/xsimd/types/xsimd_generic_arch.hpp \
1110
../include/xsimd/types/xsimd_avx2_register.hpp \
1211
../include/xsimd/types/xsimd_avx512bw_register.hpp \

docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import os
55
import subprocess
66

7+
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
8+
9+
if on_rtd:
10+
subprocess.call('cd ..; doxygen', shell=True)
11+
712
import sphinx_rtd_theme
813

914
html_theme = "sphinx_rtd_theme"

0 commit comments

Comments
 (0)