forked from release-engineering/iib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
51 lines (43 loc) · 1.72 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
from datetime import datetime
import os
import sys
import pkg_resources
# -- Path setup --------------------------------------------------------------
sys.path.append(os.path.abspath('../'))
# -- Project information -----------------------------------------------------
try:
version = pkg_resources.get_distribution('iib').version
except pkg_resources.DistributionNotFound:
version = 'unknown'
project = 'IIB Image Builder Service'
copyright = datetime.today().strftime('%Y') + ', Red Hat Inc.'
author = 'Red Hat - EXD'
# -- General configuration ---------------------------------------------------
extensions = [
'celery.contrib.sphinx',
'recommonmark',
'sphinx.ext.autodoc',
'sphinx.ext.githubpages',
]
master_doc = 'index'
language = 'en'
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
pygments_style = 'sphinx'
# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_static_path = []
# -- Options for HTMLHelp output ---------------------------------------------
htmlhelp_basename = 'IIBdoc'
# -- Extension configuration -------------------------------------------------
# This must be mocked because Read the Docs doesn't have krb5-devel installed
autodoc_mock_imports = ["requests_kerberos"]
# -- Options for intersphinx extension ---------------------------------------
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3': None}