You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/advanced-configuration.rst
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,37 @@ If you want to include absolute URLs for resources in your documentation, you ca
261
261
262
262
When this option is set, all resolved paths in directives will be prefixed with this URL, creating absolute paths in the generated files.
263
263
264
+
.. _customizing_uri_links:
265
+
266
+
Customizing URI Links in llms.txt
267
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
268
+
269
+
By default, the ``llms.txt`` file links to source files in the ``_sources`` directory when available, falling back to HTML pages when sources aren't available.
270
+
You can customize this behavior using URI templates with :confval:`llms_txt_uri_template`:
271
+
272
+
.. code-block:: python
273
+
274
+
# Default: Link to source files, if _sources exists
0 commit comments