Rob Winch
39c43159f4
Convert to Asciidoctor Tabs
...
Closes gh-13403
3 years ago
jujunChen
13feb87171
Modify words
...
- <dependencyManagement> to dependencyManagement
- pom.xml to build.gradle
3 years ago
jujunChen
d93bde7465
Modify words
...
- <dependencyManagement> to dependencyManagement
- pom.xml to build.gradle
3 years ago
jujunChen
e3d85881e9
Modify words
...
- <dependencyManagement> to dependencyManagement
- pom.xml to build.gradle
3 years ago
Eleftheria Stein
a095ea75a2
Fix typo in getting started docs
...
Closes gh-10736
4 years ago
Eleftheria Stein
f465403a99
Fix typo in getting started docs
...
Closes gh-10736
4 years ago
Rob Winch
e681e44268
overview/ -> ../
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
Marcus Hert da Coregio
95a1ccb52c
Fix Broken Links in Docs
...
Closes gh-9869
5 years ago
Marcus Hert da Coregio
bbf5614a9c
Fix Broken Links in Docs
...
Closes gh-9869
5 years ago
Rob Winch
2909d46060
Fix Asciidoctor Warnings
...
Closes gh-7973
6 years ago
Rob Winch
2e2974fc13
Add Dependency Versions to Asciidoctor
...
Add dependency versions to asciidoctor and
spring-version -> spring-core-version
Issue gh-7801
6 years ago
ryenus
42ab6736e1
typo fix: consecutive-word duplications ( #7673 )
...
* fix typo: require require
* more typo fix: consecutive-word duplications
Following previously finding, I then used `rg` to find other similar
typos, with false positives manually excluded, using the following
command:
rg -t asciidoc -Pp '\b(\w+)\s+\1\b'
6 years ago
Rob Winch
08fb9c960b
Fix invalid ids
...
Issue gh-2567
6 years ago
Josh Cummings
71bbc9849e
URL Cleanup
...
Issue gh-2567
6 years ago
Josh Cummings
25b5f48884
Rewrite Preface
...
Issue gh-2567
Co-authored-by: Jay Bryant <jbryant@pivotal.io>
Co-authored-by: Rob Winch <rwinch@users.noreply.github.com>
6 years ago