Rob Winch
39c43159f4
Convert to Asciidoctor Tabs
...
Closes gh-13403
3 years ago
Marcus Da Coregio
2d52fb8e4b
Clear Repository on Logout
3 years ago
Marcus Da Coregio
eb58655fa9
Improve Docs by mentioning that Empty SecurityContext should be saved
...
Closes gh-12906
3 years ago
he1ex-tG
568277f8bc
Mistake in Kotlin code representation is fixed
3 years ago
Eleftheria Stein
4492e5b667
Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs
...
Closes gh-10003
4 years ago
Josh Cummings
76ebbb84f7
Separate Namespace Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
f02a7d2b28
Separate Testing Servlet Docs
...
Issue gh-10367
4 years ago
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
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
Dmitriy Bogdanov
af4cc03dec
Fix some typos and mistakes in docs
4 years ago
Eleftheria Stein
0bdf6859be
Add Kotlin logout samples to docs
...
Issue gh-8172
6 years ago
Rob Winch
4d8d95163f
Polish Invalid === in Docs
6 years ago
Eleftheria Stein
1e33627d87
Use standard lambda syntax in documentation
...
Fixes: gh-7774
6 years ago
Rob Winch
08fb9c960b
Fix invalid ids
...
Issue gh-2567
6 years ago
Josh Cummings
4fa1d08e20
Restructure Docs
...
Issue gh-5935
6 years ago