Skip to content

docs: replace stale line-number citations in mongodb.md with named citations - #581

Merged
cevheri merged 1 commit into
libredb:mainfrom
hasnaintypes:docs/543-mongodb-named-citations
Sep 6, 2026
Merged

docs: replace stale line-number citations in mongodb.md with named citations#581
cevheri merged 1 commit into
libredb:mainfrom
hasnaintypes:docs/543-mongodb-named-citations

Conversation

@hasnaintypes

Copy link
Copy Markdown
Contributor

Summary

  • Replaces all 14 stale mongodb.ts:N / factory.ts:N line-number citations in docs/providers/mongodb.md with named citations (method name + bare file link), matching the convention established in mssql.md/trino.md/oracle.md.
  • Adds docs/providers/mongodb.md to NAMED_CITATIONS in tests/unit/provider-docs-monitoring-citations.test.ts so the doc stays guarded against future line-number drift.

Fixes #543

@cevheri
cevheri merged commit a193deb into libredb:main Sep 6, 2026
22 checks passed
@cevheri

cevheri commented Sep 6, 2026

Copy link
Copy Markdown
Member

Thanks(five merged PRs - great), this is the mongodb.md half of the pair done the same way as #563.

Checked against the tree: the fourteen citations are the thirteen mongodb.ts:N from the issue plus the one factory.ts:88, no .ts:N is left in the file, and all ten names resolve to declarations.

The guard bites in both directions: putting one line number back fails the first case, and misspelling a listed method fails the second. CI is green end to end. Merging.

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.

docs/providers/mongodb.md: replace 13 stale line-number citations with named citations

2 participants