From 0692766bffcbe1d97782c3c0429e8e18ef904534 Mon Sep 17 00:00:00 2001 From: Pierre Janineh Date: Mon, 1 Jun 2026 07:23:27 +0300 Subject: [PATCH] ci: redirect docs site root to the module documentation The bare GitHub Pages URL rendered DocC's "page can't be found" because a DocC site has no root landing page. Overwrite the generated root index.html with a redirect to /documentation/progressui (per-route pages are unaffected). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/docs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c8bbedc..6497be7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,6 +33,25 @@ jobs: --hosting-base-path ProgressUI \ --output-path ./docs + # DocC has no landing page at the site root, so the bare Pages URL renders + # "page can't be found". Redirect the root to the module's documentation. + - name: Redirect site root to the module documentation + run: | + cat > ./docs/index.html <<'HTML' + + + + + ProgressUI + + + + + Redirecting to the ProgressUI documentation… + + + HTML + - uses: actions/upload-pages-artifact@v3 with: path: ./docs