Skip to content

Expand unrendered Liquid links and update redirect-hop URLs - #14105

Open
kevmoo wants to merge 3 commits into
mainfrom
gsc-content-links
Open

kevmoo wants to merge 3 commits into
mainfrom
gsc-content-links

Conversation

@kevmoo

@kevmoo kevmoo commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Replaces unrendered Liquid link variables in archived release notes and updates
internal Markdown and YAML links to their final destinations.

  • Archived release notes: Statically expands 1,197 unrendered
    {{site.repo.*}} and {{site.github}} tokens in skipTemplateRendering: true Flutter and DevTools release notes that emitted literal {{site.*}}
    hrefs in built HTML.
  • Canonical link targets: Updates blog.flutter.dev links to
    flutter.dev/blog and removes trailing-slash or legacy redirect hops across
    docs and blog content.

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

- Statically expands 1,197 unrendered {{site.repo.*}} and {{site.github}}
  tokens in archived Flutter and DevTools release notes.
- Updates blog.flutter.dev links to flutter.dev/blog and removes
  trailing-slash or legacy redirect hops across docs and blog content.
@kevmoo
kevmoo requested review from a team and sfshaza2 as code owners November 19, 2026 07:16

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a comprehensive cleanup of links across the documentation and blog posts, updating outdated paths, standardizing relative URLs by removing trailing slashes, and replacing absolute blog links with relative ones. It also restructures paths for several sections, including AI, DevTools, and platform adaptations, and replaces template-based repository links with direct GitHub URLs. A review comment suggests updating an additional instance of /ai/create-with-ai to /ai/get-started in the 2025 highlights blog post to avoid a redirect hop and ensure consistency with the other updates in this PR.

@flutter-website-bot

flutter-website-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit a91c809):

https://flutter-docs-prod--docs-pr14105-gsc-content-links-jvbne8as.web.app

@flutter-website-bot

flutter-website-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit a91c809):

https://flutter-dev-230821--www-pr14105-gsc-content-links-ejuequsd.web.app

- Strip legacy Medium hex suffixes and map renamed slugs across all 27
  docs pages referencing `{{site.flutter-blog}}/...` so updating
  `flutter-blog` to `https://flutter.dev/blog` in `site.yml` resolves
  to canonical 200 blog URLs instead of 404s.
- Update remaining `/ai/create-with-ai`, `/ai-toolkit`, and `/blog/...`
  redirect-hop links in modified blog and release-notes hunks.
- Add `sites/www/test/content_links_test.dart` to verify cross-site
  `{{site.flutter-blog}}` slug resolution and `skipTemplateRendering`
  Liquid variable expansion invariants.
Add `@TestOn('vm')` so browser test runs (`dart test -p chrome`) in
`sites/www` skip filesystem assertions cleanly.
@parlough parlough self-assigned this Nov 19, 2026
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.

3 participants