@ -26,10 +26,8 @@
import glob
import os
import subprocess
import sys
import tempfile
import warnings
from oslo_config import cfg
@ -115,7 +113,6 @@ source_suffix = '.rst'
master_doc = ' index '
# General information about the project.
project = u ' Heat '
copyright = u ' (c) 2012- Heat Developers '
# The language for content autogenerated by Sphinx. Refer to documentation
@ -183,7 +180,6 @@ apidoc_excluded_paths = [
# html_theme = '_theme'
html_theme = ' openstackdocs '
html_last_updated_fmt = ' % Y- % m- %d % H: % M '
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
@ -217,17 +213,6 @@ html_static_path = ['_static']
# robots.txt.
html_extra_path = [ ' _extra ' ]
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
git_cmd = [ " git " , " log " , " --pretty=format: ' %a d, 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 " . ' )
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
# html_use_smartypants = True
@ -271,17 +256,6 @@ htmlhelp_basename = 'Heatdoc'
# -- Options for LaTeX output -------------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual])
latex_documents = [