Support customizable URI templates in llms.txt (#48)

This commit is contained in:
Jared Dillard
2025-10-27 17:41:04 -07:00
committed by GitHub
parent e2a80faf04
commit 5bfbb0168f
9 changed files with 298 additions and 5 deletions
+2 -1
View File
@@ -15,6 +15,7 @@ import subprocess
project = "sphinx-llms-txt"
copyright = "Jared Dillard"
author = "Jared Dillard"
llms_txt_uri_template = "{base_url}{docname}.md"
llms_txt_code_files = ["+:../../sphinx_llms_txt/*.py"]
llms_txt_summary = """
A Sphinx extension that generates a summary llms.txt file,written in Markdown,
@@ -88,7 +89,7 @@ html_theme_options = {
"source_directory": "docs/source/",
}
html_baseurl = "https://sphinx-llms-txt.readthedocs.org/"
html_baseurl = "https://sphinx-llms-txt.readthedocs.org/en/latest/"
# -- Options for HTMLHelp output ---------------------------------------------