Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
f3d197a9
Verified
Commit
f3d197a9
authored
6 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated docs
parent
a15e2766
No related branches found
No related tags found
1 merge request
!368
Dev
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docs/index.html.tpl
+3
-5
3 additions, 5 deletions
.docs/index.html.tpl
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
build-docs.sh
+1
-1
1 addition, 1 deletion
build-docs.sh
with
6 additions
and
7 deletions
.docs/
redirect
.html
→
.docs/
index
.html
.tpl
+
3
−
5
View file @
f3d197a9
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<!-- This file exists only once
in the final documentation -->
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
Redirect Notice
</title>
<title>
Redirect Notice
</title>
<meta
http-equiv=
"Refresh"
content=
"0; url='/infrastructures/dbrepo/
1.5
/'"
/>
<meta
http-equiv=
"Refresh"
content=
"0; url='/infrastructures/dbrepo/
$
{
DOC_VERSION
}
/'"
/>
</head>
</head>
<body>
<body>
<h1>
Redirect Notice
</h1>
<h1>
Redirect Notice
</h1>
<p>
<p>
This page should automatically open the documentation for version
<code>
1.5
</code>
. In case this page does not load the site is
This page should automatically open the documentation for version
<code>
$
{
DOC_VERSION
}
</code>
. In case this page does not load the site is
available at:
available at:
</p>
</p>
<p>
<p>
<a
href=
"/infrastructures/dbrepo/
1.5
/"
>
/infrastructures/dbrepo/
1.5
/
</a>
<a
href=
"/infrastructures/dbrepo/
$
{
DOC_VERSION
}
/"
>
/infrastructures/dbrepo/
$
{
DOC_VERSION
}
/
</a>
</p>
</p>
</body>
</body>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
1
View file @
f3d197a9
...
@@ -443,6 +443,7 @@ release-docs:
...
@@ -443,6 +443,7 @@ release-docs:
-
"
cp
-r
./site/*
./final/${DOC_VERSION}"
# mkdocs
-
"
cp
-r
./site/*
./final/${DOC_VERSION}"
# mkdocs
-
"
cp
.docker/dist.tar.gz
./final/${APP_VERSION}/dist.tar.gz"
# dist
-
"
cp
.docker/dist.tar.gz
./final/${APP_VERSION}/dist.tar.gz"
# dist
-
"
cp
.docs/redirect.html
./final/${APP_VERSION}/index.html"
# redirect patch docs
-
"
cp
.docs/redirect.html
./final/${APP_VERSION}/index.html"
# redirect patch docs
-
sed -i "s/\${DOC_VERSION}/${DOC_VERSION}/g" index.html
-
"
bash
./.gitlab/gen-badge.sh"
-
"
bash
./.gitlab/gen-badge.sh"
-
eval $(ssh-agent -s)
-
eval $(ssh-agent -s)
-
"
mkdir
-p
/root/.ssh"
-
"
mkdir
-p
/root/.ssh"
...
@@ -452,7 +453,7 @@ release-docs:
...
@@ -452,7 +453,7 @@ release-docs:
-
tar czf ./final.tar.gz ./final
-
tar czf ./final.tar.gz ./final
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
final.tar.gz
$CI_DOC_USER@$CI_DOC_IP:final.tar.gz"
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
final.tar.gz
$CI_DOC_USER@$CI_DOC_IP:final.tar.gz"
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
versions.json
$CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/versions.json"
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
versions.json
$CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/versions.json"
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
.docs/
redirect.htm
l
$CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/index.html"
-
"
scp
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
.docs/
index.html.tp
l
$CI_DOC_USER@$CI_DOC_IP:/system/user/ifs/infrastructures/public_html/dbrepo/index.html"
-
'
ssh
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
$CI_DOC_USER@$CI_DOC_IP
"rm
-rf
/system/user/ifs/infrastructures/public_html/dbrepo/${DOC_VERSION};
tar
xzf
./final.tar.gz;
rm
-f
./final.tar.gz;
cp
-r
./final/*
/system/user/ifs/infrastructures/public_html/dbrepo;
rm
-rf
./final"'
-
'
ssh
-oHostKeyAlgorithms=+ssh-rsa
-oPubkeyAcceptedAlgorithms=+ssh-rsa
$CI_DOC_USER@$CI_DOC_IP
"rm
-rf
/system/user/ifs/infrastructures/public_html/dbrepo/${DOC_VERSION};
tar
xzf
./final.tar.gz;
rm
-f
./final.tar.gz;
cp
-r
./final/*
/system/user/ifs/infrastructures/public_html/dbrepo;
rm
-rf
./final"'
release-libs
:
release-libs
:
...
...
This diff is collapsed.
Click to expand it.
build-docs.sh
+
1
−
1
View file @
f3d197a9
...
@@ -89,6 +89,6 @@ done
...
@@ -89,6 +89,6 @@ done
# finalization
# finalization
echo
"==================================================="
echo
"==================================================="
echo
"Moving HTML redirect and JSON versions to /"
echo
"Moving HTML redirect and JSON versions to /"
cp
./final/
${
APP_VERSION
}
/
redirect.htm
l ./final/index.html
cp
./final/
${
APP_VERSION
}
/
index.html.tp
l ./final/index.html
cp
./final/
${
APP_VERSION
}
/versions.json ./final/versions.json
cp
./final/
${
APP_VERSION
}
/versions.json ./final/versions.json
echo
"==================================================="
echo
"==================================================="
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