From 49139c81da81ac3b57bad18324653a5771f2f1a0 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Sun, 20 Jul 2025 23:37:51 +0100 Subject: [PATCH] doc: Add llms.txt FEATURE Add llms.txt when building the documentation. --- doc/conf.py | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 2d782e946..26d00cf32 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -331,6 +331,7 @@ extensions = [ 'sphinx.ext.viewcode', 'sphinxcontrib.plantuml', 'nbsphinx', + 'sphinx_llms_txt', ] # Add any paths that contain templates here, relative to this directory. diff --git a/setup.py b/setup.py index 9ae1b5322..5290f7db9 100755 --- a/setup.py +++ b/setup.py @@ -97,6 +97,7 @@ extras_require["doc"] = [ "pydata-sphinx-theme", "sphinxcontrib-plantuml", "nbsphinx", + 'sphinx-llms-txt', # Add all the other optional dependencies to ensure all modules from lisa # can safely be imported -- GitLab