Rob Winch
|
2fb056b5c1
|
Merge Clean up Reference Documentation
Closes gh-9668
|
2021-12-13 16:57:36 -06:00 |
Josh Cummings
|
f02a7d2b28
|
Separate Testing Servlet Docs
Issue gh-10367
|
2021-10-29 12:34:29 -06:00 |
Rob Winch
|
7a99542662
|
Docs Use Section Summary where appropriate
Closes gh-10449
|
2021-10-28 14:02:38 -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
|
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
|
b8a362a60f
|
Remove include servlet/saml2/index.adoc
|
2021-09-23 15:47:20 -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 |