forked from hasslesstech/edu-dis-labs
		
	Merge pull request 'Change links to point to main repo, configure vuepress deployment' (#1) from shmuliar into master
Reviewed-on: hasslesstech/edu-dis-labs#1
This commit is contained in:
		
						commit
						54a3acb9de
					
				@ -15,7 +15,7 @@ module.exports = {
 | 
				
			|||||||
    }]
 | 
					    }]
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  port: 3030,
 | 
					  port: 3030,
 | 
				
			||||||
  base: '/docs/',
 | 
					  base: '/edu-dis-labs/',
 | 
				
			||||||
  theme: 'cool',
 | 
					  theme: 'cool',
 | 
				
			||||||
  // dest: 'dist',
 | 
					  // dest: 'dist',
 | 
				
			||||||
  head: [
 | 
					  head: [
 | 
				
			||||||
@ -74,10 +74,10 @@ module.exports = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    lastUpdated: 'Останнє оновлення', // string | boolean
 | 
					    lastUpdated: 'Останнє оновлення', // string | boolean
 | 
				
			||||||
      // Assumes GitHub. Can also be a full GitLab url.
 | 
					      // 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
 | 
					    // Customising the header label
 | 
				
			||||||
    // Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo`
 | 
					    // Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo`
 | 
				
			||||||
    repoLabel: 'Github',
 | 
					    repoLabel: 'Gitea',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Optional options for generating "Edit this page" link
 | 
					    // Optional options for generating "Edit this page" link
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -110,4 +110,4 @@ module.exports = {
 | 
				
			|||||||
      md.use(require('markdown-it-admonition'))
 | 
					      md.use(require('markdown-it-admonition'))
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -3,11 +3,11 @@
 | 
				
			|||||||
  "version": "2.1.0",
 | 
					  "version": "2.1.0",
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "description": "Databases course work template",
 | 
					  "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>",
 | 
					  "author": "Andrey Boldak <boldak.andrey@gmail.com>",
 | 
				
			||||||
  "license": "ECL 2.0",
 | 
					  "license": "ECL 2.0",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "test":"jest",
 | 
					    "test": "jest",
 | 
				
			||||||
    "docs:api": "jsdoc2md  src/**/*.js  > docs/api/README.md",
 | 
					    "docs:api": "jsdoc2md  src/**/*.js  > docs/api/README.md",
 | 
				
			||||||
    "docs:dev": "npm run docs:api && npx vuepress dev docs",
 | 
					    "docs:dev": "npm run docs:api && npx vuepress dev docs",
 | 
				
			||||||
    "docs:build": "npm run docs:api && npx vuepress build docs",
 | 
					    "docs:build": "npm run docs:api && npx vuepress build docs",
 | 
				
			||||||
@ -23,5 +23,4 @@
 | 
				
			|||||||
    "jest": "^27.1.0",
 | 
					    "jest": "^27.1.0",
 | 
				
			||||||
    "jsdoc-to-markdown": "^7.0.1"
 | 
					    "jsdoc-to-markdown": "^7.0.1"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								publish.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										4
									
								
								publish.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -14,12 +14,12 @@ cd docs/.vuepress/dist
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
git init
 | 
					git init
 | 
				
			||||||
git add -A
 | 
					git add -A
 | 
				
			||||||
git commit -m 'deploy'
 | 
					git commit -m '[automated]: pushing regenerated documentation'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if you are deploying to https://<USERNAME>.github.io
 | 
					# if you are deploying to https://<USERNAME>.github.io
 | 
				
			||||||
# git push -f git@github.com:boldak/<USERNAME>.github.io.git master
 | 
					# git push -f git@github.com:boldak/<USERNAME>.github.io.git master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
 | 
					# 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 -
 | 
					cd -
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user