Clean up sphinx conf file
This commit is contained in:
parent
4729294cad
commit
8177a2471a
|
@ -3,4 +3,4 @@ FROM python:3.8-slim
|
|||
WORKDIR /app
|
||||
ENTRYPOINT ["sphinx-build", "-M", "revealjs", ".", "_build"]
|
||||
|
||||
RUN pip install sphinx-revealjs sphinxcontrib-gtagjs
|
||||
RUN pip install sphinx-revealjs
|
||||
|
|
110
conf.py
110
conf.py
|
@ -1,90 +1,50 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# -- Path setup --------------------------------------------------------------
|
||||
import os
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
project = "sphinx-revealjs"
|
||||
copyright = "2018, Kazuya Takei"
|
||||
author = "Kazuya Takei"
|
||||
version = ""
|
||||
release = "2018.10"
|
||||
project = 'edifice-corb serverless architecture'
|
||||
copyright = '2020, Pavle Portic'
|
||||
author = 'Pavle Portic'
|
||||
version = '0.1.0'
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
extensions = ["sphinx_revealjs", "sphinxcontrib.gtagjs"]
|
||||
templates_path = ["_templates"]
|
||||
source_suffix = ".rst"
|
||||
master_doc = "index"
|
||||
extensions = ['sphinx_revealjs']
|
||||
templates_path = ['_templates']
|
||||
source_suffix = '.rst'
|
||||
master_doc = 'index'
|
||||
language = None
|
||||
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
||||
exclude_patterns = [
|
||||
'_build',
|
||||
'Dockerfile',
|
||||
'watch.sh',
|
||||
]
|
||||
pygments_style = None
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
html_theme = "alabaster"
|
||||
html_theme = 'alabaster'
|
||||
html_theme_options = {
|
||||
"revealjs_theme": "league",
|
||||
'revealjs_theme': 'league',
|
||||
}
|
||||
html_static_path = ["_static"]
|
||||
html_static_path = ['_static']
|
||||
|
||||
# -- Options for Reveal.js output ---------------------------------------------
|
||||
revealjs_style_theme = "black"
|
||||
revealjs_script_conf = """
|
||||
{
|
||||
controls: true,
|
||||
progress: true,
|
||||
history: true,
|
||||
center: true,
|
||||
transition: "slide",
|
||||
}
|
||||
"""
|
||||
revealjs_style_theme = 'black'
|
||||
revealjs_script_conf = '''
|
||||
{
|
||||
controls: true,
|
||||
progress: true,
|
||||
history: true,
|
||||
center: true,
|
||||
transition: "slide",
|
||||
showNotes: true,
|
||||
}
|
||||
'''
|
||||
revealjs_script_plugins = [
|
||||
{
|
||||
"src": "revealjs/plugin/notes/notes.js",
|
||||
"options": "{async: true}",
|
||||
},
|
||||
{
|
||||
"src": "revealjs/plugin/highlight/highlight.js",
|
||||
"options": "{async: true, callback: function() { hljs.initHighlightingOnLoad(); }}",
|
||||
},
|
||||
{
|
||||
'src': 'revealjs/plugin/notes/notes.js',
|
||||
'options': '{async: true}',
|
||||
},
|
||||
{
|
||||
'src': 'revealjs/plugin/highlight/highlight.js',
|
||||
'options': '{async: true, callback: function() { hljs.initHighlightingOnLoad(); }}',
|
||||
},
|
||||
]
|
||||
|
||||
# -- 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 --------------------------------------------------
|
||||
if "GTAGJS_IDS" in os.environ:
|
||||
gtagjs_ids = os.environ["GTAGJS_IDS"].split(",")
|
||||
|
|
Loading…
Reference in New Issue