For each release, three manual steps are necessary to keep schema XSD links up to date on the docs server:

  1. Copy the spring-security-oauth schema files into the current release directory, e.g.
cd /var/www/domains/spring.io/docs/htdocs/autorepo/schema/spring-security
cp 5.5.0/security/spring-security-oauth-* 5.6.0/security/
  1. Symlink the highest-versioned XSD to spring-security.xsd, e.g.
ln -s spring-security-5.6.0.xsd 5.6.0/security/spring-security.xsd
  1. Symlink the current release to the current directory, e.g.
ln -sfn 5.6.0 current

Comment From: sakshi2207

Hi @jzheaux can I use sh/bash file for this automation.

Comment From: ghost

Hi @jzheaux , could you tell more about what language would you like to have it automated in and how should it be triggered?