From abcc08f7735ce51e92670a9921c2a9aba370938b Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 30 Apr 2018 19:39:14 +0000 Subject: [PATCH] Add Sphinx configuration Configuration for using Sphinx to build the mudpy documentation suite/site. --- doc/source/conf.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 doc/source/conf.py diff --git a/doc/source/conf.py b/doc/source/conf.py new file mode 100755 index 0000000..1690dbc --- /dev/null +++ b/doc/source/conf.py @@ -0,0 +1,41 @@ +# Copyright (c) 2018 Jeremy Stanley . Permission +# to use, copy, modify, and distribute this software is granted under +# terms provided in the LICENSE file distributed with this software. + +import os +import sys + +sys.path.insert(0, os.path.abspath('../..')) +extensions = ['sphinx.ext.autodoc'] +source_suffix = '.rst' +master_doc = 'index' +project = 'mudpy' +copyright = '2004-2018, Jeremy Stanley ' +add_function_parentheses = True +add_module_names = True +pygments_style = 'sphinx' +html_title = 'mudpy' +html_favicon = '_static/logo.svg' +html_logo = '_static/logo.svg' +html_theme_options = { + 'description': 'The mudpy MUD server engine.', + 'fixed_sidebar': True, + 'logo_name': True, + 'logo_text_align': 'center', +} +html_sidebars = { + '**': [ + 'about.html', + 'navigation.html', + 'relations.html', + 'searchbox.html', + 'donate.html', + ] +} +htmlhelp_basename = '%sdoc' % project +latex_documents = [ + ('index', + '%s.tex' % project, + u'%s' % project, + u'Jeremy Stanley', 'manual'), +] -- 2.11.0