diff --git a/hack/gendocs.sh b/hack/gendocs.sh index 0ec3e5660..89d3aad5a 100755 --- a/hack/gendocs.sh +++ b/hack/gendocs.sh @@ -44,23 +44,17 @@ for i in $output; do git clean -f . done +latest=${output/ *//} # generate simple HTML cat <${versiondir}/index.html - - -OpenShift Pipelines as Code versions Documentation - - -
-

Pipeline as Code versions Documentation

-EOF - -for i in $output; do - cat <>${versiondir}/index.html - ${i}
-EOF -done - -cat <>${versiondir}/index.html -
+ + + OpenShift Pipelines as Code versions Documentation + + + +

This page has moved to a + ./${latest}.

+ + EOF