Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Dec 22, 2025

Summary

Fixes broken anchor links across 7 documentation files. These links pointed to headings that don't exist, typically because they referenced Step component titles (which don't generate anchor IDs) or used incorrect numbered suffixes for duplicate headings.

Changes by file:

  • auth.mdx: Fixed #oauth-authentication#auth-scheme-reference
  • project-structure.mdx: Removed broken link to Step title #add-namespaces-optional
  • quickstart.mdx: Removed broken links to Step titles #preview-your-docs and #publish-to-production
  • changelogs.mdx: Removed broken link to non-existent #api-level-changelog
  • generators-yml-reference.mdx: Fixed numbered anchor references (#metadata-2#metadata-1, #reviewers-4#reviewers-1, #reviewers-1#reviewers)
  • version-compatibility.mdx: Replaced broken #developer-packs links with external Microsoft download links; removed broken #legacy-projects references
  • commands.mdx: No changes (anchor links to Accordion titles are valid)

Updates since last revision

Restored the valid anchor links in commands.mdx that were incorrectly removed. After DOM inspection, I confirmed that Accordion components in this docs platform DO generate anchor IDs from their titles (e.g., <Accordion title="fern init"> generates id="fern-init"). The original removal was based on a false assumption.

Review & Testing Checklist for Human

  • Verify the anchor links in commands.mdx work correctly - click a few table links (e.g., fern init, fern generate --docs) and confirm they scroll to the corresponding Accordion section
  • Verify the anchor links in generators-yml-reference.mdx work correctly - the numbered suffixes (#metadata-1, #reviewers-1) depend on heading order
  • Spot-check the pages where links were removed (quickstart.mdx, project-structure.mdx, changelogs.mdx) to confirm the text reads naturally

Recommended test plan: Open the preview deployment and navigate to the commands page first to verify the table links work. Then check generators-yml-reference.mdx for the metadata/reviewers links. Finally, spot-check pages where links were removed to ensure readability.

Notes

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

| `fern generate` | Build & publish SDK updates |
| `fern write-definition` | Convert OpenAPI specifications to [Fern Definition](/learn/api-definition/fern/overview) |
| `fern write-overrides` | Create OpenAPI customizations |
| `fern generator upgrade` | Update SDK generators to latest versions |
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'latest' that become outdated

<Step title="Customize your docs">
Now that you have a basic docs site, you can customize it by adding tutorials, generating an API Reference, or finetuning the branding. (Or skip ahead to [preview](#preview-your-docs) and [publish](#publish-to-production).)
Now that you have a basic docs site, you can customize it by adding tutorials, generating an API Reference, or finetuning the branding.
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'Now' that become outdated

<Note>
Section-level changelogs **cannot** be nested within an `api` entry. See [API-level changelogs](#api-level-changelog) to add an API-level entry.
Section-level changelogs **cannot** be nested within an `api` entry.
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'can't' instead of 'cannot'.

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@devalog devalog merged commit b8266c6 into main Dec 23, 2025
2 checks passed
@devalog devalog deleted the fern/fix-broken-anchor-links branch December 23, 2025 13:26
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