# html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). # html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'user-guide' # If true, publish source files html_copy_source = False # -- Options for linkcheck ------------------------------------------------ linkcheck_ignore = [r'https://build.opensuse.org'] # -- Options for LaTeX output --------------------------------------------- pdf_theme_path = openstackdocstheme.get_pdf_theme_path() openstack_logo = openstackdocstheme.get_openstack_logo_path() latex_custom_template = r""" \newcommand{\openstacklogo}{%s} \usepackage{%s} """ % (openstack_logo, pdf_theme_path) latex_engine = 'xelatex' latex_elements = { # The paper size ('letterpaper' or 'a4paper'). 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '11pt',
# If true, an OpenSearch description file will be output, and all pages will # contain a <link> tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. # html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). # html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'install-guide' # If true, publish source files html_copy_source = False # -- Options for LaTeX output --------------------------------------------- pdf_theme_path = openstackdocstheme.get_pdf_theme_path() openstack_logo = openstackdocstheme.get_openstack_logo_path() latex_custom_template = r""" \newcommand{\openstacklogo}{%s} \usepackage{%s} """ % (openstack_logo, pdf_theme_path) latex_engine = 'xelatex' latex_elements = { # The paper size ('letterpaper' or 'a4paper'). 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '11pt',
# # All configuration values have a default; values that are commented out # serve to show the default. # import os import openstackdocstheme # 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. #sys.path.insert(0, os.path.abspath('.')) # Release name for PDF documents latex_custom_template = r""" \usepackage{""" + openstackdocstheme.get_pdf_theme_path() + """} \\newcommand{\openstacklogo}{""" + openstackdocstheme.get_openstack_logo_path( ) + """} """ # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ['openstackdocstheme']