Skip to content
Snippets Groups Projects
Commit 2e0270c6 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Remove "Home" title in the home page

parent 25981be1
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ mv ${9^^}/* docs/
sed -i 's/'${9^^}'\///g' _nav.yml
cat _nav.yml >> mkdocs.yml
cp docs/0.md docs/index.md
echo " - '': 'index.md'" >> mkdocs.yml
sed -i 's/##PROJECT/'${9^^}'/g' mkdocs.yml
## Create download tab if official baseline version
......@@ -144,6 +145,7 @@ else
if [ -n "${isLatest}" ]; then
if [ -n "${previousVersion}" ]; then
mike alias --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH -u ${previousVersion} ${latest} latest
mike props --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH --set hidden=false ${previousVersion}
else
# Look previous release (previous major version)
majorVersion=$(echo $((--majorVersion)))
......@@ -152,6 +154,7 @@ else
echo "Previous release version is ${previousReleaseVersion}"
if [ -n "${previousReleaseVersion}" ]; then
mike alias --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH -u ${previousReleaseVersion} latest
mike props --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH --set hidden=false ${previousReleaseVersion}
else
echo "Warning: No latest version assigned!!!"
fi
......@@ -159,6 +162,7 @@ else
elif [ -n "${isLatestRelease}" ]; then
if [ -n "${previousVersion}" ]; then
mike alias --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH -u ${previousVersion} ${latest}
mike props --deploy-prefix public -r $HTTPS_REMOTE --allow-empty -p -b $PAGES_BRANCH --set hidden=false ${previousVersion}
else
echo "Warning: no ${latest} available!!"
fi #Deal with moving down a release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment