-
-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathconf.py
48 lines (36 loc) · 1.57 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------------------------------------------------
# INFO:
#-----------------------------------------------------------------------------------------------------------------------
"""
Author: Evan Hubinger
License: Apache 2.0
Description: Sphinx configuration file for the Coconut Programming Language.
"""
#-----------------------------------------------------------------------------------------------------------------------
# IMPORTS:
#-----------------------------------------------------------------------------------------------------------------------
from __future__ import print_function, absolute_import, unicode_literals, division
import sys
import os.path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from coconut.root import * # NOQA
from recommonmark.parser import CommonMarkParser
from sphinx_bootstrap_theme import get_html_theme_path
#-----------------------------------------------------------------------------------------------------------------------
# DEFINITIONS:
#-----------------------------------------------------------------------------------------------------------------------
html_theme = "bootstrap"
html_theme_path = get_html_theme_path()
highlight_language = "coconut"
project = "Coconut"
copyright = "2015-2017, Evan Hubinger, licensed under Apache 2.0"
author = "Evan Hubinger"
version = VERSION
release = VERSION_STR_TAG
master_doc = "README"
source_suffix = [".rst", ".md"]
source_parsers = {
".md": CommonMarkParser
}