Skip to content

Import EFCore.PG conceptual docs into docs/ - #4165

Merged
roji merged 210 commits into
mainfrom
roji-import-conceptual-docs
Nov 26, 2026
Merged

roji merged 210 commits into
mainfrom
roji-import-conceptual-docs

Conversation

@roji

@roji roji commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 8966c3fb152fc9b8f05f6298df10805b317d5a78

Dimension Assessment Rationale
Change confidence 8.5/10 ↑ markdownlint passes locally and in CI on all of docs/.
↑ No markdown link escapes docs/; cross-product links converted to site-root paths.
↑ API TOC source reference verified by the npgsql/doc session to resolve from EFCore.PG/docs/.
↑ DOCS_APP_ID/DOCS_APP_PRIVATE_KEY confirmed visible to this repo as org secrets.
↓ Dispatch job and the npgsql/doc companion build change are not yet exercised end-to-end.

Moves the EFCore.PG conceptual documentation from npgsql/doc (conceptual/EFCore.PG/) into this repo, so product and doc changes can land together in one PR. npgsql/doc remains the site shell and will clone this repo's main and use docs/ as a docfx content source published under /efcore.

  • Import with history: docs/ was created via git filter-repo on npgsql/doc and merged with --allow-unrelated-histories, so file history is preserved. Structure is unchanged, including docs/toc.yml at the root. No content edits beyond link fixes.
  • Link fixes: relative links that crossed into other products (e.g. ../Npgsql/basic-usage.md#data-source, ../../Npgsql/release-notes/8.0.md) now use site-root paths such as /doc/basic-usage.html#data-source.
  • Workflow (.github/workflows/docs.yml): path-filtered to docs/**. Runs markdownlint (config copied from npgsql/doc into docs/.markdownlint.json) on PRs and pushes; on push to main, mints a GitHub App token (DOCS_APP_ID/DOCS_APP_PRIVATE_KEY org secrets) and sends a docs-changed repository_dispatch to npgsql/doc.
  • Removes .github/workflows/trigger-doc-build.yml: it only fired on pushes to a docs branch and sent an event npgsql/doc never listened for; the new dispatch replaces it.
  • Adds a one-line note to .github/copilot-instructions.md pointing to docs/.

docs/ contains no project files, so the .NET build is unaffected.

Note: because of the history-preserving merge, the commit count is large; review the net diff rather than individual commits.

Closes npgsql/doc#487

roji and others added 15 commits February 2, 2026 10:51
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: dab05258-0495-467d-920c-8b811a77bdf8
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bef3c291-4d50-4144-83a8-609d01f54c7a
Add JSON mapping examples and index selection guidance, with an EF 11 release-note entry and temporary RC2 limitations.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8e44980c-ccf7-431f-bc01-da8135db9db0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 635ffab7-59a4-4bc8-bf5a-73e707d381cf
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b4f6a4da-cf90-40f2-a1e2-2a54035bd9df
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Source: npgsql/doc at 570c7259abc514bfc328103d9d9dbbdeedaa1dc6, conceptual/EFCore.PG/.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use site-root-relative links for cross-product pages and the API reference. Lint docs changes and notify npgsql/doc after main pushes. Keep agent guidance aligned with the new docs location.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:03
@roji
roji enabled auto-merge (squash) November 26, 2026 12:08

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.

🟡 Changes recommended

The receiving workflow does not handle or publish the documentation dispatch, and the API reference link targets a directory with no index page.

2 open issues
What changed in this PR

Moves EFCore.PG conceptual documentation into this repository so provider and documentation changes can land together, while npgsql/doc remains the publishing site.

Changes:

  • Imports conceptual guides, release notes, and navigation into docs/, preserving history.
  • Converts cross-product links to site-root URLs and updates API navigation.
  • Adds Markdown linting, a documentation-change dispatch workflow, and contributor guidance.
File Description
docs/​toc.yml Imports navigation and updates the API reference link.
docs/​release-notes/​9.0.md Imports 9.0 release notes.
docs/​release-notes/​8.0.md Imports 8.0 release notes.
docs/​release-notes/​7.0.md Imports 7.0 release notes.
docs/​release-notes/​6.0.md Imports 6.0 release notes.
docs/​release-notes/​5.0.md Imports 5.0 release notes.
docs/​release-notes/​3.1.md Imports 3.1 release notes.
docs/​release-notes/​2.2.md Imports 2.2 release notes.
docs/​release-notes/​2.1.md Imports 2.1 release notes.
docs/​release-notes/​2.0.md Imports 2.0 release notes.
docs/​release-notes/​11.0.md Imports 11.0 release notes.
docs/​release-notes/​10.0.md Imports 10.0 release notes.
docs/​release-notes/​1.1.md Imports 1.1 migration guidance.
docs/​modeling/​tables.md Imports table modeling guidance.
docs/​modeling/​indexes.md Imports PostgreSQL index configuration guidance.
docs/​modeling/​generated-properties.md Imports value-generation guidance.
docs/​modeling/​concurrency.md Imports concurrency handling guidance.
docs/​misc/​temporal-constraints.md Imports temporal constraint documentation.
docs/​misc/​other.md Imports miscellaneous provider configuration guidance.
docs/​misc/​database-creation.md Imports database creation options.
docs/​misc/​collations-and-case-sensitivity.md Imports collation and case-sensitivity guidance.
docs/​mapping/​vector-search.md Imports vector search integration guidance.
docs/​mapping/​translations.md Imports the LINQ-to-SQL translation reference.
docs/​mapping/​range.md Imports range and multirange mapping guidance.
docs/​mapping/​nts.md Imports spatial mapping guidance.
docs/​mapping/​nodatime.md Imports NodaTime integration guidance.
docs/​mapping/​json.md Imports JSON mapping and indexing guidance.
docs/​mapping/​general.md Imports general type mapping guidance.
docs/​mapping/​full-text-search.md Imports full-text search guidance.
docs/​mapping/​enum.md Imports enum mapping guidance.
docs/​mapping/​array.md Imports array mapping guidance.
docs/​index.md Imports the getting-started guide.
docs/​.markdownlint.json Adds documentation lint rules.
.github/​workflows/​docs.yml Adds linting and downstream build notification.
.github/​copilot-instructions.md Points contributors to conceptual documentation.

Review effort: Balanced

Comment thread .github/workflows/docs.yml Resolved
Comment thread docs/toc.yml Resolved
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:10
…flow

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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.

🔵 Needs a closer look

The documentation cutover spans two PRs, and the dispatch-to-publication path has not been exercised end to end, requiring maintainer validation of the coordinated rollout and first site deployment.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:14

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.

🔵 Needs a closer look

The cross-repository cutover depends on npgsql/doc#486 and needs human verification of merge sequencing and the first end-to-end App-token dispatch, DocFX build, and Pages deployment.

No open issues 🎉

Review effort: Balanced

@roji
roji merged commit 80af227 into main Nov 26, 2026
17 checks passed
@roji
roji deleted the roji-import-conceptual-docs branch November 26, 2026 12:28
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.

Move Npgsql and EFCore.PG conceptual docs into their product repos