Skip to content

Conversation

@VeckoTheGecko
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko commented Dec 3, 2025

Testing:

pixi run doc

# List all built `llms*.txt` files
find ./doc/_build/html -name 'llms*.txt'

output:

./doc/_build/html/llms.txt
./doc/_build/html/llms-full.txt
$ wc -l ./doc/_build/html/llms.txt
1673 ./doc/_build/html/llms.txt
$ wc -l ./doc/_build/html/llms-full.txt
44066 ./doc/_build/html/llms-full.txt

We can further customise the output (though I personally don't think its necessary).

https://sphinx-llms-txt.readthedocs.io/en/latest/advanced-configuration.html

@VeckoTheGecko VeckoTheGecko changed the title Add sphinx-llms-txt Add llms.txt generation to doc build process Dec 3, 2025
@VeckoTheGecko VeckoTheGecko changed the title Add llms.txt generation to doc build process DOC: Add llms.txt generation to build process Dec 3, 2025
@dcherian dcherian merged commit ccadeef into pydata:main Dec 4, 2025
40 checks passed
@dcherian
Copy link
Contributor

@jacobtomlinson pointed out that he's made a version that might work better : dask/dask#12192 (comment)

dcherian added a commit to dcherian/xarray that referenced this pull request Dec 11, 2025
* main:
  Switch from `sphinx-llms-txt` => `sphinx-llm` (pydata#11003)
  Backend fastpath (pydata#10937)
  Change behavior of `keep_attrs` in `xr.where` when x is a scalar (pydata#10997)
  make error message more clear (pydata#10994)
  Address pandas-related upstream errors in pydata#10973 (pydata#10988)
  new release section (pydata#10985)
  set the release date (pydata#10984)
  release v2025.12.0 (pydata#10981)
  Add sphinx-llms-txt (pydata#10978)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add llms.txt generation to documentation build process

2 participants