forked from instillai/deep-learning-roadmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
86 lines (69 loc) · 1.97 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
import os
import sys
import sphinx_rtd_theme
sys.path.insert(0, os.path.abspath('_ext'))
# from recommonmark.parser import CommonMarkParser
sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.dirname(__file__))
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev")
# from django.conf import settings
# import django
# django.setup()
sys.path.append(os.path.abspath('_ext'))
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
]
templates_path = ['_templates']
edit_on_github_project = 'astorfi/Deep-Learning-NLP'
edit_on_github_branch = 'master'
source_suffix = ['.rst', '.md']
# source_parsers = {
# '.md': CommonMarkParser,
# }
master_doc = 'index'
project = u'Deep-Learning-NLP'
copyright = u'2018, Amirsina Torfi'
author = u'Amirsina Torfi'
version = '1.0'
release = '1.0'
exclude_patterns = ['_build']
default_role = 'obj'
pygments_style = 'sphinx'
# intersphinx_mapping = {
# 'TensorFlow-World': ('https://github.com/astorfi/TensorFlow-World', None),
# }
htmlhelp_basename = 'ReadTheDocsdoc'
latex_documents = [
(master_doc, 'Deep-Learning-NLP.tex', u'Deep-Learning-NLP Documentation',
u'Amirsina Torfi', 'manual'),
]
man_pages = [
(master_doc, 'Deep-Learning-NLP', u'Deep-Learning-NLP Documentation',
[author], 1)
]
exclude_patterns = [
# 'api' # needed for ``make gettext`` to not die.
]
language = 'en'
locale_dirs = [
'locale/',
]
gettext_compact = False
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_logo = 'logo/logo.png'
html_theme_options = {
'logo_only': True,
'display_version': False,
}
github_url='https://github.com/astorfi/Deep-Learning-NLP'
html_context = {
"display_github": True, # Add 'Edit on Github' link instead of 'View page source'
"last_updated": True,
"commit": False,
'github_url': 'https://github.com/astorfi/Deep-Learning-NLP'
}
#def setup(app):
# app.add_stylesheet('custom.css')