Reorganize Sphinx config
[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
10 project = 'mudpy'
11
12 add_function_parentheses = True
13 add_module_names = True
14 copyright = '2004-2018, Jeremy Stanley <fungi@yuggoth.org>'
15 extensions = ['sphinx.ext.autodoc']
16 html_favicon = '_static/logo.svg'
17 html_logo = '_static/logo.svg'
18 html_sidebars = {'**': [
19     'about.html',
20     'donate.html',
21     'navigation.html',
22     'relations.html',
23     'searchbox.html',
24 ]}
25 html_theme_options = {
26     'description': 'The mudpy MUD server engine.',
27     'fixed_sidebar': True,
28     'logo_name': True,
29     'logo_text_align': 'center',
30 }
31 html_title = 'mudpy'
32 htmlhelp_basename = '%sdoc' % project
33 latex_documents = [(
34     'index', '%s.tex' % project, '%s' % project, 'Jeremy Stanley', 'manual')]
35 master_doc = 'index'
36 pygments_style = 'sphinx'
37 source_suffix = '.rst'