Revert "fix: try switching back to ast-grep.github.io" - #1043
Conversation
This reverts commit ab9ec13.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (37)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe website now uses ChangesWebsite domain migration
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This PR reverts the website URL/domain switch across documentation and site configuration. No actionable merge-blocking risk remains after normal checks and review. Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR reverts a prior attempt to switch the site back to ast-grep.github.io by re-pointing canonical metadata, docs links, and UI help links to the astgrep.com domain, and adding a Pages CNAME for the custom domain.
Changes:
- Update numerous hard-coded documentation / canonical URLs from
https://ast-grep.github.iotohttps://astgrep.com. - Configure VitePress canonical URLs + sitemap hostname to use
astgrep.com. - Add
website/public/CNAMEto set the GitHub Pages custom domain toastgrep.com.
Reviewed changes
Copilot reviewed 37 out of 37 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/QueryEditor.vue | Update external help link domain for “Show Full Tree” tooltip. |
| website/src/components/PatternEditor.vue | Update external help link domain for “Rewrite” tooltip. |
| website/src/components/PatternConfig.vue | Update external help link domains for Strictness/Selector tooltips. |
| website/src/components/astGrep/state.ts | Update comment URL in embedded YAML example. |
| website/reference/yaml.md | Update example metadata.url domain. |
| website/reference/cli/run.md | Update documentation URLs in CLI reference text. |
| website/public/schema.json | Update schema description doc links to astgrep.com. |
| website/public/CNAME | Add custom domain for GitHub Pages output. |
| website/guide/rule-config.md | Update inline reference URL domain. |
| website/catalog/c/match-function-call.md | Update playground link domain in docs. |
| website/blog/yaml-vs-dsl.md | Update og:url and in-article site link domain. |
| website/blog/typed-napi.md | Update og:url and og:image domains. |
| website/blog/tree-sitter-rust-rewrite.md | Update og:url domain. |
| website/blog/tree-sitter-rust-migration.md | Update og:url domain. |
| website/blog/tree-sitter-glr-arena.md | Update og:url domain. |
| website/blog/tree-sitter-end-to-end.md | Update og:url domain. |
| website/blog/stars-8000.md | Update og:url domain and in-article site links domain. |
| website/blog/stars-6000.md | Update og:url domain and in-article site link domain. |
| website/blog/stars-5000.md | Update og:url domain and in-article site link domain. |
| website/blog/stars-3000.md | Update og:url domain and in-article site links domain. |
| website/blog/optimize-ast-grep.md | Update og:url domain and in-article site links domain. |
| website/blog/new-ver-43.md | Update og:url domain. |
| website/blog/new-ver-42.md | Update og:url domain. |
| website/blog/new-ver-39.md | Update og:url domain. |
| website/blog/new-ver-38.md | Update og:url domain and in-article docs link domain. |
| website/blog/more-llm-support.md | Update og:url domain and llms-full.txt link domain. |
| website/blog/migrate-bevy.md | Update og:url domain. |
| website/blog/mastering-ast-grep.md | Update og:url domain (but currently points at wrong path). |
| website/blog/interactive-demo.md | Update og:url domain. |
| website/blog/how-to-debug.md | Update og:url domain. |
| website/blog/fearless-concurrency.md | Update og:url/og:image domains and in-article site link domain. |
| website/blog/code-search-design-space.md | Update og:url/og:image domains. |
| website/blog/ast-grep-outline.md | Update og:url domain. |
| website/blog/ast-grep-agent.md | Update og:url domain. |
| website/advanced/prompting.md | Update llms-full.txt link text domain. |
| website/advanced/find-n-patch.md | Update in-article site link domain. |
| website/.vitepress/config.ts | Update canonical URL base and sitemap hostname to astgrep.com. |
Suppressed comments (1)
website/src/components/PatternConfig.vue:28
target="_blank"links should includerel="noopener noreferrer"to prevent reverse-tabnabbing.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <input class="tree-toggle" type="checkbox" v-model="showFullTree"> | ||
| Show Full Tree | ||
| <a target="_blank" href="https://ast-grep.github.io/advanced/core-concepts">ⓘ</a> | ||
| <a target="_blank" href="https://astgrep.com/advanced/core-concepts">ⓘ</a> |
| :highlights="highlights"/> | ||
| <p class="pattern-separator"> | ||
| <a target="_blank" href="https://ast-grep.github.io/guide/rewrite-code">ⓘ</a> | ||
| <a target="_blank" href="https://astgrep.com/guide/rewrite-code">ⓘ</a> |
| <div class="pattern-config"> | ||
| <label title="Strictness determines how the pattern is matched against the code."> | ||
| <a target="_blank" href="https://ast-grep.github.io/advanced/match-algorithm">ⓘ</a> | ||
| <a target="_blank" href="https://astgrep.com/advanced/match-algorithm">ⓘ</a> |
| - property: og:url | ||
| content: https://ast-grep.github.io/blog/optimize-ast-grep | ||
| content: https://astgrep.com/blog/optimize-ast-grep |
This reverts commit ab9ec13.
Summary by CodeRabbit
astgrep.comdomain.astgrep.comas the primary website domain.