Skip to content

Commit

Permalink
chore: update generation action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Mar 25, 2024
1 parent 91a6419 commit bf689c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
touch index.html
echo "<!DOCTYPE html><html><head><title>Expedia Group Rapid SDK Reference Documentation</title></head><body><h1>Expedia Group Rapid SDK Reference Documentation</h1><ul>" > index.html
for dir in $(ls -d */); do
if [ "$dir" == "${{ github.event.inputs.version }}/" ]; then
if [ "$dir" == "${{ github.event.inputs.version }}/" ] || [ "$dir" == "latest/" ]; then
echo "<li><a href=\"${dir}index.html\">${dir}</a></li>" >> index.html
echo "<li><a href=\"latest/index.html\">Latest (Version ${{ github.event.inputs.version }})</a></li>" >> index.html
continue
Expand Down

0 comments on commit bf689c2

Please sign in to comment.