peergos-making-yourself-aud.../source/conf.py
George Lambert 8496ef8338
Some checks are pending
ci / markdown (push) Waiting to run
Put the executive summary on page 2, before the table of contents.
The cover stays page 1. Numbered chapters now start at What Verae
provides. The TOC lists Executive summary at page 2.
2026-09-16 01:21:05 -04:00

139 lines
4.3 KiB
Python

# Sphinx configuration — Making yourself audit-ready with Verae DataCubes
# Logo on every page: https://www.verae.com/Assets/VeraeFullLogo.png
project = "Making yourself audit-ready with Verae DataCubes"
copyright = "2026, Verae Inc"
author = "Verae Inc"
release = "2026.09"
version = "2.0"
extensions = []
templates_path = ["_templates"]
exclude_patterns = ["verification.rst", "executive.rst"]
html_theme = "alabaster"
html_static_path = ["_static"]
html_title = project
html_logo = "_static/VeraeFullLogo.png"
html_favicon = "_static/VeraeFullLogo.png"
html_css_files = ["verae.css"]
html_copy_source = False
html_show_sourcelink = False
html_theme_options = {
"logo": "VeraeFullLogo.png",
"logo_name": False,
"description": "Tools for storage, communications, timestamping, verification, and audit — not a certificate.",
"fixed_sidebar": True,
"page_width": "980px",
"sidebar_width": "240px",
"show_powered_by": False,
}
latex_engine = "pdflatex"
latex_documents = [
(
"index",
"peergos-making-yourself-audit-ready-with-verae-datacubes.tex",
r"Making yourself audit-ready with Verae DataCubes",
r"Verae Inc",
"manual",
),
]
latex_additional_files = ["_static/VeraeFullLogo.png"]
latex_show_pagerefs = False
latex_show_urls = "footnote"
latex_toplevel_sectioning = "chapter"
_PREAMBLE = r"""
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{needspace}
\DeclareUnicodeCharacter{2014}{---}
\DeclareUnicodeCharacter{2013}{--}
\DeclareUnicodeCharacter{201C}{``}
\DeclareUnicodeCharacter{201D}{''}
\DeclareUnicodeCharacter{2018}{`}
\DeclareUnicodeCharacter{2019}{'}
\DeclareUnicodeCharacter{25BC}{v}
\definecolor{veraepurple}{HTML}{5B2C8B}
\definecolor{veraedark}{HTML}{1A0A24}
\definecolor{veraeink}{HTML}{111111}
% Extra headroom so the logo never collides with body text.
\setlength{\headheight}{48pt}
\addtolength{\topmargin}{-16pt}
\newcommand{\VeraeLogo}{\includegraphics[height=1.05cm]{VeraeFullLogo.png}}
\newcommand{\VeraeFooter}{%
\footnotesize\color{veraepurple}%
Verae Inc \textbullet\ https://www.verae.com \textbullet\
Book a call at verae.com \textbullet\ app.verae.com}
\fancypagestyle{normal}{
\fancyhf{}
\fancyhead[L]{\VeraeLogo}
\fancyhead[R]{\small\color{veraepurple}Audit-ready with Verae DataCubes}
\fancyfoot[L]{\VeraeFooter}
\fancyfoot[R]{\footnotesize\color{veraepurple}\thepage}
\renewcommand{\headrulewidth}{0.6pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrule}{\hbox to\headwidth{\color{veraepurple}\leaders\hrule height \headrulewidth\hfill}}
\renewcommand{\footrule}{\hbox to\headwidth{\color{veraepurple}\leaders\hrule height \footrulewidth\hfill}}
}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[L]{\VeraeLogo}
\fancyfoot[L]{\VeraeFooter}
\fancyfoot[R]{\footnotesize\color{veraepurple}\thepage}
\renewcommand{\headrulewidth}{0.6pt}
\renewcommand{\footrulewidth}{0.4pt}
}
\pagestyle{normal}
% Each Sphinx chapter already starts a new page in the manual class.
% Keep first-page headers branded as well.
\makeatletter
\let\sphinx@originalchapter\chapter
\renewcommand{\chapter}{\clearpage\thispagestyle{plain}\sphinx@originalchapter}
\makeatother
"""
latex_elements = {
"papersize": "letterpaper",
"pointsize": "11pt",
"preamble": _PREAMBLE,
"fncychap": r"\usepackage[Sonny]{fncychap}",
"printindex": "",
"maketitle": r"""
\begin{titlepage}
\thispagestyle{empty}
\vspace*{1.4cm}
\begin{flushleft}
\includegraphics[width=7.2cm]{VeraeFullLogo.png}
\end{flushleft}
\vspace{1.6cm}
{\color{veraepurple}\rule{\textwidth}{1.6pt}}
\vspace{0.7cm}
{\Huge\bfseries Making yourself audit-ready\\[0.25em] with Verae DataCubes\par}
\vspace{0.55cm}
{\Large Software is not a HIPAA, SOC 2, or ISO 27001 certificate.\par}
\vspace{0.35cm}
{\large A technical briefing on what the Verae DataCube Server Solution
provides for data in transit and data at rest --- and what every
organization must still do itself.\par}
\vspace{0.9cm}
{\color{veraepurple}\rule{\textwidth}{0.6pt}}
\vspace{0.7cm}
{\large Verae Inc\\[0.2em]
https://www.verae.com\\[0.2em]
Book a call at verae.com\\[0.2em]
app.verae.com\par}
\vfill
{\small September 2026 \textbullet\ Document version 2.0\par}
\end{titlepage}
\clearpage
""",
# TOC is emitted from index.rst *after* the page-2 executive summary.
"tableofcontents": "",
}