1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# Configuration file for the Sphinx documentation builder.
#
import os
import time
import datetime
year = datetime.datetime.utcfromtimestamp(
int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
).year
project = 'bitstring'
copyright = f'2006 - {year}, Scott Griffiths'
author = 'Scott Griffiths'
release = '4.3'
extensions = []
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
root_doc = 'index'
add_function_parentheses = False
add_module_names = False
html_show_sphinx = False
html_static_path = ['_static']
html_css_files = ["custom.css"]
html_theme = 'piccolo_theme'
html_theme_options = {
# "banner_text": "New requirement of Python 3.8 or later - see release notes for full details.",
"banner_hiding": "permanent",
"show_theme_credit": False,
"globaltoc_maxdepth": 2,
"source_url": 'https://github.com/scott-griffiths/bitstring/',
}
html_logo = './bitstring_logo_small_white.png'
|