This is an ongoing project to revamp the YTDL-Sub docs. Starting point: - Recreate docs folder/file structure - Update root makefile to use new make docs command - Move old docs into new docs folder structure (as a base) - Separate out old docs into individual files to allow better navigation with the new theme
59 lines
1.6 KiB
Python
59 lines
1.6 KiB
Python
# 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 = 'ytdl-sub'
|
|
copyright = '2023, Jesse Bannon'
|
|
author = 'Jesse Bannon'
|
|
release = '2023.12.15'
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
"sphinx.ext.autodoc",
|
|
]
|
|
|
|
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 = "sphinx_book_theme"
|
|
|
|
html_theme_options = {
|
|
"icon_links": [
|
|
{
|
|
"name": "GitHub",
|
|
"url": "https://github.com/jmbannon/ytdl-sub",
|
|
"icon": "fa-brands fa-square-github",
|
|
"type": "fontawesome",
|
|
},
|
|
{
|
|
"name": "Discord",
|
|
"url": "https://discord.gg/v8j9RAHb4k",
|
|
"icon": "https://img.shields.io/discord/994270357957648404?logo=Discord",
|
|
"type": "url",
|
|
},
|
|
],
|
|
"announcement": (
|
|
"Migration to <a href='~/build/index.html'>beautiful subscriptions</a> is now live"
|
|
),
|
|
}
|
|
|
|
html_sidebars ={
|
|
# "**": [
|
|
# "globaltoc.html",
|
|
# "sourcelink.html",
|
|
# "searchbox.html"
|
|
# ],
|
|
}
|
|
|
|
html_static_path = ['_static']
|