-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathconf.py
96 lines (84 loc) · 2.56 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
95
96
# -*- coding: utf-8 -*-
# -- Path setup --------------------------------------------------------------
import os
# -- Project information -----------------------------------------------------
project = "OSGeoLive"
copyright = "2022, OSGeoLive"
author = "Vicky Vergara"
version = "15"
release = "August, 2022"
# -- General configuration ---------------------------------------------------
extensions = [
"sphinx_revealjs",
]
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "presentation"
language = "en"
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
pygments_style = None
locale_dirs = ["@CMAKE_SOURCE_DIR@/locale"]
# -- Options for HTML output -------------------------------------------------
html_theme = "alabaster"
html_theme_options = {
"revealjs_theme": "league",
}
#html_static_path = ["@CMAKE_SOURCE_DIR@/doc/_static"]
# -- Options for Reveal.js output ---------------------------------------------
revealjs_static_path = ["@CMAKE_SOURCE_DIR@/doc/_static"]
revealjs_style_theme = "white"
revealjs_script_conf = """
{
controls: true,
progress: true,
history: true,
center: true,
transition: "cube",
}
"""
revealjs_script_plugins = [
{
"name": "RevealNotes",
"src": "revealjs4/plugin/notes/notes.js",
},
]
revealjs_css_files = [
"presentation.css",
]
revealjs_notes_from_comments = True
# -- Options for HTMLHelp output ---------------------------------------------
htmlhelp_basename = "sphinx-revealjsdoc"
# -- Options for LaTeX output ------------------------------------------------
latex_elements = {}
latex_documents = [
(
master_doc,
"sphinx-revealjs.tex",
"sphinx-revealjs Documentation",
"Kazuya Takei",
"manual",
),
]
# -- Options for manual page output ------------------------------------------
man_pages = [
(master_doc, "sphinx-revealjs", "sphinx-revealjs Documentation", [author], 1)
]
# -- Options for Texinfo output ----------------------------------------------
texinfo_documents = [
(
master_doc,
"sphinx-revealjs",
"sphinx-revealjs Documentation",
author,
"sphinx-revealjs",
"One line description of project.",
"Miscellaneous",
),
]
# -- Options for Epub output -------------------------------------------------
epub_title = project
epub_exclude_files = ["search.html"]
# -- Options for extensions --------------------------------------------------
todo_include_todos = True
if "GTAGJS_IDS" in os.environ:
gtagjs_ids = os.environ["GTAGJS_IDS"].split(",")