change links to point to main repo, configure vuepress deployment
This commit is contained in:
parent
4a4631a216
commit
7f4ec5b4d0
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
}]
|
||||
],
|
||||
port: 3030,
|
||||
base: '/docs/',
|
||||
base: '/edu-dis-labs/',
|
||||
theme: 'cool',
|
||||
// dest: 'dist',
|
||||
head: [
|
||||
|
@ -74,10 +74,10 @@ module.exports = {
|
|||
|
||||
lastUpdated: 'Останнє оновлення', // string | boolean
|
||||
// Assumes GitHub. Can also be a full GitLab url.
|
||||
repo: 'https://github.com/boldak/edu-dis-labs',
|
||||
repo: 'http://139.162.162.130:3000/hasslesstech/edu-dis-labs',
|
||||
// Customising the header label
|
||||
// Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo`
|
||||
repoLabel: 'Github',
|
||||
repoLabel: 'Gitea',
|
||||
|
||||
// Optional options for generating "Edit this page" link
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "2.1.0",
|
||||
"main": "index.js",
|
||||
"description": "Databases course work template",
|
||||
"repository": "https://github.com/boldak/dis-edu",
|
||||
"repository": "http://139.162.162.130:3000/hasslesstech/edu-dis-labs",
|
||||
"author": "Andrey Boldak <boldak.andrey@gmail.com>",
|
||||
"license": "ECL 2.0",
|
||||
"scripts": {
|
||||
|
@ -23,5 +23,4 @@
|
|||
"jest": "^27.1.0",
|
||||
"jsdoc-to-markdown": "^7.0.1"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -14,12 +14,12 @@ cd docs/.vuepress/dist
|
|||
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
git commit -m '[automated]: pushing regenerated documentation'
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io
|
||||
# git push -f git@github.com:boldak/<USERNAME>.github.io.git master
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||
git push -f https://github.com/boldak/dis-edu.git master:gh-pages
|
||||
git push -f http://10.1.1.1:3000/hasslesstech/edu-dis-labs master:gh-pages
|
||||
|
||||
cd -
|
||||
|
|
Loading…
Reference in New Issue