-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
80 lines (59 loc) · 2.02 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
import sys
import os
import shlex
this_path = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, this_path + './resources/')
import simple_lexer
# Pygments (syntax highlighting) style to use
pygments_style = 'sphinx'
#highlight_language = 'simple'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode'
]
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'Simple'
copyright = u'2018-2019, Azeez Adewale and the Simple community (MIT)'
author = u'Azeez Adewale'
version = '0.1.0'
release = '0.1.0'
language = 'en'
exclude_patterns = ['build']
html_theme = "nature"
html_sidebars = { '**': ['localtoc.html', 'globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'] }
html_theme_options = {
#"relbarbgcolor": "red",
#'rightsidebar': True
}
# VCS options: https://docs.readthedocs.io/en/latest/vcs.html#github
html_context = {
"display_github": True, # Integrate GitHub
"github_user": "simple-lang", # Username
"github_repo": "simple-docs", # Repo name
"github_version": "master", # Version
"conf_py_path": "/", # Path in the checkout to the docs root
}
#html_logo = 'img/docs_logo.png'
# Output file base name for HTML help builder
htmlhelp_basename = 'Simpledoc'
# Enable directives that insert the contents of external files
file_insertion_enabled = False
# -- Options for LaTeX output ---------------------------------------------
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Simple.tex', 'Simple Documentation',
'Azeez Adewale and the Simple community', 'manual'),
]
# -- Options for linkcheck builder ----------------------------------------
# disable checking urls with about.html#this_part_of_page anchors
linkcheck_anchors = False
linkcheck_timeout = 10