Josh Cummings
|
812d6f7b18
|
Use authorizeHttpRequests in Docs
Issue gh-8900
|
2021-11-10 16:08:57 -07:00 |
Josh Cummings
|
3db13de1e2
|
Separate OAuth 2.0 Login Servlet Docs
Issue gh-10367
|
2021-11-04 11:55:53 -06:00 |
Josh Cummings
|
11aa02c6fb
|
Separate SAML 2.0 Login Docs
Issue gh-10367
|
2021-10-29 15:06:54 -06:00 |
Josh Cummings
|
f39d272a86
|
Separate SAML Docs
Issue gh-10367
|
2021-10-29 11:30:41 -06: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
|
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
|
2021-09-23 15:50:14 -05:00 |
Rob Winch
|
583761f916
|
unpwd->passwords folder
|
2021-09-23 15:50:14 -05:00 |
Rob Winch
|
0b587dcef1
|
Reduce folders
|
2021-09-23 15:50:13 -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
|
d2affef356
|
Fix images
- Move images into assets/
- Remove figures form antora.yml
- Add :figures: to each page that uses it
|
2021-09-23 15:47:21 -05:00 |
Rob Winch
|
b8a362a60f
|
Remove include servlet/saml2/index.adoc
|
2021-09-23 15:47:20 -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 |