Compare commits

...
5 changed files with 11 additions and 2 deletions
+1
View File
@@ -13,4 +13,5 @@ build:
- mkdir -p $READTHEDOCS_OUTPUT/html
- cp -r build/html/* $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/
+7 -1
View File
@@ -21,6 +21,12 @@
"configurePreset": "documentation",
"targets": ["markdown"]
},
{
"name": "singlemarkdown",
"displayName": "Build Single Markdown Documentation",
"configurePreset": "documentation",
"targets": ["singlemarkdown"]
},
{
"name": "rst",
"displayName": "Build reStructuredText Documentation",
@@ -31,7 +37,7 @@
"name": "docs-parallel",
"displayName": "Build HTML and Markdown in parallel",
"configurePreset": "documentation",
"targets": ["html", "markdown", "rst"]
"targets": ["html", "markdown", "singlemarkdown", "rst"]
}
],
"workflowPresets": [
+1
View File
@@ -4,4 +4,5 @@ setup_sphinx_environment()
add_sphinx_builder(html)
add_sphinx_builder(markdown)
add_sphinx_builder(singlemarkdown)
add_sphinx_builder(rst)
+1 -1
View File
@@ -5,5 +5,5 @@ sphinx
sphinx-llms-txt
sphinx-inline-tabs
sphinxext-opengraph
sphinx-markdown-builder
sphinx-markdown-builder @ git+https://github.com/akaihola/sphinx-markdown-builder.git@singlemarkdown
sphinxcontrib-restbuilder
+1
View File
@@ -17,6 +17,7 @@ copyright = "Jared Dillard"
author = "Jared Dillard"
llms_txt_uri_template = "{base_url}{docname}.md"
llms_txt_full_file = False
llms_txt_code_files = ["+:../../sphinx_llms_txt/*.py"]
llms_txt_summary = """
A Sphinx extension that generates a summary llms.txt file,written in Markdown,