From: Jeremy Stanley Date: Mon, 30 Apr 2018 19:39:14 +0000 (+0000) Subject: Add Sphinx configuration X-Git-Tag: 0.0.1~94 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=abcc08f7735ce51e92670a9921c2a9aba370938b;p=mudpy.git Add Sphinx configuration Configuration for using Sphinx to build the mudpy documentation suite/site. --- 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'), +]