Describe the bug
Some links in the reference documentation are broken. The {security-api-url} AsciiDoc attribute generates URLs that don't resolve to the actual Javadoc location.
For example, in docs/module/ROOT/pages/servlet/oauth2/authorization-server/getting-started.adoc:
<7> An instance of {security-api-url}/org/springframework/security/oauth2/jwt/JwtDecoder.htmlJwtDecoder for decoding signed access tokens.
This creates: https://docs.spring.io/spring-security/site/docs/7.0.5/api//org/springframework/security/oauth2/jwt/JwtDecoder.html
But 7.0.5 doesn't exist under https://docs.spring.io/spring-security/site/docs — only 7.0.x does.
To Reproduce
- Go to https://docs.spring.io/spring-security/reference/servlet/oauth2/authorization-server/getting-started.html#oauth2AuthorizationServer-defining-required-components
- Click a Javadoc link like
JwtDecoder (item 7)
- This navigates to
https://docs.spring.io/spring-security/site/docs/7.0.5/api//org/springframework/security/oauth2/jwt/JwtDecoder.html and returns 404
Expected behavior
The link should resolve to an existing Javadoc page.
Additional notes
- The URL contains a double slash:
api//org/. The attribute security-api-url already ends with / and the AsciiDoc pattern adds another /.
Describe the bug
Some links in the reference documentation are broken. The
{security-api-url}AsciiDoc attribute generates URLs that don't resolve to the actual Javadoc location.For example, in
docs/module/ROOT/pages/servlet/oauth2/authorization-server/getting-started.adoc:<7> An instance of {security-api-url}/org/springframework/security/oauth2/jwt/JwtDecoder.htmlJwtDecoder for decoding signed access tokens.
This creates:
https://docs.spring.io/spring-security/site/docs/7.0.5/api//org/springframework/security/oauth2/jwt/JwtDecoder.htmlBut
7.0.5doesn't exist underhttps://docs.spring.io/spring-security/site/docs— only7.0.xdoes.To Reproduce
JwtDecoder(item 7)https://docs.spring.io/spring-security/site/docs/7.0.5/api//org/springframework/security/oauth2/jwt/JwtDecoder.htmland returns 404Expected behavior
The link should resolve to an existing Javadoc page.
Additional notes
api//org/. The attributesecurity-api-urlalready ends with/and the AsciiDoc pattern adds another/.