File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ latest_path=""
88
99for version_file in " $versions_dir " /* .yml; do
1010 candidate=$( awk '
11- $1 == " path:" {
11+ /^ path:/ {
1212 path = $2
1313 gsub(/^"|"$/, "", path)
1414 }
15- $1 == " defaultVersion:" && $2 == "true" {
15+ /^ defaultVersion:/ && $2 == "true" {
1616 default_version = 1
1717 }
1818 END {
Original file line number Diff line number Diff line change 1818cat > " $versions_dir /1.5.0.Final.yml" << 'EOF '
1919path: "1_5_0_Final"
2020defaultVersion: true
21+ menu:
22+ - title: "Javadoc"
23+ path: "/apidocs/"
2124EOF
2225
2326" $script_dir /create-latest-alias.sh" " $versions_dir " " $site_dir "
Original file line number Diff line number Diff line change 44 pull_request :
55 paths :
66 - docs/**
7+ - .github/scripts/**
8+ - .github/workflows/check-site.yml
9+ - .github/workflows/deploy-site.yml
710
811jobs :
912 build :
1720 with :
1821 site-directory : ./docs/
1922 github-pages : ' false'
23+ site-url : https://a2aproject.github.io/a2a-java
2024 - name : Verify latest documentation alias
2125 run : |
2226 .github/scripts/create-latest-alias.sh docs/data/versions docs/target/roq
Original file line number Diff line number Diff line change 55 branches : [ main ] # Switch to the branch which should be deployed to GitHub Pages
66 paths :
77 - docs/**
8+ - .github/scripts/**
9+ - .github/workflows/deploy-site.yml
810 workflow_dispatch :
911
1012jobs :
You can’t perform that action at this time.
0 commit comments