2021-12-11 21:36:05 +00:00
|
|
|
# Configuration file for the Sphinx documentation builder.
|
|
|
|
#
|
2021-12-11 21:39:51 +00:00
|
|
|
# This file only contains a selection of the most common options. For
|
|
|
|
# a full list see the documentation:
|
2021-12-11 21:36:05 +00:00
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
#
|
2021-12-11 21:39:51 +00:00
|
|
|
# To see the default sample conf.py, run sphinx-quickstart in an empty
|
|
|
|
# directory. Most of the original comments and options were removed.
|
2021-12-19 18:12:11 +00:00
|
|
|
import sphinx_rtd_theme # noQA F401
|
2022-01-11 16:49:33 +00:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
sys.path.append(os.path.abspath("./_ext"))
|
2021-12-11 21:36:05 +00:00
|
|
|
|
|
|
|
project = 'QPDF'
|
2023-02-25 19:18:13 +00:00
|
|
|
copyright = '2005-2023, Jay Berkenbilt'
|
2021-12-11 21:36:05 +00:00
|
|
|
author = 'Jay Berkenbilt'
|
2021-12-21 14:23:20 +00:00
|
|
|
# make_dist and the CI build lexically find the release version from this file.
|
2023-05-22 10:54:12 +00:00
|
|
|
release = '11.5.0'
|
2021-12-18 20:59:04 +00:00
|
|
|
version = release
|
2021-12-19 18:12:11 +00:00
|
|
|
extensions = [
|
|
|
|
'sphinx_rtd_theme',
|
2022-01-11 16:49:33 +00:00
|
|
|
'qpdf',
|
2021-12-19 18:12:11 +00:00
|
|
|
]
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
2021-12-18 14:01:52 +00:00
|
|
|
html_theme_options = {
|
|
|
|
"body_max_width": None,
|
|
|
|
}
|
2021-12-19 18:12:11 +00:00
|
|
|
html_logo = '../logo/qpdf.svg'
|
2022-01-17 12:22:35 +00:00
|
|
|
html_static_path = ['_static']
|
|
|
|
html_css_files = [
|
|
|
|
'css/wraptable.css',
|
|
|
|
]
|
2022-01-18 14:14:17 +00:00
|
|
|
latex_elements = {
|
|
|
|
'preamble': r'''
|
|
|
|
\sphinxDUC{2264}{$\leq$}
|
|
|
|
\sphinxDUC{2265}{$\geq$}
|
2022-07-31 20:19:50 +00:00
|
|
|
\sphinxDUC{03C0}{$\pi$}
|
2022-01-18 14:14:17 +00:00
|
|
|
''',
|
|
|
|
}
|
2021-12-18 18:43:58 +00:00
|
|
|
highlight_language = 'none'
|