29a7669101
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 |
||
---|---|---|
.. | ||
basic.adoc | ||
dao-authentication-provider.adoc | ||
digest.adoc | ||
form.adoc | ||
in-memory.adoc | ||
index.adoc | ||
jdbc.adoc | ||
ldap.adoc | ||
password-encoder.adoc | ||
user-details-service.adoc | ||
user-details.adoc |