Repository navigation
Take Npgsql and EFCore.PG conceptual docs from their product repos - #486
Merged
Merged
Conversation
The site now clones the latest main of npgsql/npgsql and npgsql/efcore.pg at build time (replacing the submodules), taking conceptual docs from their docs/ directories. Rebuilds are triggered by repository_dispatch from those repos, and nightly. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The full documentation build fails because EFCore.PG targets net11.0 while its DocFX metadata still forces net10.0, which is absent from the restored assets.
1 open issue
What changed in this PR
This PR makes this repository the documentation site shell, sourcing Npgsql and EFCore.PG conceptual docs from their product repositories so code and documentation can change together.
Changes:
- Point DocFX and site navigation to product-repository docs while preserving
/docand/efcoreURLs. - Remove local product documentation and replace submodules with build-time checkouts of
main. - Add product-triggered and nightly rebuilds, with separate concurrency groups for each ref.
| File | Description |
|---|---|
toc.yml |
Point navigation to product documentation roots. |
README.md |
Explain documentation ownership and build setup. |
docfx.json |
Read conceptual docs from product checkouts. |
conceptual/Npgsql/wait.md |
Remove local notification guide. |
conceptual/Npgsql/types/nts.md |
Remove local NetTopologySuite guide. |
conceptual/Npgsql/types/nodatime.md |
Remove local NodaTime guide. |
conceptual/Npgsql/types/geojson.md |
Remove local GeoJSON guide. |
conceptual/Npgsql/types/enums_and_composites.md |
Remove local enum and composite guide. |
conceptual/Npgsql/types/datetime.md |
Remove local date/time guide. |
conceptual/Npgsql/types/basic.md |
Remove local type-mapping reference. |
conceptual/Npgsql/toc.yml |
Remove local Npgsql navigation. |
conceptual/Npgsql/security.md |
Remove local security guide. |
conceptual/Npgsql/replication.md |
Remove local replication guide. |
conceptual/Npgsql/release-notes/9.0.md |
Remove local 9.0 release notes. |
conceptual/Npgsql/release-notes/3.2.md |
Remove local 3.2 release notes. |
conceptual/Npgsql/release-notes/3.1.md |
Remove local 3.1 release notes. |
conceptual/Npgsql/release-notes/11.0.md |
Remove local 11.0 release notes. |
conceptual/Npgsql/release-notes/10.0.md |
Remove local 10.0 release notes. |
conceptual/Npgsql/prepare.md |
Remove local prepared-statement guide. |
conceptual/Npgsql/performance.md |
Remove local performance guide. |
conceptual/Npgsql/keepalive.md |
Remove local keepalive guide. |
conceptual/Npgsql/installation.md |
Remove local installation guide. |
conceptual/Npgsql/index.md |
Remove local getting-started page. |
conceptual/Npgsql/faq.md |
Remove local FAQ. |
conceptual/Npgsql/failover-and-load-balancing.md |
Remove local multi-host guide. |
conceptual/Npgsql/diagnostics/tracing.md |
Remove local tracing guide. |
conceptual/Npgsql/diagnostics/overview.md |
Remove local diagnostics overview. |
conceptual/Npgsql/diagnostics/metrics.md |
Remove local metrics guide. |
conceptual/Npgsql/diagnostics/logging.md |
Remove local logging guide. |
conceptual/Npgsql/diagnostics/exceptions_notices.md |
Remove local exceptions and notices guide. |
conceptual/Npgsql/dev/tests.md |
Remove local testing instructions. |
conceptual/Npgsql/dev/release-checklist.md |
Remove local release checklist. |
conceptual/Npgsql/copy.md |
Remove local bulk-copy guide. |
conceptual/Npgsql/contributing.md |
Remove local contribution guidance. |
conceptual/Npgsql/compatibility.md |
Remove local compatibility guide. |
conceptual/EFCore.PG/toc.yml |
Remove local EF Core navigation. |
conceptual/EFCore.PG/release-notes/9.0.md |
Remove local 9.0 release notes. |
conceptual/EFCore.PG/release-notes/7.0.md |
Remove local 7.0 release notes. |
conceptual/EFCore.PG/release-notes/3.1.md |
Remove local 3.1 release notes. |
conceptual/EFCore.PG/release-notes/2.2.md |
Remove local 2.2 release notes. |
conceptual/EFCore.PG/release-notes/2.1.md |
Remove local 2.1 release notes. |
conceptual/EFCore.PG/release-notes/2.0.md |
Remove local 2.0 release notes. |
conceptual/EFCore.PG/release-notes/10.0.md |
Remove local 10.0 release notes. |
conceptual/EFCore.PG/release-notes/1.1.md |
Remove local 1.1 release notes. |
conceptual/EFCore.PG/modeling/tables.md |
Remove local table-modeling guide. |
conceptual/EFCore.PG/modeling/indexes.md |
Remove local index-modeling guide. |
conceptual/EFCore.PG/modeling/generated-properties.md |
Remove local value-generation guide. |
conceptual/EFCore.PG/modeling/concurrency.md |
Remove local concurrency guide. |
conceptual/EFCore.PG/misc/temporal-constraints.md |
Remove local temporal-constraints guide. |
conceptual/EFCore.PG/misc/other.md |
Remove local miscellaneous feature guidance. |
conceptual/EFCore.PG/misc/database-creation.md |
Remove local database-creation guide. |
conceptual/EFCore.PG/misc/collations-and-case-sensitivity.md |
Remove local collation guide. |
conceptual/EFCore.PG/mapping/vector-search.md |
Remove local vector-search guide. |
conceptual/EFCore.PG/mapping/range.md |
Remove local range-mapping guide. |
conceptual/EFCore.PG/mapping/general.md |
Remove local type-mapping overview. |
conceptual/EFCore.PG/mapping/full-text-search.md |
Remove local full-text-search guide. |
conceptual/EFCore.PG/mapping/enum.md |
Remove local enum-mapping guide. |
conceptual/EFCore.PG/mapping/array.md |
Remove local array-mapping guide. |
conceptual/EFCore.PG/index.md |
Remove local EF Core getting-started page. |
.gitmodules |
Remove product submodule configuration. |
.gitignore |
Ignore local product checkouts. |
.github/workflows/build-documentation.yml |
Fetch product sources, add rebuild triggers, and isolate PR runs. |
Review effort: Balanced
| with: | ||
| submodules: true | ||
| repository: npgsql/efcore.pg | ||
| ref: main |
This was referenced Nov 26, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The cross-repository publishing migration still lacks end-to-end validation of API generation and Pages deployment against moving main branches and an unpinned DocFX prerelease from an authenticated feed.
1 open issue
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
48f6f8ae0a010d395f5ced1bb533d9a8083fc6f5↑ Product-side PRs npgsql/npgsql#6773 and npgsql/efcore.pg#4165 are merged.
↓ Relies on docfx nightly from GitHub Packages; nightly regressions could break the build.
↓ Deploy and repository_dispatch paths only exercised after merge.
The Npgsql and EFCore.PG conceptual docs move into a
docs/directory in their respective repos, so product changes and their docs can land in a single PR. This repo becomes the site shell (docfx config, top-level TOC/landing page, EF6 docs,dev/).Npgsql/EFCore.PGsubmodules with checkouts of each repo's latestmainat build time; docfx takes conceptual docs fromNpgsql/docsandEFCore.PG/docs.conceptual/Npgsqlandconceptual/EFCore.PG.repository_dispatch(docs-changed, sent by the product repos whendocs/**changes on main) and nightly (to pick up API changes).Closes #487