Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b21010078 | ||
|
|
72719e881c | ||
|
|
dc9f16d454 |
@@ -14,3 +14,4 @@ build:
|
|||||||
- cp -r build/html/* $READTHEDOCS_OUTPUT/html/
|
- cp -r build/html/* $READTHEDOCS_OUTPUT/html/
|
||||||
- cp -r build/markdown/* $READTHEDOCS_OUTPUT/html/
|
- cp -r build/markdown/* $READTHEDOCS_OUTPUT/html/
|
||||||
- cp -r build/rst/* $READTHEDOCS_OUTPUT/html/
|
- cp -r build/rst/* $READTHEDOCS_OUTPUT/html/
|
||||||
|
- cp build/singlerst/index.rst $READTHEDOCS_OUTPUT/html/llms-full.txt
|
||||||
|
|||||||
+7
-1
@@ -27,11 +27,17 @@
|
|||||||
"configurePreset": "documentation",
|
"configurePreset": "documentation",
|
||||||
"targets": ["rst"]
|
"targets": ["rst"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "singlerst",
|
||||||
|
"displayName": "Build Single reStructuredText Documentation",
|
||||||
|
"configurePreset": "documentation",
|
||||||
|
"targets": ["singlerst"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "docs-parallel",
|
"name": "docs-parallel",
|
||||||
"displayName": "Build HTML and Markdown in parallel",
|
"displayName": "Build HTML and Markdown in parallel",
|
||||||
"configurePreset": "documentation",
|
"configurePreset": "documentation",
|
||||||
"targets": ["html", "markdown", "rst"]
|
"targets": ["html", "markdown", "rst", "singlerst"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"workflowPresets": [
|
"workflowPresets": [
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ setup_sphinx_environment()
|
|||||||
add_sphinx_builder(html)
|
add_sphinx_builder(html)
|
||||||
add_sphinx_builder(markdown)
|
add_sphinx_builder(markdown)
|
||||||
add_sphinx_builder(rst)
|
add_sphinx_builder(rst)
|
||||||
|
add_sphinx_builder(singlerst)
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ sphinx-llms-txt
|
|||||||
sphinx-inline-tabs
|
sphinx-inline-tabs
|
||||||
sphinxext-opengraph
|
sphinxext-opengraph
|
||||||
sphinx-markdown-builder
|
sphinx-markdown-builder
|
||||||
sphinxcontrib-restbuilder
|
sphinxcontrib-restbuilder @ git+https://github.com/jdillard/restbuilder.git@feature/singlerst-builder
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ copyright = "Jared Dillard"
|
|||||||
author = "Jared Dillard"
|
author = "Jared Dillard"
|
||||||
|
|
||||||
llms_txt_uri_template = "{base_url}{docname}.md"
|
llms_txt_uri_template = "{base_url}{docname}.md"
|
||||||
|
llms_txt_full_file = False
|
||||||
llms_txt_code_files = ["+:../../sphinx_llms_txt/*.py"]
|
llms_txt_code_files = ["+:../../sphinx_llms_txt/*.py"]
|
||||||
llms_txt_summary = """
|
llms_txt_summary = """
|
||||||
A Sphinx extension that generates a summary llms.txt file,written in Markdown,
|
A Sphinx extension that generates a summary llms.txt file,written in Markdown,
|
||||||
|
|||||||
Reference in New Issue
Block a user