17b9eba21ca4be0fc48881634271e41a116eac94
[mudpy.git] / doc / source / conf.py
1 # Copyright (c) 2018 mudpy authors. Permission to use, copy,
2 # modify, and distribute this software is granted under terms
3 # provided in the LICENSE file distributed with this software.
4
5 import os
6 import sys
7
8 sys.path.insert(0, os.path.abspath('../..'))
9 extensions = ['sphinx.ext.autodoc']
10 source_suffix = '.rst'
11 master_doc = 'index'
12 project = 'mudpy'
13 copyright = '2004-2018, Jeremy Stanley <fungi@yuggoth.org>'
14 add_function_parentheses = True
15 add_module_names = True
16 pygments_style = 'sphinx'
17 html_title = 'mudpy'
18 html_favicon = '_static/logo.svg'
19 html_logo = '_static/logo.svg'
20 html_theme_options = {
21   'description': 'The mudpy MUD server engine.',
22   'fixed_sidebar': True,
23   'logo_name': True,
24   'logo_text_align': 'center',
25 }
26 html_sidebars = {
27   '**': [
28     'about.html',
29     'navigation.html',
30     'relations.html',
31     'searchbox.html',
32     'donate.html',
33   ]
34 }
35 htmlhelp_basename = '%sdoc' % project
36 latex_documents = [
37     ('index',
38      '%s.tex' % project,
39      u'%s' % project,
40      u'Jeremy Stanley', 'manual'),
41 ]