From e732506605298b2ce744f60fff81abb1e0192ab9 Mon Sep 17 00:00:00 2001
From: Sean McGinnis <sean.mcginnis@gmail.com>
Date: Thu, 5 Apr 2018 14:32:21 -0500
Subject: [PATCH] Clean up doc configuration

Remove some stale settings and get rid of setting version and
release. Those settings are now taken care of by openstackdocstheme
and do not need to be explicitly set, and since docs jobs no
longer install the project in order to generate docs, we are not
able to load those values from the python modules anyway.

Change-Id: I1a9a48538ca5c5e22e02f34c837e8fc783aeb2e9
---
 doc/source/conf.py | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 00b32ba6ff7..2ca4914d3f4 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -87,8 +87,6 @@ policy_generator_config_file = (
     '../../tools/config/cinder-policy-generator.conf')
 sample_policy_basename = '_static/cinder'
 
-todo_include_todos = True
-
 # Add any paths that contain templates here, relative to this directory.
 templates_path = []
 
@@ -108,16 +106,6 @@ bug_tag = 'doc'
 project = u'Cinder'
 copyright = u'2010-present, OpenStack Foundation'
 
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-from cinder.version import version_info
-# The full version, including alpha/beta/rc tags.
-release = version_info.release_string()
-# The short X.Y version.
-version = version_info.version_string()
-
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 # language = None
@@ -128,12 +116,6 @@ version = version_info.version_string()
 # Else, today_fmt is used as the format for a strftime call.
 # today_fmt = '%B %d, %Y'
 
-# List of documents that shouldn't be included in the build.
-unused_docs = [
-    'api_ext/rst_extension_template',
-    'installer',
-]
-
 # List of directories, relative to source directory, that shouldn't be searched
 # for source files.
 exclude_trees = []