Rob Winch
77dc3d1a0e
Move to servlet/configurations/*
4 years ago
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
4 years ago
Rob Winch
0b587dcef1
Reduce folders
4 years ago
Rob Winch
1f90df6a14
mkdir -p build/ids
...
find -name "*.adoc" | xargs -I{file} awk -v file={file} '/\[\[/ { gsub("\[|\]", ""); id=$0; gsub("./docs/modules/ROOT/pages/", "", file); gsub("\[|\]", ""); id=$0;getline;text=$0; sub("^=+ ","", text); print file > "build/ids/"id".id"; print text > "build/ids/"id".text" }' {file}
find docs/modules -name "*.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
sed -i -E "s%<<$id(|,([^,>]+))>>%xref:${xref_page}#${id}[\2]%g" $adoc_file_to_replace
fi
done
done
4 years ago
Rob Winch
b8a362a60f
Remove include servlet/saml2/index.adoc
4 years ago
Rob Winch
f01a13aa52
Antora
...
mkdir -p docs/modules/ROOT/
mkdir -p docs/modules/ROOT/pages/
git checkout antora-2.x docs/antora.yml
git checkout antora-2.x docs/modules/ROOT/nav.adoc
mv docs/manual/src/docs/asciidoc/images docs/modules/ROOT/
mv docs/manual/src/docs/asciidoc/_includes/* docs/modules/ROOT/pages/
cp ~/code/rwinch/spring-reference/*antora* ~/code/spring-projects/spring-security/
mv docs/modules/ROOT/pages/about docs/modules/ROOT/pages/overview
4 years ago
Marcus Da Coregio
f9a7ae0a6f
Update links to point to migrated samples
...
Closes gh-9816
5 years ago
Marcus Da Coregio
0aa93b18d6
Update links to point to migrated samples
...
Closes gh-9816
5 years ago
Jay Bryant
7171521b47
Further changes based on feedback
...
Mostly restoring the formatting of admonitions.
5 years ago
Jay Bryant
9219cbf9d1
Editing pass
...
I went through everything to get it to fit with Spring's docuemntation standard.
Lots of small changes for punctuation, grammar, usage, voice, and so on.
Also added some links, mostly to the API Javadoc.
5 years ago
Eleftheria Stein
018cbfa93f
Add preauth Kotlin samples to docs
...
Issue gh-8172
6 years ago
Rob Winch
4f25641ee4
Polish Authentication
6 years ago
Rob Winch
562c1d939e
Remove Duplicated Docs
6 years ago
Josh Cummings
4fa1d08e20
Restructure Docs
...
Issue gh-5935
6 years ago
Rob Winch
57359058dd
Separate Servlet and WebFlux
...
Fixes: gh-5836
7 years ago
Rob Winch
780e6aefd2
Extract additional-topics subsections
...
Issue: gh-2567
8 years ago