spring-security/docs/modules/ROOT/pages
Rob Winch a7f3f54a33 architecture/index.adoc -> ../architecture.adoc
BASE_DIR=docs/modules/ROOT/pages

git --no-pager diff HEAD~1 --diff-filter=R -M | sed -Ez "s%(\nrename to|rename from |similarity index [^\n]+|diff[^\n]+|$BASE_DIR/)%%g" | grep "\S" | while read rename_from_to; do
  from=$(echo $rename_from_to | cut -f 1 -d " ")
  to=$(echo $rename_from_to | cut -f 2 -d " ")
  echo "processing rename from $from to $to"
  find "$BASE_DIR/../" -name "*.adoc" | while read adoc_file; do
    sed -i -E "s%xref:$from%xref:$to%g" "$adoc_file"
  done
done
2021-09-23 15:50:14 -05:00
..
features overview/ -> ../ 2021-09-23 15:50:11 -05:00
reactive overview/ -> ../ 2021-09-23 15:50:11 -05:00
servlet architecture/index.adoc -> ../architecture.adoc 2021-09-23 15:50:14 -05:00
community.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
getting-spring-security.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
index.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
modules.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
prerequisites.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
samples.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00
whats-new.adoc overview/ -> ../ 2021-09-23 15:50:11 -05:00