Josh Cummings
b4ffe154d7
Separate Testing Reactive Docs
...
Issue gh-10367
2021-10-29 10:09:04 -06:00
Joe Grandja
b77cb8d0cb
Remove redundant docs for Reactive OAuth2 Client
...
Issue gh-10373
2021-10-28 09:23:32 -04:00
Joe Grandja
ce09f3eff4
Polish gh-10373
2021-10-28 09:06:30 -04:00
Josh Cummings
4b0e74aac4
Separate Resource Server Servlet Docs
...
Issue gh-10367
2021-10-27 10:02:05 -06:00
Rob Winch
d40e8f6732
Fix Antora warnings
2021-10-26 20:05:06 -05:00
Steve Riesenberg
47087ba9c5
Revamp OAuth 2.0 Client reactive documentation
...
Related gh-8174
2021-10-14 14:35:25 -05:00
Alexander Schwartz
f561499683
Fix Antora cross-references that lead to other pages.
...
Also using AsciiDoc style listings instead of Markdown style listings, and using explicit section IDs on all cross-references.
2021-10-06 09:53:15 -06:00
Rob Winch
14fd213557
Better consistency between reactive and servlet
2021-09-23 15:50:14 -05:00
Rob Winch
0d339aeda6
Add Reactive Getting Started Page
2021-09-23 15:50:14 -05:00
Rob Winch
e681e44268
overview/ -> ../
2021-09-23 15:50:11 -05:00
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
2021-09-23 15:49:45 -05:00
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
2021-09-23 15:49:43 -05:00
Rob Winch
f5274926cf
Fix up reactive/oauth2/index.adoc links
2021-09-23 15:47:21 -05:00
Rob Winch
c3dfb1711d
Remove includes
2021-09-23 15:45:22 -05:00
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
2021-09-23 15:45:22 -05:00