rel8/docs/conf.py

37 lines
802 B
Python
Raw Normal View History

import sys
import os
import sphinx_rtd_theme
# Support for :base-ref:, etc.
sys.path.insert(0, os.path.abspath('.'))
version = "1.0.0"
2021-04-03 19:00:58 +03:00
extensions = ['sphinx.ext.extlinks', 'sphinx.ext.todo', 'sphinx_rtd_theme']
templates_path = ['_templates']
source_suffix = '.rst'
source_encoding = 'utf-8-sig'
master_doc = 'index'
project = u'Rel8'
copyright = u'2021 CircuitHub'
release = version
highlight_language = 'haskell'
primary_domain = 'haskell'
exclude_patterns = ['.build', "*.gen.rst"]
2021-04-03 19:00:58 +03:00
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'logo_only': True,
'navigation_depth': 5,
}
html_context = {}
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
2021-04-03 19:00:58 +03:00
todo_include_todos = True