-
Notifications
You must be signed in to change notification settings - Fork 164
Merging to release-5.8: Add "Ask AI" to docs website (#6317) #6407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging to release-5.8: Add "Ask AI" to docs website (#6317) #6407
Conversation
(cherry picked from commit 6c160f5)
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
✅ PS. Pls add /docs/nightly to the end of url
To edit notification comments on pull requests, go to your Netlify site configuration. |
User description
Add "Ask AI" to docs website (#6317)
PR Type
Enhancement, Documentation
Description
Introduces an interactive "Ask AI" chat widget to the docs site.
Implements frontend logic for streaming AI responses with markdown/code support.
Adds custom CSS for chat UI, markdown, and mobile responsiveness.
Integrates the widget into the site layout and header for universal access.
Changes walkthrough 📝
ai-chat-widget.html
Introduce AI chat widget partial with UI and dependencies
tyk-docs/themes/tykio/layouts/partials/ai-chat-widget.html
chat.js
Add frontend logic for AI chat widget with streaming
tyk-docs/static/js/chat.js
handling.
chat.css
Add custom CSS for chat widget and markdown rendering
tyk-docs/static/css/chat.css
baseof.html
Integrate AI chat widget partial into base layout
tyk-docs/themes/tykio/layouts/_default/baseof.html
header.html
Add "Ask AI" button to site header
tyk-docs/themes/tykio/layouts/partials/header.html
_header.scss
Style and position "Ask AI" button in header
tyk-docs/assets/scss/_header.scss