This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch afd
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/afd by this push:
     new 48675b8374 Point the per-page llms.txt directive at this version's 
index
48675b8374 is described below

commit 48675b8374566dd88032f2a609e363e9d0143ba8
Author: Stephen Mallette <[email protected]>
AuthorDate: Mon Jul 27 17:08:26 2026 -0400

    Point the per-page llms.txt directive at this version's index
    
    The footer discovery directive linked to the site-root /llms.txt (the
    last-published version) on every page, so an older-version page pointed
    agents at the wrong index. Use an absolute docs/x.y.z/llms.txt URL, which
    GremlinPostprocessor rewrites to the concrete version, so each page points
    to its own version's index. Also note the Markdown availability for humans.
    
    Assisted-by: Claude Code:claude-opus-4-8
---
 docs/src/docinfo-footer.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/src/docinfo-footer.html b/docs/src/docinfo-footer.html
index 2ad47a7649..18f662e22f 100644
--- a/docs/src/docinfo-footer.html
+++ b/docs/src/docinfo-footer.html
@@ -13,5 +13,7 @@ See the License for the specific language governing 
permissions and
 limitations under the License.
 -->
 <!-- Agent-facing discovery directive (agentdocsspec.com 
llms-txt-directive-html). Plain,
-     server-rendered, not display:none, so it survives HTML-to-Markdown 
conversion. -->
-<p class="agent-docs-index">For AI agents: a documentation index is available 
at <a href="/llms.txt">/llms.txt</a>.</p>
+     server-rendered, not display:none, so it survives HTML-to-Markdown 
conversion. The x.y.z
+     placeholder is rewritten to the real version by GremlinPostprocessor, so 
the link points to
+     this version's index (docs/<version>/llms.txt) rather than the 
site-root/current one. -->
+<p class="agent-docs-index">This documentation is also published as Markdown; 
AI agents can find an index of it at <a 
href="https://tinkerpop.apache.org/docs/x.y.z/llms.txt";>llms.txt</a>.</p>

Reply via email to