Skip to content

docs(async-await): fix broken link to Mongoose API docs - #16517

Merged
vkarpov15 merged 1 commit into
Automattic:masterfrom
joshuablac:fix-async-await-api-link
Sep 20, 2026
Merged

vkarpov15 merged 1 commit into
Automattic:masterfrom
joshuablac:fix-async-await-api-link

Conversation

@joshuablac

@joshuablac joshuablac commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

docs/async-await.md links to api/mongoose.html.html — the .html extension is doubled, so https://mongoosejs.com/docs/api/mongoose.html.html returns 404.

This one-line change points it at the real page, api/mongoose.html.

Verification

  • The broken URL 404s on the live docs site; api/mongoose.html returns 200.
  • grep -rn '\.html\.html' docs/ finds no other occurrence, so this is the only instance.

Copilot AI lite review requested due to automatic review settings September 19, 2026 22:53

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The link now matches the repository’s existing API documentation URL pattern.

Review effort: Lite
Findings: None

What changed in this PR

Fixes the broken API documentation link in the async/await guide.

Changes:

  • Removes the duplicated .html extension.
File Description
docs/​async-await.md Corrects the API documentation URL.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

`docs/async-await.md` linked to `api/mongoose.html.html`, which 404s on
mongoosejs.com. The extension is doubled; the page is `api/mongoose.html`.
@joshuablac
joshuablac force-pushed the fix-async-await-api-link branch from d63129c to 6e70321 Compare September 19, 2026 22:55

@vkarpov15 vkarpov15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 added this to the 9.10.2 milestone Sep 19, 2026
@joshuablac

joshuablac commented Sep 20, 2026 via email

Copy link
Copy Markdown
Contributor Author

@vkarpov15
vkarpov15 merged commit 38e5900 into Automattic:master Sep 20, 2026
2 checks passed
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