spring-security/docs/modules/ROOT/pages/servlet/authentication
Rob Winch 29a7669101 rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do
echo "Replacing $adoc_file_to_replace"
  for id_file in build/ids/*.id; do
    id=$(basename $id_file | sed 's/\.id$//')
    xref_page=$(cat $id_file)
    if [[ "$adoc_file_to_replace" -ef "./docs/modules/ROOT/pages/$xref_page" ]]
    then
      echo "  - Skipping same page refid $id "
    else
      text_file=$(echo $id_file | sed 's/\.id$/.text/')
      default_text=$(cat $text_file)
      sed -i -E "s%xref:${xref_page}#${id}\[\]%xref:${xref_page}#${id}[$default_text]%g" $adoc_file_to_replace
    fi
  done
done
2021-09-23 15:49:45 -05:00
..
architecture rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do 2021-09-23 15:49:45 -05:00
unpwd rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do 2021-09-23 15:49:45 -05:00
anonymous.adoc mkdir -p build/ids 2021-09-23 15:49:43 -05:00
cas.adoc mkdir -p build/ids 2021-09-23 15:49:43 -05:00
events.adoc Remove include servlet/saml2/index.adoc 2021-09-23 15:47:20 -05:00
index.adoc rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do 2021-09-23 15:49:45 -05:00
jaas.adoc mkdir -p build/ids 2021-09-23 15:49:43 -05:00
logout.adoc rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do 2021-09-23 15:49:45 -05:00
openid.adoc rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.adoc" | while read adoc_file_to_replace; do 2021-09-23 15:49:45 -05:00
preauth.adoc mkdir -p build/ids 2021-09-23 15:49:43 -05:00
rememberme.adoc mkdir -p build/ids 2021-09-23 15:49:43 -05:00
runas.adoc Remove include servlet/saml2/index.adoc 2021-09-23 15:47:20 -05:00
session-management.adoc Remove include servlet/saml2/index.adoc 2021-09-23 15:47:20 -05:00
x509.adoc Remove include servlet/saml2/index.adoc 2021-09-23 15:47:20 -05:00