Skip to content

Add alias for removed functions page - #6714

Open
Yobil-Job wants to merge 1 commit into
spring-projects:mainfrom
Yobil-Job:6601-tool-calling-docs-404
Open

Add alias for removed functions page#6714
Yobil-Job wants to merge 1 commit into
spring-projects:mainfrom
Yobil-Job:6601-tool-calling-docs-404

Conversation

@Yobil-Job

Copy link
Copy Markdown

Fixes #6601

Problem

The old Tool Calling documentation URL:

/reference/api/functions.html

returns a 404 after the removal of the old api/functions.adoc page during the FunctionCallback → ToolCallback migration.

Solution

Added a page alias to the current Tool Calling documentation page:

:page-aliases: api/functions.adoc

This preserves the old URL and redirects it to:

/reference/api/tools.html

Verification

  • Generated the Antora documentation locally.
  • Confirmed the generated .htaccess contains:

Redirect 301 .../api/functions.html .../api/tools.html

  • Confirmed the current Tool Calling page remains available.

Note

The stale link displayed on spring.io/projects/spring-ai is managed outside this repository, so this PR only addresses the documentation URL preservation inside Spring AI docs.

Signed-off-by: Eyob Weldetensay <eyobwldetensay@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tool Calling/Function docs leads to a 404 page

2 participants