Files
Getting-Started-With-ACPI/.vuepress/config.js
Mykola Grymalyuk 0ebecf73f7 Rename desktop repo
2020-07-17 17:11:46 -06:00

278 lines
7.8 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const {
description
} = 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',
content: '#3eaf7c'
}],
['meta', {
name: 'apple-mobile-web-app-capable',
content: 'yes'
}],
['meta', {
name: 'apple-mobile-web-app-status-bar-style',
content: 'black'
}],
["link", {
rel: "'stylesheet",
href: "/styles/website.css"
},]
],
base: '/Getting-Started-With-ACPI/',
markdown: {
extendMarkdown: md => {
md.use(require('markdown-it-multimd-table'), {
rowspan: true,
});
}
},
/**
* Theme configuration, here is the default theme configuration for VuePress.
*
* refhttps://v1.vuepress.vuejs.org/theme/default-theme-config.html
*/
theme: 'vuepress-theme-succinct',
globalUIComponents: [
'ThemeManager'
],
themeConfig: {
lastUpdated: true,
repo: 'https://github.com/dortania/Getting-Started-With-ACPI',
editLinks: false,
docsDir: '',
editLinkText: '',
logo: '/homepage.png',
nav: [{
text: 'Dortania Guides',
ariaLabel: 'Language Menu',
items: [{
text: 'Home Site',
link: 'https://dortania.github.io/'
},
{
text: 'OpenCore Install Guide',
link: 'https://dortania.github.io/OpenCore-Install-Guide/'
},
{
text: 'OpenCore Post-Install',
link: 'https://dortania.github.io/OpenCore-Post-Install/'
},
{
text: 'Wireless Buyers Guide',
link: 'https://dortania.github.io/Wireless-Buyers-Guide/'
},
{
text: 'GPU Buyers Guide',
link: 'https://dortania.github.io/GPU-Buyers-Guide/'
},
{
text: 'Anti Buyers Guide',
link: 'https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/'
},
]
},
/*
{
text: 'Github',
link: 'https://github.com/dortania/OpenCore-Install-Guide'
}
*/
],
sidebar: [{
title: 'Introduction',
collapsable: false,
sidebarDepth: 1,
children: [
['', 'Getting Started With ACPI'],
['ssdt-platform', 'Choosing the SSDTs'],
]
},
{
title: 'Methods',
collapsable: false,
sidebarDepth: 2,
children: [
'/ssdt-methods/ssdt-methods',
{
title: 'Methods',
collapsable: false,
sidebarDepth: 2,
children: [
'/ssdt-methods/ssdt-prebuilt',
'/ssdt-methods/ssdt-easy',
'/ssdt-methods/ssdt-long',
]
},
]
},
{
title: 'Manual',
collapsable: false,
sidebarDepth: 1,
children: [
'/Manual/dump',
'/Manual/compile',
]
},
{
title: 'Desktop',
collapsable: false,
sidebarDepth: 1,
children: [
['/Desktops/desktop-disable', 'Disabling desktop dGPUs'],
]
},
{
title: 'Laptop',
collapsable: false,
sidebarDepth: 0,
children: [
['/Laptops/backlight', 'Fixing Backlight'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Laptops/backlight-methods/prebuilt', 'Prebuilt'],
['/Laptops/backlight-methods/manual', 'Manual'],
]
},
['/Laptops/trackpad', 'Fixing Trackpad'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Laptops/trackpad-methods/prebuilt', 'Prebuilt'],
['/Laptops/trackpad-methods/manual', 'Manual'],
]
},
['/Laptops/laptop-disable', 'Disabling laptop dGPUs'],
]
},
{
title: 'Universal',
collapsable: false,
sidebarDepth: 0,
children: [
['/Universal/ec-fix', 'Embedded Controller'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/ec-methods/prebuilt', 'Prebuilt'],
['/Universal/ec-methods/ssdttime', 'SSDTTime'],
['/Universal/ec-methods/manual', 'Manual'],
]
},
['/Universal/plug', 'CPU Power Management'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/plug-methods/prebuilt', 'Prebuilt'],
['/Universal/plug-methods/ssdttime', 'SSDTTime'],
['/Universal/plug-methods/manual', 'Manual'],
]
},
['/Universal/awac', 'AWAC vs RTC'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/awac-methods/prebuilt', 'Prebuilt'],
['/Universal/awac-methods/manual', 'Manual'],
]
},
['/Universal/nvram', 'NVRAM PMC'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/nvram-methods/prebuilt', 'Prebuilt'],
['/Universal/nvram-methods/manual', 'Manual'],
]
},
['/Universal/rhub', 'USB RHUB'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/rhub-methods/prebuilt', 'Prebuilt'],
['/Universal/rhub-methods/manual', 'Manual'],
]
},
['/Universal/smbus', 'Fixing SMBus Support'],
{
title: 'Methods',
collapsable: true,
sidebarDepth: 2,
children: [
['/Universal/smbus-methods/manual', 'Manual'],
]
},
['/Universal/irq', 'IRQ Fix'],
['/Universal/spoof', 'GPU Spoof'],
]
},
{
title: 'Cleanup',
collapsable: false,
sidebarDepth: 1,
children: [
['cleanup', 'Cleanup'],
]
},
{
title: 'Misc',
collapsable: false,
sidebarDepth: 1,
children: [
['troubleshooting', 'Troubleshooting'],
['CONTRIBUTING', 'Contributing'],
]
},
],
},
/**
* Apply pluginsrefhttps://v1.vuepress.vuejs.org/zh/plugin/
*/
plugins: [
'@vuepress/plugin-back-to-top',
'vuepress-plugin-smooth-scroll',
['vuepress-plugin-medium-zoom',
{
selector: "img",
options: {
background: 'var(--bodyBgColor)'
}
}],
]
}