From a316a8ac2eea9291ad3b48a40acb09b126143f60 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Nov 2025 15:16:43 +0000 Subject: [PATCH] Fix documentation build: exclude SEO_ENHANCEMENTS.md and clean template formatting - Add SEO_ENHANCEMENTS.md to exclude_patterns to prevent Sphinx warnings - Clean up layout.html template formatting for better compatibility - Split template tags across multiple lines for readability --- docs/_templates/layout.html | 4 +++- docs/conf.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 4f362c6..669227f 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,4 +1,6 @@ -{% extends "!layout.html" %} {% block extrahead %} {{ super() }} +{% extends "!layout.html" %} +{% block extrahead %} +{{ super() }} diff --git a/docs/conf.py b/docs/conf.py index b5e89c2..85bb0de 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,7 +29,7 @@ extensions = [ ] templates_path = ["_templates"] -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "SEO_ENHANCEMENTS.md"] # Base URL for sitemap generation html_baseurl = "https://tzst.xi-xu.me/"