-
Notifications
You must be signed in to change notification settings - Fork 7
/
conf.py
63 lines (43 loc) · 1.84 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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import sys, os
import re
from sphinx_rtd_theme import __version__ as theme_version
from sphinx_rtd_theme import __version_full__ as theme_version_full
# dal conf.py di tansignari
import recommonmark
from recommonmark.transform import AutoStructify
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
sys.path.append(os.path.abspath(os.pardir))
__version__ = '1.0'
# -- General configuration -----------------------------------------------------
source_suffix = '.rst'
master_doc = 'index'
project = 'Da Google_Docs a Read_the_Docs'
copyright = '[cirospat - licenza CC-BY-SA]'
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
extlinks = {}
# -- Version Control System Integration (https://docs.readthedocs.io/en/latest/vcs.html?highlight=conf_py_path) aggiunto 3_10_2018 ----
# html_context = {
# "display_github": True, # Integrate GitHub
# "github_user": "cirospat", # Username
# "github_repo": "googledocs-to-readthedocs", # Repo name
# "github_version": "master", # Version
# "conf_py_path": "/googledocs-to-readthedocs/", # Path in the checkout to the docs root
# }
# -- Options for HTML output ---------------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_static_path = ['static']
extensions = ['sphinx.ext.ifconfig','sphinx_markdown_tables']
def setup(app):
# overrides for wide tables in RTD theme
app.add_stylesheet('theme_overrides.css') # path relative to static
"""
You might want to uncomment the “latex_documents = []” if you use CKJ characters in your document.
Because the pdflatex raises exception when generate Latex documents with CKJ characters.
"""
#latex_documents = []
latex_logo = "static/gdocs-rtd_1.png"
html_logo = "static/gdocs-rtd_1.png"
templates_path = ['_templates']