Plex-Meta-Manager/docs/conf.py
2023-10-23 15:55:48 +01:00

586 lines
31 KiB
Python

# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
import datetime
import sys
from os.path import abspath, dirname
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
import sphinx_bootstrap_theme
path = dirname(abspath(__file__))
sys.path.append(path)
# -- Project information -----------------------------------------------------
project = "Plex Meta Manager Wiki"
author = "Nathan Taggart"
copyright = f"{datetime.datetime.now().year}"
# The full version, including alpha/beta/rc tags
with open("../VERSION") as f:
release = f.readline()
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named "sphinx.ext.*") or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'myst_parser',
'sphinx_inline_tabs',
'sphinx_copybutton',
'sphinx_reredirects',
'sphinx_design',
'notfound.extension'
]
source_suffix = ['.rst', '.md']
myst_heading_anchors = 4
myst_enable_extensions = ["colon_fence"]
# -- Napoleon Settings -----------------------------------------------------
napoleon_google_docstring = True
napoleon_numpy_docstring = False
napoleon_include_init_with_doc = False
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = False
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = True
napoleon_use_param = True
napoleon_use_rtype = True
napoleon_use_keyword = True
autodoc_member_order = 'bysource'
add_module_names = False
master_doc = 'index'
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
# html_theme = "nature"
html_theme = "bootstrap"
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
# (Optional) Logo. Should be small enough to fit the navbar (ideally 24x24).
# Path should be relative to the ``_static`` files directory.
html_logo = "_static/logo-white.png"
html_favicon = "_static/favicon.png"
html_copy_source = False
html_show_sourcelink = False
# Redirect URLs
# "<source>": "<target>"
redirects = {
"redact": "https://regex101.com/r/DMo1DQ/latest",
"home/guides/alternative-docker": "images.html",
"home/guides/defaults": "../../defaults/guide.html",
"metadata/details/setting": "definition.html",
"metadata/details/details": "update.html",
"malauth": "https://replit.com/@chazlarson/MALAuth",
"traktauth": "https://replit.com/@chazlarson/TraktAuth",
"defaults/movie/universe": "../../both/universe.html",
"discord": "https://discord.gg/FNqqw5jRSz",
}
# Theme options are theme-specific and customize the look and feel of a
# theme further.
html_theme_options = {
# Tab name for entire site. (Default: "Site")
'navbar_site_name': "Table of Contents",
# A list of tuples containing pages or urls to link to.
# Valid tuples should be in the following forms:
# (name, page) # a link to a page
# (name, "/aa/bb", 1) # a link to an arbitrary relative url
# (name, "http://example.com", True) # arbitrary absolute url
# Note the "1" or "True" value above as the third argument to indicate
# an arbitrary url.
'navbar_links': [
("_menu", "Essentials", [
("Plex Meta Manager", "index"),
("_divider", ),
("_menu", "Installation", "home/installation", [
("Installing Plex Meta Manager", "home/installation"),
("_divider", ),
("Local Walkthrough", "home/guides/local"),
("Docker Walkthrough", "home/guides/docker"),
("Docker Images", "home/guides/images"),
("_divider", ),
("unRAID Walkthrough", "home/guides/unraid"),
("Kubernetes Walkthrough", "home/guides/kubernetes"),
("QNAP Walkthrough", "home/guides/qnap"),
("Synology Walkthrough", "home/guides/synology"),
]),
("Log Files", "home/logs"),
("Run Commands & Environment Variables", "home/environmental"),
("Knowledgebase/FAQ", "home/kb"),
("_menu", "Companion Scripts", "home/scripts", [
("Companion Scripts", "home/scripts"),
("_divider", ),
("PMM Overlay Reset", "home/scripts/overlay-reset"),
("Plex Image Cleanup", "home/scripts/image-cleanup"),
]),
("_divider", ),
("YAML File Guide", "home/guides/yaml"),
("Ratings Explained", "home/guides/ratings"),
("Scheduling Guide", "home/guides/scheduling"),
("Image Asset Directory Guide", "home/guides/assets"),
("Formula 1 Metadata Guide", "home/guides/formula"),
("_divider", ),
("Feature Requests", "https://features.metamanager.wiki/"),
("Bugs/Issues", "https://github.com/meisnate12/Plex-Meta-Manager/issues"),
("User Configs Repository", "https://github.com/meisnate12/Plex-Meta-Manager-Configs"),
("Discord Server", "https://discord.gg/gYU8wATxKw"),
("Donate/Sponsor", "https://github.com/sponsors/meisnate12"),
("Acknowledgements", "home/acknowledgements"),
]),
("_menu", "Config", [
("Config File", "config/configuration"),
("_divider", ),
("Libraries", "config/libraries"),
("Playlists", "config/playlists"),
("Path Types", "config/paths"),
("_menu", "Library Operations", "config/operations", [
("Assets For All", "config/operations", "#assets-for-all"),
("Delete Collections", "config/operations", "#delete-collections"),
("Mass Genre Update", "config/operations", "#mass-genre-update"),
("Mass Content Rating Update", "config/operations", "#mass-content-rating-update"),
("Mass Original Title Update", "config/operations", "#mass-original-title-update"),
("Mass Studio Update", "config/operations", "#mass-studio-update"),
("Mass Originally Available Update", "config/operations", "#mass-originally-available-update"),
("Mass * Rating Update", "config/operations", "#mass--rating-update"),
("Mass Episode * Rating Update", "config/operations", "#mass-episode--rating-update"),
("Mass Poster Update", "config/operations", "#mass-poster-update"),
("Mass Background Update", "config/operations", "#mass-background-update"),
("Mass IMDb Parental Labels", "config/operations", "#mass-imdb-parental-labels"),
("Mass Collection Mode", "config/operations", "#mass-collection-mode"),
("Update Blank Track Titles", "config/operations", "#update-blank-track-titles"),
("Remove Title Parentheses", "config/operations", "#remove-title-parentheses"),
("Split Duplicates", "config/operations", "#split-duplicates"),
("Radarr Add All", "config/operations", "#radarr-add-all"),
("Radarr Remove By Tag", "config/operations", "#radarr-remove-by-tag"),
("Sonarr Add All", "config/operations", "#sonarr-add-all"),
("Sonarr Remove By Tag", "config/operations", "#sonarr-remove-by-tag"),
("Genre Mapper", "config/operations", "#genre-mapper"),
("Content Rating Mapper", "config/operations", "#content-rating-mapper"),
("Metadata Backup", "config/operations", "#metadata-backup"),
]),
("Settings", "config/settings"),
("Webhooks", "config/webhooks"),
("_divider", ),
("Plex", "config/plex"),
("Tautulli", "config/tautulli"),
("Radarr", "config/radarr"),
("Sonarr", "config/sonarr"),
("Notifiarr", "config/notifiarr"),
("_divider", ),
("TMDb", "config/tmdb"),
("Trakt", "config/trakt"),
("MdbList", "config/mdblist"),
("OMDb", "config/omdb"),
("GitHub", "config/github"),
("AniDB", "config/anidb"),
("MyAnimeList", "config/myanimelist"),
]),
("_menu", "Defaults", [
("Defaults Usage Guide", "defaults/guide"),
("Defaults Files", "defaults/files"),
("_divider", ),
("_menu", "Collections", "defaults/collections", [
("Collections", "defaults/collections"),
("Shared Variables", "defaults/collection_variables"),
("_divider", ),
("Separators", "defaults/separators"),
("_menu", "Award", "defaults/collections", "#award-collections", [
("Awards Separator", "defaults/award/separator"),
("_divider",),
("Academy Awards (Oscars)", "defaults/award/oscars"),
("British Academy of Film Awards", "defaults/award/bafta"),
("Cannes Film Festival Awards", "defaults/award/cannes"),
("Critics Choice Awards", "defaults/award/choice"),
("Emmy Awards", "defaults/award/emmy"),
("Golden Globe Awards", "defaults/award/golden"),
("Independent Spirit Awards", "defaults/award/spirit"),
("Sundance Film Festival Awards", "defaults/award/sundance"),
("Other Awards", "defaults/award/other"),
]),
("_menu", "Chart", "defaults/collections", "#chart-collections", [
("Chart Separator", "defaults/chart/separator"),
("_divider",),
("Basic Charts", "defaults/chart/basic"),
("Tautulli Charts", "defaults/chart/tautulli"),
("IMDb Charts", "defaults/chart/imdb"),
("TMDb Charts", "defaults/chart/tmdb"),
("Trakt Charts", "defaults/chart/trakt"),
("Flixpatrol Charts", "defaults/chart/flixpatrol"),
("AniList Charts", "defaults/chart/anilist"),
("MyAnimeList Charts", "defaults/chart/myanimelist"),
("Other Charts", "defaults/chart/other"),
]),
("_menu", "Content", "defaults/collections", "#content-collections", [
("Genres", "defaults/both/genre"),
("Franchises (Movie)", "defaults/movie/franchise"),
("Franchises (TV)", "defaults/show/franchise"),
("Universes", "defaults/both/universe"),
("Based On...", "defaults/both/based"),
]),
("_menu", "Content Rating", "defaults/collections", "#content-rating-collections", [
("US Content Ratings (Movie)", "defaults/movie/content_rating_us"),
("US Content Ratings (TV)", "defaults/show/content_rating_us"),
("UK Content Ratings", "defaults/both/content_rating_uk"),
("MyAnimeList Content Ratings", "defaults/both/content_rating_mal"),
("Common Sense Media Content Ratings", "defaults/both/content_rating_cs"),
]),
("_menu", "Location", "defaults/collections", "#location-collections", [
("Countries (Movie)", "defaults/movie/country"),
("Countries (TV)", "defaults/show/country"),
("Regions (Movie)", "defaults/movie/region"),
("Regions (TV)", "defaults/show/region"),
("Continents (Movie)", "defaults/movie/continent"),
("Continents (TV)", "defaults/show/continent"),
]),
("_menu", "Media", "defaults/collections", "#media-collections", [
("Aspect Ratios", "defaults/both/aspect"),
("Resolutions", "defaults/both/resolution"),
("Audio Languages", "defaults/both/audio_language"),
("Subtitle Languages", "defaults/both/subtitle_language"),
]),
("_menu", "Production", "defaults/collections", "#production-collections", [
("Networks", "defaults/show/network"),
("Streaming", "defaults/both/streaming"),
("Studios", "defaults/both/studio"),
]),
("_menu", "People", "defaults/collections", "#people-collections", [
("Actors", "defaults/both/actor"),
("Directors", "defaults/movie/director"),
("Producers", "defaults/movie/producer"),
("Writers", "defaults/movie/writer"),
]),
("_menu", "Time", "defaults/collections", "#time-collections", [
("Seasonal", "defaults/movie/seasonal"),
("Years", "defaults/both/year"),
("Decades (Movie)", "defaults/movie/decade"),
("Decades (TV)", "defaults/show/decade"),
]),
("_menu", "Utility", "defaults/collections", "#utility-collections", [
("Collectionless", "defaults/both/collectionless"),
]),
]),
("Playlists", "defaults/playlist"),
("_menu", "Overlays", "defaults/overlays", [
("Overlays", "defaults/overlays"),
("Shared Variables", "defaults/overlay_variables"),
("_divider", ),
("_menu", "Chart", "defaults/overlays", "#chart-overlays", [
("FlixPatrol Top", "defaults/overlays/flixpatrol"),
("Ribbon", "defaults/overlays/ribbon"),
]),
("_menu", "Content", "defaults/overlays", "#content-overlays", [
("Episode Info", "defaults/overlays/episode_info"),
("MediaStinger", "defaults/overlays/mediastinger"),
("Ratings", "defaults/overlays/ratings"),
("Status", "defaults/overlays/status"),
]),
("_menu", "Content Rating", "defaults/overlays", "#content-rating-overlays", [
("US Content Ratings (Movie)", "defaults/overlays/content_rating_us_movie"),
("US Content Ratings (Show)", "defaults/overlays/content_rating_us_show"),
("UK Content Ratings", "defaults/overlays/content_rating_uk"),
("Common Sense Age Ratings", "defaults/overlays/commonsense"),
]),
("_menu", "Media", "defaults/overlays", "#media-overlays", [
("Aspect Ratio", "defaults/overlays/aspect"),
("Audio Codec", "defaults/overlays/audio_codec"),
("Audio/Subtitle Language Count", "defaults/overlays/language_count"),
("Audio/Subtitle Language Flags", "defaults/overlays/languages"),
("Resolution/Edition", "defaults/overlays/resolution"),
("Runtimes", "defaults/overlays/runtimes"),
("Versions", "defaults/overlays/versions"),
("Video Format", "defaults/overlays/video_format"),
]),
("_menu", "Production", "defaults/overlays", "#production-overlays", [
("Networks", "defaults/overlays/network"),
("Streaming", "defaults/overlays/streaming"),
("Studios", "defaults/overlays/studio"),
]),
("_menu", "Utility", "defaults/overlays", "#utility-overlays", [
("Direct Play Only", "defaults/overlays/direct_play"),
]),
]),
]),
("_menu", "Files", [
("Metadata Files", "metadata/metadata"),
("Overlay Files", "metadata/overlay"),
("Playlist Files", "metadata/playlist"),
("_divider", ),
("Templates", "metadata/templates"),
("Filters", "metadata/filters"),
("_menu", "Dynamic Collections", "metadata/dynamic", [
("Dynamic Collections", "metadata/dynamic"),
("_divider", ),
("_menu", "TMDb Dynamic Collections", "metadata/dynamic", [
("TMDb Collection", "metadata/dynamic", "#tmdb-collection"),
("TMDb Popular People", "metadata/dynamic", "#tmdb-popular-people"),
("Original Language", "metadata/dynamic", "#original-language"),
("Origin Country", "metadata/dynamic", "#origin-country"),
]),
("_menu", "Trakt Dynamic Collections", "metadata/dynamic", [
("Trakt User Lists", "metadata/dynamic", "#trakt-user-lists"),
("Trakt Liked Lists", "metadata/dynamic", "#trakt-liked-lists"),
("Trakt People Lists", "metadata/dynamic", "#trakt-people-lists"),
]),
("_menu", "Plex Dynamic Collections", "metadata/dynamic", [
("Actor", "metadata/dynamic", "#actor"),
("Director", "metadata/dynamic", "#director"),
("Writer", "metadata/dynamic", "#writer"),
("Producer", "metadata/dynamic", "#producer"),
("Genre", "metadata/dynamic", "#genre"),
("Album Genre", "metadata/dynamic", "#album-genre"),
("Content Rating", "metadata/dynamic", "#content-rating"),
("Year", "metadata/dynamic", "#year"),
("Decade", "metadata/dynamic", "#decade"),
("Country", "metadata/dynamic", "#country"),
("Resolution", "metadata/dynamic", "#resolution"),
("Subtitle Language", "metadata/dynamic", "#subtitle-language"),
("Audio Language", "metadata/dynamic", "#audio-language"),
("Studio", "metadata/dynamic", "#studio"),
("Edition", "metadata/dynamic", "#edition"),
("Network", "metadata/dynamic", "#network"),
("Mood", "metadata/dynamic", "#mood"),
("Album Mood", "metadata/dynamic", "#album-mood"),
("Track Mood", "metadata/dynamic", "#track-mood"),
("Style", "metadata/dynamic", "#style"),
("Album Style", "metadata/dynamic", "#album-style"),
]),
("Number", "metadata/dynamic", "#number"),
("Custom", "metadata/dynamic", "#custom"),
]),
("_menu", "Editing Media Metadata", "", [
("Editing Movie Metadata", "metadata/metadata/movie"),
("Editing TV Metadata", "metadata/metadata/show"),
("Editing Music Metadata", "metadata/metadata/music"),
]),
("_menu", "Builders", "metadata/builders", [
("Builders", "metadata/builders"),
("_divider", ),
("_menu", "Plex Builders", "metadata/builders/plex", [
("Plex All", "metadata/builders/plex", "#plex-all"),
("Plex Watchlist", "metadata/builders/plex", "#plex-watchlist"),
("Plex Pilots", "metadata/builders/plex", "#plex-pilots"),
("Plex Collectionless", "metadata/builders/plex", "#plex-collectionless"),
("Plex Search", "metadata/builders/plex", "#plex-search"),
]),
("_menu", "Smart Builders", "metadata/builders/smart", [
("Smart Label", "metadata/builders/smart", "#smart-label"),
("Smart Filter", "metadata/builders/smart", "#smart-filter"),
]),
("_menu", "TMDb Builders", "metadata/builders/tmdb", [
("TMDb Collection", "metadata/builders/tmdb", "#tmdb-collection"),
("TMDb List", "metadata/builders/tmdb", "#tmdb-list"),
("TMDb Actor", "metadata/builders/tmdb", "#tmdb-actor"),
("TMDb Crew", "metadata/builders/tmdb", "#tmdb-crew"),
("TMDb Director", "metadata/builders/tmdb", "#tmdb-director"),
("TMDb Producer", "metadata/builders/tmdb", "#tmdb-producer"),
("TMDb Writer", "metadata/builders/tmdb", "#tmdb-writer"),
("TMDb Movie", "metadata/builders/tmdb", "#tmdb-movie"),
("TMDb Show", "metadata/builders/tmdb", "#tmdb-show"),
("TMDb Company", "metadata/builders/tmdb", "#tmdb-company"),
("TMDb Network", "metadata/builders/tmdb", "#tmdb-network"),
("TMDb Keyword", "metadata/builders/tmdb", "#tmdb-keyword"),
("TMDb Popular", "metadata/builders/tmdb", "#tmdb-popular"),
("TMDb Now Playing", "metadata/builders/tmdb", "#tmdb-now-playing"),
("TMDb Top Rated", "metadata/builders/tmdb", "#tmdb-top-rated"),
("TMDb Upcoming", "metadata/builders/tmdb", "#tmdb-upcoming"),
("TMDb Airing Today", "metadata/builders/tmdb", "#tmdb-airing-today"),
("TMDb On the Air", "metadata/builders/tmdb", "#tmdb-on-the-air"),
("TMDb Trending Daily", "metadata/builders/tmdb", "#tmdb-trending-daily"),
("TMDb Trending Weekly", "metadata/builders/tmdb", "#tmdb-trending-weekly"),
("TMDb Discover", "metadata/builders/tmdb", "#tmdb-discover"),
]),
("_menu", "TVDb Builders", "metadata/builders/tvdb", [
("TVDb List", "metadata/builders/tvdb", "#tvdb-list"),
("TVDb Movie", "metadata/builders/tvdb", "#tvdb-movie"),
("TVDb Show", "metadata/builders/tvdb", "#tvdb-show"),
]),
("_menu", "IMDb Builders", "metadata/builders/imdb", [
("IMDb ID", "metadata/builders/imdb", "#imdb-id"),
("IMDb Chart", "metadata/builders/imdb", "#imdb-chart"),
("IMDb List", "metadata/builders/imdb", "#imdb-list"),
("IMDb Watchlist", "metadata/builders/imdb", "#imdb-watchlist"),
]),
("_menu", "Trakt Builders", "metadata/builders/trakt", [
("Trakt List", "metadata/builders/trakt", "#trakt-list"),
("Trakt Chart", "metadata/builders/trakt", "#trakt-chart"),
("Trakt Userlist", "metadata/builders/trakt", "#trakt-userlist"),
("Trakt Recommendations", "metadata/builders/trakt", "#trakt-recommendations"),
("Trakt Box Office", "metadata/builders/trakt", "#trakt-box-office"),
]),
("_menu", "Tautulli Builders", "metadata/builders/tautulli", [
("Tautulli Popular/Watched", "metadata/builders/tautulli", "#tautulli-popular-watched"),
]),
("_menu", "Radarr Builders", "metadata/builders/radarr", [
("Radarr All", "metadata/builders/radarr", "#radarr-all"),
("Radarr Taglist", "metadata/builders/radarr", "#radarr-taglist"),
]),
("_menu", "Sonarr Builders", "metadata/builders/sonarr", [
("Sonarr All", "metadata/builders/sonarr", "#sonarr-all"),
("Sonarr Taglist", "metadata/builders/sonarr", "#sonarr-taglist"),
]),
("_menu", "MdbList Builders", "metadata/builders/mdblist", [
("MdbList List", "metadata/builders/mdblist", "#mdblist-list"),
]),
("_menu", "Letterboxd Builders", "metadata/builders/letterboxd", [
("Letterboxd List", "metadata/builders/letterboxd", "#letterboxd-list"),
]),
("_menu", "ICheckMovies Builders", "metadata/builders/icheckmovies", [
("ICheckMovies List", "metadata/builders/icheckmovies", "#icheckmovies-list"),
]),
("_menu", "FlixPatrol Builders", "metadata/builders/flixpatrol", [
("FlixPatrol Top Platform", "metadata/builders/flixpatrol", "#flixpatrol-top"),
]),
("_menu", "Reciperr Builders", "metadata/builders/reciperr", [
("Reciperr List", "metadata/builders/reciperr", "#reciperr-list"),
]),
("_menu", "StevenLu Builders", "metadata/builders/stevenlu", [
("StevenLu List", "metadata/builders/stevenlu", "#stevenlu-s-popular-movies-list"),
]),
("_menu", "AniDB Builders", "metadata/builders/anidb", [
("AniDB ID", "metadata/builders/anidb", "#anidb-id"),
("AniDB Relation", "metadata/builders/anidb", "#anidb-relation"),
("AniDB Popular", "metadata/builders/anidb", "#anidb-popular"),
("AniDB Tag", "metadata/builders/anidb", "#anidb-tag"),
]),
("_menu", "AniList Builders", "metadata/builders/anilist", [
("AniList Top Rated", "metadata/builders/anilist", "#anilist-top-rated"),
("AniList Anilist Popular", "metadata/builders/anilist", "#anilist-anilist-popular"),
("AniList Trending", "metadata/builders/anilist", "#anilist-trending"),
("AniList Relations", "metadata/builders/anilist", "#anilist-relations"),
("AniList Studio", "metadata/builders/anilist", "#anilist-studio"),
("AniList ID", "metadata/builders/anilist", "#anilist-id"),
("AniList UserList", "metadata/builders/anilist", "#anilist-userlist"),
("AniList Search", "metadata/builders/anilist", "#anilist-search"),
]),
("_menu", "MyAnimeList Builders", "metadata/builders/myanimelist", [
("MyAnimeList Search", "metadata/builders/myanimelist", "#myanimelist-search"),
("MyAnimeList Top All", "metadata/builders/myanimelist", "#myanimelist-top-all"),
("MyAnimeList Top Airing", "metadata/builders/myanimelist", "#myanimelist-top-airing"),
("MyAnimeList Top Upcoming", "metadata/builders/myanimelist", "#myanimelist-top-upcoming"),
("MyAnimeList Top TV Series", "metadata/builders/myanimelist", "#myanimelist-top-tv-series"),
("MyAnimeList Top Movies", "metadata/builders/myanimelist", "#myanimelist-top-movies"),
("MyAnimeList Top OVA Series", "metadata/builders/myanimelist", "#myanimelist-top-ova-series"),
("MyAnimeList Top Specials", "metadata/builders/myanimelist", "#myanimelist-top-specials"),
("MyAnimeList Most Popular", "metadata/builders/myanimelist", "#myanimelist-most-popular"),
("MyAnimeList Most Favorited", "metadata/builders/myanimelist", "#myanimelist-most-favorited"),
("MyAnimeList Suggested", "metadata/builders/myanimelist", "#myanimelist-suggested"),
("MyAnimeList ID", "metadata/builders/myanimelist", "#myanimelist-id"),
("MyAnimeList UserList", "metadata/builders/myanimelist", "#myanimelist-userlist"),
("MyAnimeList Seasonal", "metadata/builders/myanimelist", "#myanimelist-seasonal"),
]),
]),
("_menu", "Settings/Updates", "metadata/update", [
("Settings/Updates", "metadata/update"),
("_divider",),
("Definition Settings", "metadata/details/definition"),
("Schedule Settings", "metadata/details/schedule"),
("Radarr/Sonarr Definition Settings", "metadata/details/arr"),
("Collection/Playlist Metadata Updates", "metadata/details/metadata"),
("Item Metadata Updates", "metadata/details/item_metadata"),
])
]),
("&#10084", "https://github.com/sponsors/meisnate12", True),
],
# Render the next and previous page links in navbar. (Default: true)
'navbar_sidebarrel': False,
# Render the current pages TOC in the navbar. (Default: true)
'navbar_pagenav': False,
# Tab name for the current pages TOC. (Default: "Page")
'navbar_pagenav_name': "Sections",
# Global TOC depth for "site" navbar tab. (Default: 1)
# Switching to -1 shows all levels.
'globaltoc_depth': 2,
# Include hidden TOCs in Site navbar?
#
# Note: If this is "false", you cannot have mixed ``:hidden:`` and
# non-hidden ``toctree`` directives in the same page, or else the build
# will break.
#
# Values: "true" (default) or "false"
'globaltoc_includehidden': "true",
# HTML navbar class (Default: "navbar") to attach to <div> element.
# For black navbar, do "navbar navbar-inverse"
'navbar_class': "navbar navbar-inverse",
# Fix navigation bar to top of page?
# Values: "true" (default) or "false"
'navbar_fixed_top': "true",
# Location of link to source.
# Options are "nav" (default), "footer" or anything else to exclude.
'source_link_position': "nav",
# Bootswatch (http://bootswatch.com/) theme.
#
# Options are nothing (default) or the name of a valid theme
# such as "cosmo" or "sandstone".
#
# The set of valid themes depend on the version of Bootstrap
# that's used (the next config option).
#
# Currently, the supported themes are:
# - Bootstrap 2: https://bootswatch.com/2
# - Bootstrap 3: https://bootswatch.com/3
'bootswatch_theme': "darkly",
# Choose Bootstrap version.
# Values: "3" (default) or "2" (in quotes)
'bootstrap_version': "3",
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = [
"custom.css",
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
]
def setup(app):
app.add_css_file("custom.css")