Skip to content

Conversation

commit111
Copy link
Contributor

Remove blog slugs and add redirects instead for compatibility with docs-chatbot link parsing.

Currently, if you add a custom slug to a blog, the docs-chatbot (i.e. Ask Defang) will provide an incorrect link to that blog in its list of references because the link is auto-generated based on the file name. For example, if the file name in the repo is 2025-06-16-crew-ai-sample.md , the docs-chatbot will generate the link using the formula that changes dates to slashes and uses the exact file name, such as 2025/06/16-crew-ai-sample. If you use a slug such as rag-agents-crew-ai-sample, then the docs-chatbot will not be able to point to that link ending because it only knows the auto-generated link.

I would suggest using redirects in the docusaurus.config.js file to redirect a user to a particular link as an alternative to slugs for better compatibility with the chatbot in its current state.

@commit111 commit111 merged commit cfcda34 into main Jul 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants