-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
executable file
·94 lines (84 loc) · 2.88 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# -*- coding: utf-8 -*-
#
# Software Install Guides documentation build configuration file, created by
# sphinx-quickstart on Tue Aug 9 21:08:14 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
import os
import sys
from datetime import date
sys.path.insert(0, os.path.abspath('.'))
# --------- This section is for ReadTheDocs ------------------------------
# You have to use this type of coding if building locally with RTD theme, then
# pushing the build out to RTD website for hosting. As RTD will fail because
# they auto-add in the RTD theme building.
# Copied from http://bit.ly/2bsA5zu
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from
# docs.readthedocs.org
# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "https://docs.jpcdi.com")
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# --------- END RTD SECTION ----------------------------------------------
# -- General configuration ------------------------------------------------
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.extlinks',
'sphinx_rtd_theme'
]
templates_path = ['_templates']
source_suffix = ['.rst']
master_doc = 'index'
project = u'Software Install Guides'
copyright = u'2016-' + str(date.today().year) + \
u', Justin Partain, JPartain89, JPCDI'
author = u'Justin Partain'
version = u'7.0.0'
release = u'7.0.0'
today_fmt = '%B %d, %Y'
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '_drafts', 'README.rst', 'venv', '_readthedocs']
pygments_style = 'sphinx'
html_theme_options = {
'analytics_id': 'G-N74JQEKLQN',
'collapse_navigation': False,
'prev_next_buttons_location': 'both',
'sticky_navigation': False,
'display_version': False,
'style_external_links': True,
'navigation_depth': 4
}
html_logo = 'JPLogo-Header.png'
html_favicon = 'favicon.ico'
html_extra_path = ['_extra_html']
html_static_path = ['_static']
html_last_updated_fmt = '%B %d, %Y'
html_use_smartypants = True
html_domain_indices = True
html_use_index = True
html_show_sourcelink = True
html_show_sphinx = True
html_show_copyright = True
man_pages = [
(master_doc, 'softwareinstallguides', u'Software Install Guides Documentation',
[author], 1)
]
man_show_urls = True
texinfo_documents = [
(master_doc, 'SoftwareInstallGuides', u'Software Install Guides Documentation',
author, 'SoftwareInstallGuides', 'One line description of project.',
'Miscellaneous'),
]
linkcheck_ignore = [
r'http://localhost:\d+/',
r'http://localhost',
r'http://127.0.0.1',
r'https://atom.io',
r'http://askubuntu.com',
r'https://theunarchiver.com/',
r'https://securityheaders.com'
]
linkcheck_exclude_documents = [r'.*/archive/.*']