swissChili | c41a15e | 2021-06-16 09:14:56 -0700 | [diff] [blame] | 1 | import subprocess, os |
| 2 | |
| 3 | rtd = os.environ.get('READTHEDOCS', None) == 'True' |
| 4 | |
| 5 | if rtd: |
| 6 | print('Generating kernel doxygen') |
| 7 | subprocess.call('doxygen kernel.doxyfile', shell=True) |
| 8 | print('Generating lisp doxygen') |
| 9 | subprocess.call('doxygen lisp.doxyfile', shell=True) |
| 10 | |
swissChili | e00e88a | 2021-05-30 17:54:26 -0700 | [diff] [blame] | 11 | project = 'Bluejay' |
| 12 | copyright = '2021, swissChili' |
| 13 | author = 'swissChili' |
| 14 | |
| 15 | extensions = [ |
swissChili | c41a15e | 2021-06-16 09:14:56 -0700 | [diff] [blame] | 16 | 'breathe' |
swissChili | e00e88a | 2021-05-30 17:54:26 -0700 | [diff] [blame] | 17 | ] |
| 18 | |
swissChili | c41a15e | 2021-06-16 09:14:56 -0700 | [diff] [blame] | 19 | breathe_default_project = 'Kernel' |
| 20 | |
swissChili | e00e88a | 2021-05-30 17:54:26 -0700 | [diff] [blame] | 21 | templates_path = ['_templates'] |
| 22 | |
swissChili | c41a15e | 2021-06-16 09:14:56 -0700 | [diff] [blame] | 23 | exclude_patterns = ['_build', '_dox_kernel', '_dox_lisp', 'Thumbs.db', '.DS_Store'] |
swissChili | e00e88a | 2021-05-30 17:54:26 -0700 | [diff] [blame] | 24 | |
swissChili | c41a15e | 2021-06-16 09:14:56 -0700 | [diff] [blame] | 25 | html_theme = 'sphinx_rtd_theme' |
swissChili | e00e88a | 2021-05-30 17:54:26 -0700 | [diff] [blame] | 26 | |
| 27 | html_static_path = ['_static'] |