docs: publish llms.txt and markdown renditions of the docs (#3024)
This commit is contained in:
parent
8d0f928e40
commit
67d7593df1
1 changed files with 193 additions and 1 deletions
|
|
@ -115,10 +115,12 @@ markdown_extensions:
|
|||
- pymdownx.superfences
|
||||
# Code examples live as complete, importable, tested files under `docs_src/`
|
||||
# and are included into pages with `--8<-- "docs_src/<chapter>/tutorialNNN.py"`
|
||||
# (resolved against the repo root, the extension's default base_path).
|
||||
# (resolved against the repo root regardless of the build's working
|
||||
# directory; the extension's default base_path is the CWD).
|
||||
# `check_paths: true` + `strict: true` turn a renamed/deleted example into a
|
||||
# build failure instead of a silently empty code block.
|
||||
- pymdownx.snippets:
|
||||
base_path: !relative $config_dir
|
||||
check_paths: true
|
||||
- pymdownx.tilde
|
||||
- pymdownx.inlinehilite
|
||||
|
|
@ -146,6 +148,9 @@ watch:
|
|||
- src
|
||||
- docs_src
|
||||
|
||||
hooks:
|
||||
- docs/hooks/llms_txt.py
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- social:
|
||||
|
|
|
|||
Loading…
Reference in a new issue