From a472a8e904a326cc6460a4b0abb6b4d567e3cd17 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 14 Jun 2023 19:00:51 +0200 Subject: Project structure --- source/conf.py | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 source/conf.py (limited to 'source/conf.py') diff --git a/source/conf.py b/source/conf.py new file mode 100644 index 0000000..2a940ae --- /dev/null +++ b/source/conf.py @@ -0,0 +1,60 @@ +# Configuration file for the Sphinx documentation builder. +# +# For the full list of built-in configuration values, see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information + +project = 'Valhalla’s Docs' +copyright = '2023, Elena Grandi' +author = 'Elena “of Valhalla”' + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = [ + 'sphinxcontrib.inkscapeconverter', + 'sphinxcontrib.bibtex', +] + +templates_path = ['_templates'] +exclude_patterns = [] + + + +# -- Options for HTML output ------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output + +html_theme = 'alabaster' +html_static_path = ['_static'] + +# -- Options for latex output ------------------------------------------------- + +latex_engine = 'xelatex' +latex_show_urls = 'footnote' +latex_toplevel_sectioning = 'part' + +latex_elements = { + 'papersize': 'a5paper', + 'fontpkg': r''' + \setmainfont{Gentium} + \setsansfont{Gentium} + \setmonofont{FreeMono}[Scale=0.8] + ''', + 'sphinxsetup': r''' + TitleColor={named}{black}, + InnerLinkColor={named}{gray}, + OuterLinkColor={named}{gray}, + hmargin={2cm,2cm}, + vmargin={2.5cm,2.5cm}, + ''', + 'fncychap': r'\usepackage[Rejne]{fncychap}', + } + +# Options for extensions + +bibtex_bibfiles = [ + "bibliography/misc.bib", +] + -- cgit v1.2.3