Skip to content

Commit

Permalink
Tweak some things
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadden committed Jan 7, 2021
1 parent a4f9326 commit 54b111a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 8 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@
import os
import subprocess

import sphinx_rtd_theme

project = 'alia'
copyright = '2021, .decimal, LLC & Mass General Brigham'
author = 'Thomas Madden'

extensions = ['breathe', 'sphinx_rtd_theme']
import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

exclude_patterns = ['_build', '_doxygen']

html_theme = 'sphinx_rtd_theme'
extensions = ['breathe']

if not on_rtd:
import sphinx_rtd_theme
extensions.append('sphinx_rtd_theme')
html_theme = 'sphinx_rtd_theme'

breathe_projects = { "alia": "_doxygen/xml" }
breathe_default_project = "alia"
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ This is the reference documentation for alia...
:maxdepth: 2
:caption: Contents

.. doxygenfunction:: alia::mask

.. doxygenfunction:: mask

0 comments on commit 54b111a

Please sign in to comment.