Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3b52396cf | ||
|
|
43eae65122 | ||
|
|
883a6080bb | ||
|
|
98c45ba092 | ||
|
|
6a07ce7b03 | ||
|
|
5dd59ed613 | ||
|
|
f5c6207eb7 | ||
|
|
109fee898e | ||
|
|
74c919c807 |
@@ -13,4 +13,5 @@ build:
|
|||||||
- mkdir -p $READTHEDOCS_OUTPUT/html
|
- mkdir -p $READTHEDOCS_OUTPUT/html
|
||||||
- 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 build/singlemarkdown/index.md $READTHEDOCS_OUTPUT/html/llms-full.txt
|
||||||
- cp -r build/rst/* $READTHEDOCS_OUTPUT/html/
|
- cp -r build/rst/* $READTHEDOCS_OUTPUT/html/
|
||||||
|
|||||||
+7
-1
@@ -21,6 +21,12 @@
|
|||||||
"configurePreset": "documentation",
|
"configurePreset": "documentation",
|
||||||
"targets": ["markdown"]
|
"targets": ["markdown"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "singlemarkdown",
|
||||||
|
"displayName": "Build Single Markdown Documentation",
|
||||||
|
"configurePreset": "documentation",
|
||||||
|
"targets": ["singlemarkdown"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "rst",
|
"name": "rst",
|
||||||
"displayName": "Build reStructuredText Documentation",
|
"displayName": "Build reStructuredText Documentation",
|
||||||
@@ -31,7 +37,7 @@
|
|||||||
"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", "singlemarkdown", "rst"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"workflowPresets": [
|
"workflowPresets": [
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ setup_sphinx_environment()
|
|||||||
|
|
||||||
add_sphinx_builder(html)
|
add_sphinx_builder(html)
|
||||||
add_sphinx_builder(markdown)
|
add_sphinx_builder(markdown)
|
||||||
|
add_sphinx_builder(singlemarkdown)
|
||||||
add_sphinx_builder(rst)
|
add_sphinx_builder(rst)
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ sphinx
|
|||||||
sphinx-llms-txt
|
sphinx-llms-txt
|
||||||
sphinx-inline-tabs
|
sphinx-inline-tabs
|
||||||
sphinxext-opengraph
|
sphinxext-opengraph
|
||||||
sphinx-markdown-builder
|
sphinx-markdown-builder @ git+https://github.com/akaihola/sphinx-markdown-builder.git@singlemarkdown
|
||||||
sphinxcontrib-restbuilder
|
sphinxcontrib-restbuilder
|
||||||
|
|||||||
@@ -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