diff --git a/docs/conf.py b/docs/conf.py index e0c1e85c6..f13aee3f0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,6 +56,7 @@ "sphinx_copybutton", "sphinx_design", "sphinx_examples", + "sphinx_llms_txt", "sphinx_reredirects", "sphinx_sitemap", "sphinx_tippy", @@ -204,8 +205,8 @@ "attributes": { "target": "_blank", "rel": "noopener me", - "class": "nav-link custom-fancy-css" - } + "class": "nav-link custom-fancy-css", + }, }, { "name": "Mastodon", @@ -215,8 +216,8 @@ "attributes": { "target": "_blank", "rel": "noopener me", - "class": "nav-link custom-fancy-css" - } + "class": "nav-link custom-fancy-css", + }, }, { "name": "YouTube", @@ -226,8 +227,8 @@ "attributes": { "target": "_blank", "rel": "noopener me", - "class": "nav-link custom-fancy-css" - } + "class": "nav-link custom-fancy-css", + }, }, { "name": "X (formerly Twitter)", @@ -237,8 +238,8 @@ "attributes": { "target": "_blank", "rel": "noopener me", - "class": "nav-link custom-fancy-css" - } + "class": "nav-link custom-fancy-css", + }, }, ], "logo": { @@ -453,6 +454,7 @@ # -- Configuration for source_replacements extension ----------------------- + # An extension that allows replacements for code blocks that # are not supported in `rst_epilog` or other substitutions. # https://stackoverflow.com/a/56328457/2214933 @@ -468,6 +470,7 @@ def source_replace(app, docname, source): "{PLONE_BACKEND_MINOR_VERSION}": "6.1", } + # Finally, configure app attributes. def setup(app): app.add_config_value("source_replacements", {}, True) diff --git a/requirements.txt b/requirements.txt index 8e956a043..b3e8d0b88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ sphinx-autobuild sphinx-copybutton sphinx-design # Documentation only sphinx-examples +sphinx-llms-txt sphinx-notfound-page # Documentation only sphinx-reredirects sphinx-sitemap