blob: 39e52ead912bdc9f513ab67d680b995019d7194d [file] [log] [blame]
swissChilic41a15e2021-06-16 09:14:56 -07001import subprocess, os
2
3rtd = os.environ.get('READTHEDOCS', None) == 'True'
4
5if 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
swissChilie00e88a2021-05-30 17:54:26 -070011project = 'Bluejay'
12copyright = '2021, swissChili'
13author = 'swissChili'
14
15extensions = [
swissChilic41a15e2021-06-16 09:14:56 -070016 'breathe'
swissChilie00e88a2021-05-30 17:54:26 -070017]
18
swissChilic41a15e2021-06-16 09:14:56 -070019breathe_projects = {
20 'Kernel': '_dox_kernel/xml',
21 'Lisp': '_dox_lisp/xml'
22}
23
24breathe_default_project = 'Kernel'
25
swissChilie00e88a2021-05-30 17:54:26 -070026templates_path = ['_templates']
27
swissChilic41a15e2021-06-16 09:14:56 -070028exclude_patterns = ['_build', '_dox_kernel', '_dox_lisp', 'Thumbs.db', '.DS_Store']
swissChilie00e88a2021-05-30 17:54:26 -070029
swissChilic41a15e2021-06-16 09:14:56 -070030html_theme = 'sphinx_rtd_theme'
swissChilie00e88a2021-05-30 17:54:26 -070031
32html_static_path = ['_static']
swissChili61ced3b2021-07-02 14:52:05 -070033
34def setup(app):
35 app.add_stylesheet('custom.css')