Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ sphinx-intl
sphinx-markdown-tables
sphinx-notfound-page
sphinx_rtd_theme
sphinxext-opengraph
matplotlib
22 changes: 22 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,34 @@
# 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 = "64 Shades"
copyright = "2025, 64 Shades"
author = "64 Shades"


# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
"notfound.extension",
"sphinxext.opengraph",
] # type: ignore

# Open Graph extension configuration
# Point to the live documentation site so previews link to the published pages.
ogp_site_url = "https://64-shades.github.io/"
ogp_description_length = 200 # Optional, number of characters to use for descriptions
ogp_type = "website" # Optional, type of page (usually 'website' for docs)

# NOTE: We keep templates_path to ensure our new template is found
templates_path = ["_templates"]
exclude_patterns = [] # type: ignore


nitpicky = True

# -- Options for HTML output -------------------------------------------------
Expand All @@ -31,6 +41,9 @@

html_logo = "_static/images/logo.jpeg"

# Favicon for the documentation site
html_favicon = "_static/images/favicon.ico"

# Add your custom CSS file (updated to use the new CSS variables)
html_css_files = ["css/custom.css"]

Expand Down Expand Up @@ -60,3 +73,12 @@
"show_relbar_top": False,
"show_relbar_bottom": True,
}

# -- Open Graph / social metadata -----------------------------------------
# Point to the live documentation site so previews link to the published pages.
# Use the GitHub Pages URL for this repository's docs site.
ogp_site_url = "https://64-shades.github.io/"
# How many characters of the page body to use as the og:description (optional)
ogp_description_length = 200
# Default Open Graph object type
ogp_type = "website"
Loading