]> kaliko git repositories - python-musicpd.git/blobdiff - doc/source/conf.py
Swith to SPDX for license headers
[python-musicpd.git] / doc / source / conf.py
index 9038c862af032d5653a1e532f441a1f29556b3b3..886811f3c596e33db0cd1feae63d0985b48469a1 100644 (file)
@@ -1,6 +1,8 @@
 # coding: utf-8
+# SPDX-FileCopyrightText: 2018-2021  kaliko <kaliko@azylum.org>
+# SPDX-License-Identifier: GPL-3.0-or-later
 #
-# 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
@@ -18,7 +20,6 @@
 #
 import os
 import sys
-# sys.path.insert(0, os.path.abspath('.'))
 sys.path.insert(0, os.path.abspath('../../'))
 from musicpd import VERSION
 __author__ = 'kaliko'
@@ -56,8 +57,9 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'Python ListenBrainz Module'
-copyright = u'2018, {}'.format(__author__)
+project = u'Python MPD Module'
+from datetime import datetime
+copyright = u'2012-{}, {}'.format(datetime.now().year, __author__)
 author = __author__
 
 # The version info for the project you're documenting, acts as replacement for
@@ -127,7 +129,6 @@ todo_include_todos = True
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'alabaster'
 html_theme = 'classic'
 #html_theme = "sphinx_rtd_theme"
 #html_theme = 'bootstrap'
@@ -145,7 +146,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.
 #
@@ -246,7 +247,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 ---------------------------------------------
 
@@ -272,7 +273,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'),
 ]
 
@@ -314,7 +315,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)
 ]
 
@@ -329,8 +330,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'),
 ]