Skip to content

Take Npgsql and EFCore.PG conceptual docs from their product repos - #486

Merged
roji merged 3 commits into
mainfrom
roji-docs-build-triggers
Nov 26, 2026
Merged

roji merged 3 commits into
mainfrom
roji-docs-build-triggers

Conversation

@roji

@roji roji commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 48f6f8ae0a010d395f5ced1bb533d9a8083fc6f5

Dimension Assessment Rationale
Change confidence 8.5/10 ↑ Full CI build (conceptual + API docs for both products, warnings as errors) passes against current product mains.
↑ 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/).

  • Replace the Npgsql/EFCore.PG submodules with checkouts of each repo's latest main at build time; docfx takes conceptual docs from Npgsql/docs and EFCore.PG/docs.
  • Remove conceptual/Npgsql and conceptual/EFCore.PG.
  • Rebuild on repository_dispatch (docs-changed, sent by the product repos when docs/** changes on main) and nightly (to pick up API changes).
  • Give each ref its own concurrency group, so PR builds no longer share (and can't displace) the main deployment queue; PR runs cancel in-progress runs.
  • Use the docfx nightly (from GitHub Packages): docfx 2.81.0 bundles a Roslyn too old for Npgsql's source generator (Microsoft.CodeAnalysis 5.12).
  • Build EFCore.PG API metadata for net11.0, which it now targets exclusively.

Closes #487

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>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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 /doc and /efcore URLs.
  • 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
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:38
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

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 EFCore.PG checkout now targets net11.0, but DocFX still forces net10.0 for metadata extraction, preventing the full documentation build from succeeding.

1 open issue

Review effort: Balanced

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

Copilot AI left a comment

Copy link
Copy Markdown

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 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

@roji
roji merged commit a6c72d4 into main Nov 26, 2026
3 checks passed
@roji
roji deleted the roji-docs-build-triggers branch November 26, 2026 12:55
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

2 participants