Try to fix issues with docs/conf.py

This commit is contained in:
Dylan Taylor 2021-05-15 11:39:22 -04:00
parent ffd5b5f804
commit f1051d9519
1 changed files with 10 additions and 12 deletions

View File

@ -1,6 +1,7 @@
import os
import re
import sys
sys.path.insert(0, os.path.abspath('..'))
@ -11,9 +12,11 @@ def process_docstring(app, what, name, obj, options, lines):
ll.append(spaces_pat.sub(" ", l))
lines[:] = ll
def setup(app):
app.connect('autodoc-process-docstring', process_docstring)
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
@ -110,12 +113,7 @@ htmlhelp_basename = 'archinstalldoc'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(
"index", "archinstall", u"archinstall Documentation",
[u"Anton Hvornum"], 1
)
]
man_pages = [("index", "archinstall", u"archinstall Documentation", [u"Anton Hvornum"], 1)]
# If true, show URL addresses after external links.
# man_show_urls = False