From 602b7a5875bafd873d6fb005622379eb11dd133b Mon Sep 17 00:00:00 2001
From: Kaliko Jack <kaliko@azylum.org>
Date: Sat, 17 Nov 2018 19:08:20 +0100
Subject: [PATCH] Cleanup doc setting and build

---
 doc/source/conf.py | 16 ++++++++--------
 setup.cfg          |  5 +++++
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8df63f2..fce621c 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -1,6 +1,6 @@
 # coding: utf-8
 #
-# Python ListenBrainz Module documentation build configuration file, created by
+# Python MPD Module documentation build configuration file, created by
 # sphinx-quickstart on Mon Mar 12 14:37:32 2018.
 #
 # This file is execfile()d with the current directory set to its
@@ -55,7 +55,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'Python ListenBrainz Module'
+project = u'Python MPD Module'
 copyright = u'2018, {}'.format(__author__)
 author = __author__
 
@@ -143,7 +143,7 @@ html_theme = 'classic'
 # The name for this set of Sphinx documents.
 # "<project> v<release> documentation" by default.
 #
-# html_title = u'Python ListenBrainz Module v0.0.1'
+# html_title = u'Python MPD Module v0.0.1'
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
 #
@@ -244,7 +244,7 @@ html_show_sphinx = False
 # html_search_scorer = 'scorer.js'
 
 # Output file base name for HTML help builder.
-htmlhelp_basename = 'PythonListenBrainzModuledoc'
+htmlhelp_basename = 'PythonMPDModuledoc'
 
 # -- Options for LaTeX output ---------------------------------------------
 
@@ -270,7 +270,7 @@ latex_elements = {
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-    (master_doc, 'PythonListenBrainzModule.tex', u'Python ListenBrainz Module Documentation',
+    (master_doc, 'PythonMPDModule.tex', u'Python MPD Module Documentation',
      u'kaliko', 'manual'),
 ]
 
@@ -312,7 +312,7 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    (master_doc, 'pythonlistenbrainzmodule', u'Python ListenBrainz Module Documentation',
+    (master_doc, 'pythonmpdmodule', u'Python MPD Module Documentation',
      [author], 1)
 ]
 
@@ -327,8 +327,8 @@ man_pages = [
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-    (master_doc, 'PythonListenBrainzModule', u'Python ListenBrainz Module Documentation',
-     author, 'PythonListenBrainzModule', 'One line description of project.',
+    (master_doc, 'PythonMPDModule', u'Python MPD Module Documentation',
+     author, 'PythonMPDModule', 'One line description of project.',
      'Miscellaneous'),
 ]
 
diff --git a/setup.cfg b/setup.cfg
index 77bd960..57523f4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,3 +3,8 @@ formats = bztar,gztar,zip
 
 [bdist_wheel]
 universal = 0
+
+[build_sphinx]
+source-dir = doc/source
+build-dir  = build
+all_files  = 1
-- 
2.39.5