summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-02-23 14:48:14 +0100
committerAndreas Jaeger <aj@suse.com>2020-02-23 17:33:27 +0100
commit21f94dea86abecd0f238f01c4d39d2fafb84d832 (patch)
tree15df6cbe5218276769e870487590b403fa8da928 /doc/source
parent8b5ec12818c11be667195a954aa1f15c8971e3c3 (diff)
downloaddesignate-21f94dea86abecd0f238f01c4d39d2fafb84d832.tar.gz
Cleanup docs building
* Switch to newer openstackdocstheme version and remove settings that are default now Change-Id: Iec8791077aa7f1cb8edfa64235fb718a98aaba90
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ffa1d137..f3cdeb01 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -13,6 +13,9 @@
import sys, os
+# oslo.config needs the following import
+import designate.conf # noqa
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -43,7 +46,6 @@ extensions = ['sphinx.ext.autodoc',
repository_name = 'openstack/designate'
bug_project = 'designate'
bug_tag = ''
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
config_generator_config_file = '../../etc/designate/designate-config-generator.conf'
sample_config_basename = '_static/designate'
@@ -69,17 +71,6 @@ master_doc = 'index'
project = u'designate'
copyright = u'2012, Managed I.T.'
-# 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.
-#
-# The short X.Y version.
-import designate.conf # noqa
-from designate.version import version_info as designate_version
-version = designate_version.canonical_version_string()
-# The full version, including alpha/beta/rc tags.
-release = designate_version.version_string_with_vcs()
-
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None