| 10 # |
10 # |
| 11 # All configuration values have a default; values that are commented out |
11 # All configuration values have a default; values that are commented out |
| 12 # serve to show the default. |
12 # serve to show the default. |
| 13 |
13 |
| 14 import sys, os |
14 import sys, os |
| |
15 |
| |
16 try: |
| |
17 import sphinx_bootstrap_theme |
| |
18 bootstrap_loaded = True |
| |
19 except: |
| |
20 bootstrap_loaded = False |
| |
21 |
| 15 |
22 |
| 16 # If extensions (or modules to document with autodoc) are in another directory, |
23 # If extensions (or modules to document with autodoc) are in another directory, |
| 17 # add these directories to sys.path here. If the directory is relative to the |
24 # add these directories to sys.path here. If the directory is relative to the |
| 18 # documentation root, use os.path.abspath to make it absolute, like shown here. |
25 # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 19 #sys.path.insert(0, os.path.abspath('.')) |
26 #sys.path.insert(0, os.path.abspath('.')) |
| 39 # The master toctree document. |
46 # The master toctree document. |
| 40 master_doc = 'index' |
47 master_doc = 'index' |
| 41 |
48 |
| 42 # General information about the project. |
49 # General information about the project. |
| 43 project = u'Single Calculus Chain' |
50 project = u'Single Calculus Chain' |
| 44 copyright = u'2016, Ioannis Binietoglou' |
51 copyright = u"2016, Ioannis Binietoglou, Giuseppe D'Amico" |
| 45 |
52 |
| 46 # The version info for the project you're documenting, acts as replacement for |
53 # The version info for the project you're documenting, acts as replacement for |
| 47 # |version| and |release|, also used in various other places throughout the |
54 # |version| and |release|, also used in various other places throughout the |
| 48 # built documents. |
55 # built documents. |
| 49 # |
56 # |
| 89 |
96 |
| 90 # -- Options for HTML output --------------------------------------------------- |
97 # -- Options for HTML output --------------------------------------------------- |
| 91 |
98 |
| 92 # The theme to use for HTML and HTML Help pages. See the documentation for |
99 # The theme to use for HTML and HTML Help pages. See the documentation for |
| 93 # a list of builtin themes. |
100 # a list of builtin themes. |
| 94 html_theme = 'default' |
101 if bootstrap_loaded: |
| |
102 html_theme = 'bootstrap' |
| |
103 else: |
| |
104 html_theme = 'default' |
| 95 |
105 |
| 96 # Theme options are theme-specific and customize the look and feel of a theme |
106 # Theme options are theme-specific and customize the look and feel of a theme |
| 97 # further. For a list of options available for each theme, see the |
107 # further. For a list of options available for each theme, see the |
| 98 # documentation. |
108 # documentation. |
| 99 #html_theme_options = {} |
109 #html_theme_options = {} |
| 100 |
110 |
| 101 # Add any paths that contain custom themes here, relative to this directory. |
111 # Add any paths that contain custom themes here, relative to this directory. |
| 102 #html_theme_path = [] |
112 if bootstrap_loaded: |
| |
113 html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
| 103 |
114 |
| 104 # The name for this set of Sphinx documents. If None, it defaults to |
115 # The name for this set of Sphinx documents. If None, it defaults to |
| 105 # "<project> v<release> documentation". |
116 # "<project> v<release> documentation". |
| 106 #html_title = None |
117 #html_title = None |
| 107 |
118 |