Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ work.txt
# TraceVault — local only, do not commit
.tracevault/
.claude/settings.local.json

# Local Sphinx build artifacts
generated-docs/out/.venv/
generated-docs/out/_build/
22 changes: 18 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
import os

# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
html_baseurl = os.environ.get(
"READTHEDOCS_CANONICAL_URL",
"https://sttp.softwaremill.com/en/latest/",
)

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
Expand All @@ -41,10 +44,14 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['myst_parser', 'sphinx_rtd_theme']
extensions = ['myst_parser', 'sphinx_rtd_theme', 'sphinx_llms_txt']

myst_enable_extensions = ['attrs_block']

llms_txt_title = "sttp"
llms_txt_summary = "The Scala HTTP client you always wanted!"
llms_txt_full_file = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand All @@ -54,7 +61,6 @@
# source_suffix = ['.rst', '.md']
source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
}

Expand Down Expand Up @@ -85,7 +91,15 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = [
'_build', 'Thumbs.db', '.DS_Store',
'.venv', 'venv', 'env',
'**/site-packages/**',
'**/node_modules/**',
'_templates',
'requirements.txt',
'includes/*',
]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ sphinx_rtd_theme==2.0.0
sphinx==7.3.7
sphinx-autobuild==2024.4.16
myst-parser==2.0.0
sphinx-llms-txt
22 changes: 18 additions & 4 deletions generated-docs/out/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
import os

# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
html_baseurl = os.environ.get(
"READTHEDOCS_CANONICAL_URL",
"https://sttp.softwaremill.com/en/latest/",
)

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
Expand All @@ -41,10 +44,14 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['myst_parser', 'sphinx_rtd_theme']
extensions = ['myst_parser', 'sphinx_rtd_theme', 'sphinx_llms_txt']

myst_enable_extensions = ['attrs_block']

llms_txt_title = "sttp"
llms_txt_summary = "The Scala HTTP client you always wanted!"
llms_txt_full_file = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand All @@ -54,7 +61,6 @@
# source_suffix = ['.rst', '.md']
source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
}

Expand Down Expand Up @@ -85,7 +91,15 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = [
'_build', 'Thumbs.db', '.DS_Store',
'.venv', 'venv', 'env',
'**/site-packages/**',
'**/node_modules/**',
'_templates',
'requirements.txt',
'includes/*',
]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'default'
Expand Down
1 change: 1 addition & 0 deletions generated-docs/out/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ sphinx_rtd_theme==2.0.0
sphinx==7.3.7
sphinx-autobuild==2024.4.16
myst-parser==2.0.0
sphinx-llms-txt
Loading