diff options
author | liuyamin <liuyamin@fiberhome.com> | 2018-05-29 20:01:54 +0800 |
---|---|---|
committer | liuyamin <liuyamin@fiberhome.com> | 2018-06-06 14:15:32 +0800 |
commit | 557eddffc34941c4dfb37fa5af1d4dad15fe570e (patch) | |
tree | e3789a97eb8607ad4d0351540e3b380f31d311a0 /doc | |
parent | 1cdbe681bbc9aa96bdf2d4d60941e28140470397 (diff) | |
download | glance_store-557eddffc34941c4dfb37fa5af1d4dad15fe570e.tar.gz |
Update conf.py to align with openstackdocstheme
Revise the documentation configuration to reflect the latest
guidelines at https://docs.openstack.org/openstackdocstheme/latest/
Change-Id: Ife99fbc14ef5c03a87428eaf5b3fa62aacda9450
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/conf.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 64ff8e6..8b7aab9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -14,9 +14,7 @@ # under the License. import os -import subprocess import sys -import warnings sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ---------------------------------------------------- @@ -72,14 +70,6 @@ htmlhelp_basename = '%sdoc' % project modindex_common_prefix = ['glance_store.'] -git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local", - "-n1"] -try: - html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8') -except Exception: - warnings.warn('Cannot get last updated time from git repository. ' - 'Not setting "html_last_updated_fmt".') - # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]). |