Add source code files to llms-full.txt (#24)

This commit is contained in:
Jared Dillard
2025-08-04 18:22:57 -07:00
committed by GitHub
parent 368c349d58
commit 0ee28290db
7 changed files with 714 additions and 4 deletions
+19
View File
@@ -82,3 +82,22 @@ Project Configuration Values
See :ref:`excluding_content`.
.. versionadded:: 0.2.1
.. confval:: llms_txt_code_files
- **Type**: list of strings
- **Default**: ``[]``
- **Description**: A list of glob patterns that appends source code files to :confval:`llms_txt_full_filename`.
See :ref:`including_code_files`.
.. versionadded:: 0.4.0
.. confval:: llms_txt_code_base_path
- **Type**: string or ``None``
- **Default**: ``None`` (auto-detect from git root)
- **Description**: Base path to strip from code file paths when displaying titles.
When ``None``, automatically detects the relative path from the Sphinx source
directory to the git root and strips that prefix from file paths.
.. versionadded:: 0.4.0