Switch to GitHub Actions and update dependencies

This commit is contained in:
Dhinak G
2020-12-29 12:31:48 -05:00
parent 8d49b939d2
commit c0f0e1089e
12 changed files with 3652 additions and 1632 deletions

View File

@@ -3,20 +3,7 @@ const {
} = require('../package')
module.exports = {
/**
* Refhttps://v1.vuepress.vuejs.org/config/#title
*/
title: 'Getting Started With ACPI',
/**
* Refhttps://v1.vuepress.vuejs.org/config/#description
*/
description: description,
/**
* Extra tags to be injected to the page HTML `<head>`
*
* refhttps://v1.vuepress.vuejs.org/config/#head
*/
head: [
['meta', {
name: 'theme-color',
@@ -37,6 +24,22 @@ module.exports = {
],
base: '/Getting-Started-With-ACPI/',
watch: {
$page(newPage, oldPage) {
if (newPage.key !== oldPage.key) {
requestAnimationFrame(() => {
if (this.$route.hash) {
const element = document.getElementById(this.$route.hash.slice(1));
if (element && element.scrollIntoView) {
element.scrollIntoView();
}
}
});
}
}
},
markdown: {
extendMarkdown: md => {
md.use(require('markdown-it-multimd-table'), {
@@ -58,10 +61,9 @@ module.exports = {
themeConfig: {
lastUpdated: true,
repo: 'https://github.com/dortania/Getting-Started-With-ACPI',
editLinks: false,
docsDir: '',
editLinkText: '',
logo: '/homepage.png',
editLinks: true,
editLinkText: 'Help us improve this page!',
logo: 'homepage.png',
nav: [{
text: 'Dortania Guides',
ariaLabel: 'Language Menu',
@@ -91,12 +93,6 @@ module.exports = {
},
]
},
/*
{
text: 'Github',
link: 'https://github.com/dortania/OpenCore-Install-Guide'
}
*/
],
sidebar: [{
title: 'Introduction',