File: conf.py

package info (click to toggle)
xraydb 4.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 50,668 kB
  • sloc: python: 3,317; makefile: 75; sh: 18
file content (56 lines) | stat: -rw-r--r-- 1,392 bytes parent folder | download
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
49
50
51
52
53
54
55
56
#
# xraydb documentation build configuration file

import sys, os
import xraydb

sys.path.insert(0, '.')

import authorlist_format

release = xraydb.__version__.replace('-', ' ').replace('+', ' ')
version = release = release.split(' ')[0]

project = 'xraydb'
html_title = html_short_title = 'X-ray DB:  X-ray Reference Data in SQLite'

author = 'Matthew Newville'
copyright = 'Public Domain'

extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax',
              'sphinx.ext.extlinks',
              'sphinx.ext.napoleon',
              'sphinxcontrib.bibtex' ]

todo_include_todos = True

templates_path = ['_templates']
source_suffix = '.rst'
source_encoding = 'utf-8'
master_doc = 'index'
today_fmt = '%Y-%B-%d'

exclude_trees = ['_build']

add_function_parentheses = True
add_module_names = False
pygments_style = 'sphinx'

bibtex_bibfiles = ['xraydb.bib']

# html themes: 'default', 'sphinxdoc',  'alabaster', 'agogo', 'nature'
html_theme = 'nature'

# html_theme_options = {'pagewidth':'85em',
#                       'documentwidth':'60em',
#                       'sidebarwidth': '25em',
#                       'headercolor1': '#000080',
#                       'headercolor2': '#0000A0',
#                       }

#html_logo = None
#html_favicon = None
html_static_path = ['_static']
html_last_updated_fmt = '%Y-%B-%d'
html_show_sourcelink = True
htmlhelp_basename = 'xraydbdoc'