Skip to content

docs: add workflow to notify documentation site on changes#1001

Merged
vbreuss merged 2 commits into
mainfrom
topic/extract-docs-shell
May 2, 2026
Merged

docs: add workflow to notify documentation site on changes#1001
vbreuss merged 2 commits into
mainfrom
topic/extract-docs-shell

Conversation

@vbreuss
Copy link
Copy Markdown
Member

@vbreuss vbreuss commented May 2, 2026

This pull request makes significant changes to the documentation site for Testably.Abstractions. It removes the Docusaurus-based site from the repository, including all configuration, content, and deployment files. Additionally, it updates the GitHub Actions workflow to notify an external documentation site when documentation changes occur, instead of building and deploying the site directly from this repository.

The most important changes are:

Documentation site removal:

  • Deleted the entire Docusaurus documentation site, including all documentation pages, configuration files (docusaurus.config.ts, sidebars.ts), custom CSS, and the package.json for the documentation site. This also removes the .gitignore, custom styles, and the main README.md for the docs site.

Workflow and deployment changes:

  • Removed the GitHub Actions workflow (pages.yml) that previously built and deployed the documentation site to GitHub Pages.
  • Added a new GitHub Actions workflow (notify-docs-site.yml) that triggers a repository dispatch event to notify the external Testably.Site repository to rebuild the documentation site when documentation changes are pushed.

These changes centralize documentation deployment and management in the external Testably.Site repository, rather than maintaining and deploying the documentation site within this repository.

@vbreuss vbreuss self-assigned this May 2, 2026
@vbreuss vbreuss added the documentation Improvements or additions to documentation label May 2, 2026
The Pages site is now hosted in Testably.Site, which fetches the
documentation content from this repo over the GitHub API. The local
build-and-deploy job is therefore obsolete; the cross-repo dispatch
lives in the separate notify-docs-site workflow.
@vbreuss vbreuss marked this pull request as ready for review May 2, 2026 20:17
Copilot AI review requested due to automatic review settings May 2, 2026 20:17
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@vbreuss vbreuss merged commit 10b7e1a into main May 2, 2026
5 of 10 checks passed
@vbreuss vbreuss deleted the topic/extract-docs-shell branch May 2, 2026 20:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR appears to migrate documentation-site responsibility out of this repository by removing the in-repo Docusaurus site and page deployment pipeline, and replacing it with a workflow that asks Testably/Testably.Site to rebuild when docs content changes here.

Changes:

  • Remove the in-repo docs site, its build/deploy workflows, and the supporting NUKE target.
  • Replace the old landing page content with a docs page entry under Docs/pages/docs/index.mdx.
  • Add a GitHub Actions workflow that dispatches a rebuild event to Testably/Testably.Site on docs changes.

Reviewed changes

Copilot reviewed 17 out of 22 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Testably.Abstractions.slnx Removes the old Pages workflow from the solution manifest.
Pipeline/Build.Pages.cs Deletes the NUKE target that fetched extension docs and prepared the docs site.
Docs/pages/tsconfig.json Removes TypeScript config for the deleted Docusaurus site.
Docs/pages/static/CNAME Removes custom-domain config tied to the deleted site.
Docs/pages/src/pages/index.tsx Deletes the old custom home page implementation.
Docs/pages/src/pages/index.module.css Deletes styles used by the removed home page.
Docs/pages/src/css/custom.css Deletes global Docusaurus theme overrides.
Docs/pages/sidebars.ts Removes sidebar config for the deleted site.
Docs/pages/package.json Removes the Docusaurus app package manifest and scripts.
Docs/pages/docusaurus.config.ts Removes the Docusaurus site configuration.
Docs/pages/docs/intro.mdx Deletes the previous introductory docs landing page.
Docs/pages/docs/index.mdx Adds a new docs page that now carries the intro/landing content.
Docs/pages/README.md Removes contributor/deployment documentation for the old docs site.
Docs/pages/.gitignore Removes ignore rules associated with the deleted Node/Docusaurus app.
.github/workflows/pages.yml Deletes the old repository_dispatch-based docs deployment workflow.
.github/workflows/notify-docs-site.yml Adds a workflow that dispatches a rebuild event to the external docs-site repo.
.github/workflows/build.yml Removes the in-repo docs build/deploy job from the main CI workflow.

@@ -0,0 +1,22 @@
name: Notify Docs Site
Comment on lines +16 to +17
- name: Dispatch extension-documentation-updated-event to Testably/Testably.Site
uses: peter-evans/repository-dispatch@v3
Comment on lines 238 to 240
state: released
skip-label: |
state: released
Comment thread Docs/pages/docs/index.mdx
@@ -0,0 +1,112 @@
---
title: Testably.Abstractions
slug: /abstractions/
@@ -48,7 +48,6 @@
<Folder Name="/_/.github/workflows/">
<File Path=".github/workflows/build.yml" />
<File Path=".github/workflows/ci.yml" />
@github-actions
Copy link
Copy Markdown

This is addressed in release v6.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation state: released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants