Josh Cummings
b4ffe154d7
Separate Testing Reactive Docs
...
Issue gh-10367
4 years ago
Rob Winch
14fd213557
Better consistency between reactive and servlet
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
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
Anthony Lofton
8cba9fbf9d
Updated test.adoc SecurityMockServerConfigurers method references
...
Updated all references to SecurityMockServerConfigurers to refer to
correct methods.
Added documentation for mockJwt to include the
SecurityMockServerConfigurers class.
4 years ago
Eleftheria Stein
da9d7414bd
Add remaining Kotlin samples to reference docs
...
Closes gh-8172
5 years ago
Eleftheria Stein
8bf970c805
Fix typos in WebFlux test docs
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
Josh Cummings
da05543ef6
Update OAuth 2.0 Client Testing Docs
...
Issue gh-8603
6 years ago
Josh Cummings
4ef37f289e
OAuth 2.0 Test Support Docs
...
- Added WebTestClient documentation
- Updated MockMvc documentation to align
Fixes gh-8050
6 years ago
Rob Winch
04b6096d19
Fix Asciidoctor Warnings
...
Issue gh-7801
6 years ago
Josh Cummings
7cbd1665a6
Isolate Jwt Test Support
...
Isolating Jwt test support inside JwtRequestPostProcessor and
JwtMutator.
Fixes gh-7641
6 years ago
Josh Cummings
29ed728a70
Add Jwt.Builder Link
...
Fixes gh-7407
6 years ago
Josh Cummings
f22fdf1bc0
Align OAuth Reactive/Servlet Resource Server Docs
...
Fixes gh-7430
Fixes gh-7425
Fixes gh-7460
6 years ago
Rob Winch
5b8d66e911
Extract Preface
...
Issue: gh-5836
7 years ago
Rob Winch
57359058dd
Separate Servlet and WebFlux
...
Fixes: gh-5836
7 years ago
Rob Winch
ae9075c023
Extract test subsections
...
Issue: gh-2567
8 years ago