Skip to content

Commit

Permalink
Fixed rtd doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Oct 14, 2021
1 parent 9b22b9e commit 52984ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ INPUT = ../include/xsimd/types/xsimd_api.hpp \
../include/xsimd/config/xsimd_config.hpp \
../include/xsimd/memory/xsimd_alignment.hpp \
../include/xsimd/memory/xsimd_aligned_allocator.hpp \
\
../include/xsimd/types/xsimd_generic_arch.hpp \
../include/xsimd/types/xsimd_avx2_register.hpp \
../include/xsimd/types/xsimd_avx512bw_register.hpp \
Expand Down
4 changes: 2 additions & 2 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ channels:
- conda-forge

dependencies:
- breathe==4.25.1
- doxygen==1.9.1
- breathe
#- docutils<0.17
9 changes: 8 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@
import os
import subprocess

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if on_rtd:
subprocess.call('cd ..; doxygen', shell=True)

import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

def setup(app):
app.add_css_file("main_stylesheet.css")

extensions = ['breathe']
breathe_projects = { 'xsimd': '../xml' }
templates_path = ['_templates']
Expand Down

0 comments on commit 52984ef

Please sign in to comment.