feat(docs): include llms.txt

This commit is contained in:
Musa 2025-12-23 12:09:25 -08:00
parent 0d605c685d
commit ef4158010a
4 changed files with 107 additions and 0 deletions

View file

@ -5,6 +5,8 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import os
import sys
from dataclasses import asdict
from sphinx.application import Sphinx
@ -34,6 +36,8 @@ extensions = [
"sphinx.ext.viewcode",
"sphinx_sitemap",
"sphinx_design",
# Local extensions
"llms_txt",
]
# Paths that contain templates, relative to this directory.
@ -43,6 +47,9 @@ templates_path = ["_templates"]
# to ignore when looking for source files.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# Allow importing extensions from docs/source/_ext (robust to current working directory)
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
# -- Options for HTML output -------------------------------------------------
html_theme = "sphinxawesome_theme" # You can change the theme to 'sphinx_rtd_theme' or another of your choice.