merge template, fill vars, lint

This commit is contained in:
pacrob
2025-01-25 14:40:18 -07:00
21 changed files with 114 additions and 102 deletions

View File

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# py-libp2p documentation build configuration file, created by
# sphinx-quickstart on Thu Oct 16 20:43:24 2014.
#
@ -19,7 +17,7 @@
import os
DIR = os.path.dirname("__file__")
DIR = os.path.dirname(__file__)
with open(os.path.join(DIR, "../setup.py"), "r") as f:
for line in f:
if "version=" in line:
@ -200,6 +198,8 @@ htmlhelp_basename = "libp2pdocs"
# -- Options for LaTeX output ---------------------------------------------
latex_engine = "xelatex"
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',