Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Specification Tools
Scripts
Commits
2e0270c6
Commit
2e0270c6
authored
1 year ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Remove "Home" title in the home page
parent
25981be1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec_on_pages.sh
+4
-0
4 additions, 0 deletions
spec_on_pages.sh
with
4 additions
and
0 deletions
spec_on_pages.sh
+
4
−
0
View file @
2e0270c6
...
@@ -45,6 +45,7 @@ mv ${9^^}/* docs/
...
@@ -45,6 +45,7 @@ mv ${9^^}/* docs/
sed
-i
's/'
${
9
^^
}
'\///g'
_nav.yml
sed
-i
's/'
${
9
^^
}
'\///g'
_nav.yml
cat
_nav.yml
>>
mkdocs.yml
cat
_nav.yml
>>
mkdocs.yml
cp
docs/0.md docs/index.md
cp
docs/0.md docs/index.md
echo
" - '': 'index.md'"
>>
mkdocs.yml
sed
-i
's/##PROJECT/'
${
9
^^
}
'/g'
mkdocs.yml
sed
-i
's/##PROJECT/'
${
9
^^
}
'/g'
mkdocs.yml
## Create download tab if official baseline version
## Create download tab if official baseline version
...
@@ -144,6 +145,7 @@ else
...
@@ -144,6 +145,7 @@ else
if
[
-n
"
${
isLatest
}
"
]
;
then
if
[
-n
"
${
isLatest
}
"
]
;
then
if
[
-n
"
${
previousVersion
}
"
]
;
then
if
[
-n
"
${
previousVersion
}
"
]
;
then
mike
alias
--deploy-prefix
public
-r
$HTTPS_REMOTE
--allow-empty
-p
-b
$PAGES_BRANCH
-u
${
previousVersion
}
${
latest
}
latest
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
else
# Look previous release (previous major version)
# Look previous release (previous major version)
majorVersion
=
$(
echo
$((
--
majorVersion
))
)
majorVersion
=
$(
echo
$((
--
majorVersion
))
)
...
@@ -152,6 +154,7 @@ else
...
@@ -152,6 +154,7 @@ else
echo
"Previous release version is
${
previousReleaseVersion
}
"
echo
"Previous release version is
${
previousReleaseVersion
}
"
if
[
-n
"
${
previousReleaseVersion
}
"
]
;
then
if
[
-n
"
${
previousReleaseVersion
}
"
]
;
then
mike
alias
--deploy-prefix
public
-r
$HTTPS_REMOTE
--allow-empty
-p
-b
$PAGES_BRANCH
-u
${
previousReleaseVersion
}
latest
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
else
echo
"Warning: No latest version assigned!!!"
echo
"Warning: No latest version assigned!!!"
fi
fi
...
@@ -159,6 +162,7 @@ else
...
@@ -159,6 +162,7 @@ else
elif
[
-n
"
${
isLatestRelease
}
"
]
;
then
elif
[
-n
"
${
isLatestRelease
}
"
]
;
then
if
[
-n
"
${
previousVersion
}
"
]
;
then
if
[
-n
"
${
previousVersion
}
"
]
;
then
mike
alias
--deploy-prefix
public
-r
$HTTPS_REMOTE
--allow-empty
-p
-b
$PAGES_BRANCH
-u
${
previousVersion
}
${
latest
}
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
else
echo
"Warning: no
${
latest
}
available!!"
echo
"Warning: no
${
latest
}
available!!"
fi
#Deal with moving down a release
fi
#Deal with moving down a release
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment