From 4d2523f59ec0804fbb82e07fbe990382f57d829e Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Thu, 3 Dec 2026 08:38:01 +0100 Subject: [PATCH] Redirect the user guide to docs.assertj.dev The guide moved to https://docs.assertj.dev/. GitHub Pages now serves a single page that maps each anchor of the old single-page guide to its page and section on the new site, pinned to the versions current at the time of the move. Unknown anchors go to the start page. The workflow deploys that page instead of building the old guide. --- .github/workflows/main.yml | 11 +- README.md | 7 +- redirect/index.html | 623 +++++++++++++++++++++++++++++++++++++ 3 files changed, 629 insertions(+), 12 deletions(-) create mode 100644 redirect/index.html diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e669ba9..6bced2be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,19 +17,10 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Set up JDK 11 - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0 - with: - distribution: 'temurin' - java-version: 17 - - name: Setup Gradle - uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1 - - name: Build User Guide - run: ./gradlew asciidoctor - name: Upload User Guide Artifact uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: - path: build/docs/asciidoc/user-guide + path: redirect deploy-user-guide: diff --git a/README.md b/README.md index c1f7fb6f..47f22061 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,12 @@ [![Github CI status](https://github.com/assertj/doc/workflows/CI/badge.svg)](https://github.com/assertj/doc/actions?query=workflow%3ACI) -The AssertJ User Guide is available here: https://assertj.github.io/doc/ +The AssertJ User Guide has moved to https://docs.assertj.dev/ and its sources to the repositories of the +AssertJ modules. -This project contains the AsciiDoc sources for the guide. +https://assertj.github.io/doc/ now only serves `redirect/index.html`, which sends each anchor of the old +single-page guide to its page on the new site. The targets are pinned to the versions that were +current at the time of the move. ## Structure diff --git a/redirect/index.html b/redirect/index.html new file mode 100644 index 00000000..9ba41cd3 --- /dev/null +++ b/redirect/index.html @@ -0,0 +1,623 @@ + + + + +AssertJ documentation has moved + + + + + +

The AssertJ documentation has moved to docs.assertj.dev.

+ +