-
Notifications
You must be signed in to change notification settings - Fork 32
Improve docs SEO: sitemap cleanup, noindex for unreleased pages, and add meta tags #761
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,6 +88,7 @@ const config: Config = { | |
| current: { | ||
| label: 'Next', | ||
| banner: 'unreleased', | ||
| noIndex: true, | ||
| }, | ||
| cloud: { | ||
| label: 'Cloud', | ||
|
|
@@ -105,24 +106,38 @@ const config: Config = { | |
| // Please change this to your repo. | ||
| // Remove this to remove the "edit this page" links. | ||
| editUrl: | ||
| 'https://github.com/wso2/agent-manager/edit/main/documentation/', | ||
| 'https://github.com/wso2/agent-manager/edit/main/documentation/', | ||
| }, | ||
| sitemap: { | ||
| lastmod: 'date', | ||
| changefreq: 'weekly', | ||
| priority: 0.5, | ||
| ignorePatterns: [ | ||
| ...versions | ||
| .filter((version) => version !== latestVersion) | ||
| .map((version) => `/agent-manager/docs/${version}/**`), | ||
| '/agent-manager/docs/next/**', | ||
| '/agent-manager/docs/', | ||
| '/agent-manager/search/', | ||
| '/agent-manager/docs/getting-started/quick-start/', | ||
| ], | ||
|
Comment on lines
+115
to
+123
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
# Confirm whether quick-start is intended to remain indexable.
rg -n 'quick-start' documentation/docs documentation/docusaurus.config.ts documentation/sidebars.tsRepository: wso2/agent-manager Length of output: 2075 Remove The quick-start guide is a primary onboarding resource (referenced in sidebars navigation, tutorials, and overview pages) and excluding it from the sitemap will harm search engine discoverability. This appears to be an unintended exclusion—the actual served path structure differs from the ignore pattern, and a redirect rule on line 178 explicitly directs to the quick-start for the latest version. 🤖 Prompt for AI Agents
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. /agent-manager/docs/getting-started/quick-start/ is a redirect page, not actual content. The canonical content lives under versioned paths like /agent-manager/docs/{version}/getting-started/quick-start/. Including the redirect in the sitemap could lead to duplicate/low-value indexing, so it’s excluded on purpose.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
✏️ Learnings added
🧠 Learnings used |
||
| }, | ||
| blog: false, // Disable blog until we have content | ||
| theme: { | ||
| customCss: './src/css/custom.css', | ||
| customCss: './src/css/custom.css', | ||
| }, | ||
| } satisfies Preset.Options, | ||
| ], | ||
| ], | ||
|
|
||
| themeConfig: { | ||
|
|
||
| // Replace with your project's social card | ||
| // image: 'img/amp-social-card.png', | ||
| announcementBar: { | ||
| id: `release_${quickStartDockerTag.replace(/\./g, '_')}`, | ||
| content: | ||
| `🎉 WSO2 Agent Manager <a target="_blank" rel="noopener noreferrer" href="https://github.com/wso2/agent-manager/releases/tag/amp%2F${quickStartDockerTag}">${quickStartDockerTag}</a> has been released! Explore what's new. 🎉`, | ||
| // Replace with your project's social card | ||
| // image: 'img/amp-social-card.png', | ||
| announcementBar: { | ||
| id: `release_${quickStartDockerTag.replace(/\./g, '_')}`, | ||
| content: | ||
| `🎉 WSO2 Agent Manager <a target="_blank" rel="noopener noreferrer" href="https://github.com/wso2/agent-manager/releases/tag/amp%2F${quickStartDockerTag}">${quickStartDockerTag}</a> has been released! Explore what's new. 🎉`, | ||
| isCloseable: true, | ||
| }, | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Standardize “LLM-Judge” capitalization in the description.
Use the same casing as the rest of the page to keep terminology consistent.
✏️ Suggested wording tweak
📝 Committable suggestion
🤖 Prompt for AI Agents