Skip to content

Commit 7763216

Browse files
Remove pdf related Sphinx conf
1 parent d5f7160 commit 7763216

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def setup(app):
115115
# Render TODO directives
116116
todo_include_todos = True
117117

118-
source_suffix = ".rst"
118+
source_suffix = {".rst": "restructuredtext"}
119119

120120
# Add any paths that contain templates here, relative to this directory.
121121
# templates_path = ["_templates"]
@@ -132,7 +132,6 @@ def setup(app):
132132
"_templates/*.rst",
133133
]
134134

135-
136135
# -- Options for HTML output ----------------------------------------------
137136

138137
# The theme to use for HTML and HTML Help pages. See the documentation for
@@ -168,10 +167,6 @@ def setup(app):
168167

169168
copybutton_selector = "div:not(.no-copybutton) > div.highlight > pre"
170169

171-
# Sphinx Multiversion options
172-
# smv_branch_whitelist = r'^30.*$'
173-
# smv_latest_version = "3005"
174-
175170
# The name of an image file (relative to this directory) to place at the top
176171
# of the sidebar.
177172
# For example, official Salt Project docs use images from the salt-branding-guide
@@ -193,25 +188,3 @@ def setup(app):
193188
# html_favicon = "https://gitlab.com/saltstack/open/salt-branding-guide/-/raw/master/logos/SaltProject_Logomark_teal.png"
194189
# Example for <4.0.0 of Sphinx, if added into _static/img/ and html_static_path is valid
195190
html_favicon = "_static/img/SaltProject_Logomark_teal.png"
196-
197-
###
198-
# PDF Generation / LaTeX configuration
199-
###
200-
# If generating PDFs in the future, should ensure external logo is copied local
201-
# https://gitlab.com/saltstack/open/salt-branding-guide/-/raw/master/logos/SaltProject_altlogo_teal.png?inline=true
202-
# latex_logo = "docs/_static/img/SaltProject_verticallogo_black.png"
203-
204-
# Linux Biolinum, Linux Libertine: https://en.wikipedia.org/wiki/Linux_Libertine
205-
# Source Code Pro: https://github.com/adobe-fonts/source-code-pro/releases
206-
latex_elements = {
207-
"inputenc": "",
208-
"utf8extra": "",
209-
"preamble": r"""
210-
\usepackage{fontspec}
211-
\setsansfont{Linux Biolinum O}
212-
\setromanfont{Linux Libertine O}
213-
\setmonofont{Source Code Pro}
214-
""",
215-
}
216-
217-
suppress_warnings = ["autosectionlabel.*"]

0 commit comments

Comments
 (0)