Skip to content

Commit bd486af

Browse files
ctruedenclaude
andcommitted
Expect legacy front pages to reach their named unions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4cf6456 commit bd486af

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.tests/contract.txt‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
/org.scijava/pom-scijava/latest/net/imglib2/img/Img.html /net.imglib2/imglib2/*/net/imglib2/img/Img.html
3434
/org.scijava/pom-scijava/latest/net.imagej/ /org.scijava/pom-scijava/*/net.imagej/
3535

36-
# Legacy front pages go to the project's main component or named union.
37-
/ImageJ/ /net.imagej/imagej/*/
38-
/ImageJ2/ /net.imagej/imagej/*/
36+
# Legacy front pages go to the project's named union, else its main component.
37+
/ImageJ/ /org.scijava/pom-scijava/*/net.imagej/
38+
/ImageJ2/ /org.scijava/pom-scijava/*/net.imagej/
3939
/ImageJ1/ /net.imagej/ij/*/
40-
/ImgLib2/ /net.imglib2/imglib2/*/
41-
/SCIFIO/ /io.scif/scifio/*/
42-
/SciJava/ /org.scijava/scijava-common/*/
40+
/ImgLib2/ /org.scijava/pom-scijava/*/net.imglib2/
41+
/SCIFIO/ /org.scijava/pom-scijava/*/io.scif/
42+
/SciJava/ /org.scijava/pom-scijava/*/org.scijava/
4343
/Fiji/ /org.scijava/pom-scijava/*/sc.fiji/
4444
/BoneJ/ /org.scijava/pom-scijava/*/org.bonej/
45-
/Bio-Formats/ /ome/formats-api/*/
45+
/Bio-Formats/ /org.scijava/pom-scijava/*/bio-formats/
4646
/OMERO/ /org.openmicroscopy/omero-gateway/*/
4747
/FLIMLib/ /flimlib/flimlib/*/
4848
/Guava/ /com.google.guava/guava/*/
@@ -51,7 +51,7 @@
5151
/SciView/ /sc.iview/sciview/*/
5252
/sciview/ /sc.iview/sciview/*/
5353
/XChart/ /org.knowm.xchart/xchart/*/
54-
/ImgLib2 /net.imglib2/imglib2/*/
54+
/ImgLib2 /org.scijava/pom-scijava/*/net.imglib2/
5555

5656
# Legacy deep links reach the same class, including old frameset links.
5757
/ImgLib2/net/imglib2/img/Img.html /net.imglib2/imglib2/*/net/imglib2/img/Img.html

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ To contribute, please:
4747

4848
The site also keeps old links working. Its earlier incarnation served
4949
unversioned trees such as `/ImageJ2/`, `/SciJava/` and `/ImgLib2/`; their
50-
front pages now redirect to the project's main component (e.g.
51-
`/ImgLib2/` → `/net.imglib2/imglib2/latest/`), and their class pages to the
52-
same class via a union (e.g. `/ImgLib2/net/imglib2/img/Img.html` →
50+
front pages now redirect to the project's named union, or else its main
51+
component (e.g. `/ImgLib2/` → `/org.scijava/pom-scijava/latest/net.imglib2/`),
52+
and their class pages to the same class via a union (e.g. `/ImgLib2/net/imglib2/img/Img.html` →
5353
`/org.scijava/pom-scijava/latest/net.imglib2/net/imglib2/img/Img.html`).
5454
`/Java{N}/` and `/JavaFX{N}/` proxy the JDK and JavaFX API docs. Projects
5555
whose javadoc lives elsewhere redirect there.

0 commit comments

Comments
 (0)