Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide Restoration #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_book/
node_modules/
.vscode/
.DS_Store
.vuepress/dist
.vuepress/.config.js.swp
package-lock.json
yarn-error.log
309 changes: 309 additions & 0 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
const {
description
} = require('../package')

module.exports = {
title: 'OpenCore Install Guide',
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: '/OpenCore-Install-Guide/',

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'), {
rowspan: true,
});
}
},

theme: 'vuepress-theme-succinct',
globalUIComponents: [
'ThemeManager'
],

themeConfig: {
lastUpdated: true,
repo: 'https://github.com/dortania/OpenCore-Install-Guide',
editLinks: true,
editLinkText: 'Help us improve this page!',
logo: '/homepage.png',
nav: [{
text: 'Dortania Guides',
items: [{
text: 'Home Site',
link: 'https://dortania.github.io/'
},
{
text: 'Getting Started With ACPI',
link: 'https://dortania.github.io/Getting-Started-With-ACPI/'
},
{
text: 'OpenCore Post-Install',
link: 'https://dortania.github.io/OpenCore-Post-Install/'
},
{
text: 'OpenCore Multiboot',
link: 'https://dortania.github.io/OpenCore-Multiboot/'
},
{
text: 'GPU Buyers Guide',
link: 'https://dortania.github.io/GPU-Buyers-Guide/'
},
{
text: 'Wireless Buyers Guide',
link: 'https://dortania.github.io/Wireless-Buyers-Guide/'
},
{
text: 'Anti Buyers Guide',
link: 'https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/'
},
]
},
],
sidebar: [{
title: 'Introduction',
collapsable: false,
sidebarDepth: 1,
children: [
'prerequisites',
'macos-limits',
'find-hardware',
'terminology',
'why-oc',
]
},
{
title: 'USB Creation',
collapsable: false,
sidebarDepth: 2,
children: [{
title: 'Creating the USB',
collapsable: true,
path: '/installer-guide/',
sidebarDepth: 1,
children: [
'/installer-guide/mac-install',
'/installer-guide/windows-install',
'/installer-guide/linux-install',
],
},
'/installer-guide/opencore-efi',
'ktext',
['https://dortania.github.io/Getting-Started-With-ACPI/', 'Getting started with ACPI'],
'/config.plist/',
]
},
{
title: 'Configs',
collapsable: false,
children: [{
title: 'Intel Desktop config.plist',
collapsable: true,
sidebarDepth: 1,
children: [
['/config.plist/penryn', 'Penryn'],
['/config.plist/clarkdale', 'Clarkdale'],
['/config.plist/sandy-bridge', 'Sandy Bridge'],
['/config.plist/ivy-bridge', 'Ivy Bridge'],
['/config.plist/haswell', 'Haswell'],
['/config.plist/skylake', 'Skylake'],
['/config.plist/kaby-lake', 'Kaby Lake'],
['/config.plist/coffee-lake', 'Coffee Lake'],
['/config.plist/comet-lake', 'Comet Lake'],
]
},
{
title: 'Intel Laptop config.plist',
collapsable: true,
sidebarDepth: 1,
children: [
['/config-laptop.plist/arrandale', 'Arrandale'],
['/config-laptop.plist/sandy-bridge', 'Sandy Bridge'],
['/config-laptop.plist/ivy-bridge', 'Ivy Bridge'],
['/config-laptop.plist/haswell', 'Haswell'],
['/config-laptop.plist/broadwell', 'Broadwell'],
['/config-laptop.plist/skylake', 'Skylake'],
['/config-laptop.plist/kaby-lake', 'Kaby Lake'],
['/config-laptop.plist/coffee-lake', 'Coffee Lake and Whiskey Lake'],
['/config-laptop.plist/coffee-lake-plus', 'Coffee Lake Plus and Comet Lake'],
['/config-laptop.plist/icelake', 'Ice Lake'],
]
},
{
title: 'Intel HEDT config.plist',
collapsable: true,
sidebarDepth: 1,
children: [
'/config-HEDT/nehalem',
'/config-HEDT/ivy-bridge-e',
'/config-HEDT/haswell-e',
'/config-HEDT/broadwell-e',
'/config-HEDT/skylake-x',
]
},
{
title: 'AMD Desktop config.plist',
collapsable: true,
sidebarDepth: 1,
children: [
'/AMD/fx',
'/AMD/zen',
]
},
['/config.plist/security', 'Apple Secure Boot']
]
},
{
title: 'Installation',
collapsable: false,
children: [
'/installation/installation-process',

]
},
{
title: 'Troubleshooting',
collapsable: false,
children: [
'/troubleshooting/troubleshooting',
{
title: '',
collapsable: false,
children: [
'/troubleshooting/extended/opencore-issues',
'/troubleshooting/extended/kernel-issues',
'/troubleshooting/extended/userspace-issues',
'/troubleshooting/extended/post-issues',
'/troubleshooting/extended/misc-issues',

]
},
'/troubleshooting/debug',
'/troubleshooting/boot',
'/troubleshooting/kernel-debugging',
]
},
{
title: 'Post Install',
collapsable: false,
children: [
['https://dortania.github.io/OpenCore-Post-Install/', 'Post-Install'],
{
title: 'Universal',
collapsable: true,
sidebarDepth: 1,
children: [
['https://dortania.github.io/OpenCore-Post-Install/universal/security', 'Security and FileVault'],
['https://dortania.github.io/OpenCore-Post-Install/universal/audio', 'Fixing Audio'],
['https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd', 'Booting without USB'],
['https://dortania.github.io/OpenCore-Post-Install/universal/update', 'Updating OpenCore, kexts and macOS'],
['https://dortania.github.io/OpenCore-Post-Install/universal/drm', 'Fixing DRM'],
['https://dortania.github.io/OpenCore-Post-Install/universal/iservices', 'Fixing iServices'],
['https://dortania.github.io/OpenCore-Post-Install/universal/pm', 'Fixing Power Management'],
['https://dortania.github.io/OpenCore-Post-Install/universal/sleep', 'Fixing Sleep'],
['https://dortania.github.io/OpenCore-Post-Install/usb/', 'Fixing USB'],
]
},
{
title: 'Laptop Specifics',
collapsable: true,
children: [
['https://dortania.github.io/OpenCore-Post-Install/laptop-specific/battery', 'Fixing Battery Read-outs'],

]
},
{
title: 'Cosmetics',
collapsable: true,
children: [
['https://dortania.github.io/OpenCore-Post-Install/cosmetic/verbose', 'Fixing Resolution and Verbose'],
['https://dortania.github.io/OpenCore-Post-Install/cosmetic/gui', 'Add GUI and Boot-chime'],
]
},
{
title: 'Multiboot',
collapsable: true,
children: [
['https://dortania.github.io/OpenCore-Multiboot/', 'OpenCore Multiboot'],
['https://dortania.github.io/OpenCore-Post-Install/multiboot/bootstrap', 'Setting up LauncherOption'],
['https://dortania.github.io/OpenCore-Post-Install/multiboot/bootcamp', 'Installing BootCamp'],
]
},
{
title: 'Miscellaneous',
collapsable: true,
children: [
['https://dortania.github.io/OpenCore-Post-Install/misc/rtc', 'Fixing RTC'],
['https://dortania.github.io/OpenCore-Post-Install/misc/msr-lock', 'Fixing CFG Lock'],
['https://dortania.github.io/OpenCore-Post-Install/misc/nvram', 'Emulated NVRAM'],
]
},
]
},
{
title: 'Extras',
collapsable: false,
sidebarDepth: 2,
children: [
'/extras/kaslr-fix',
'/extras/spoof',
'/extras/ventura',
['https://github.com/dortania/OpenCore-Install-Guide/tree/master/clover-conversion', 'Clover Conversion'],
'/extras/smbios-support.md',
]
},
{
title: 'Misc',
collapsable: false,
children: [
'CONTRIBUTING',
'/misc/credit',
]
},
],
},
plugins: [
'@vuepress/back-to-top',
'vuepress-plugin-smooth-scroll',
'vuepress-plugin-fulltext-search',
['@vuepress/medium-zoom',
{
selector: ".theme-succinct-content :not(a) > img",
options: {
background: 'var(--bodyBgColor)'
}
}],
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .vuepress/public/dortania-logo-clear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .vuepress/public/favicon.ico
Binary file not shown.
Binary file added .vuepress/public/homepage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions .vuepress/styles/index.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/**
* Custom Styles here.
*
* ref:https://v1.vuepress.vuejs.org/config/#index-styl
*/

[data-theme='light']
--sideBgColor $sideBgColor

[data-theme='dark']
--sideBgColor $sideBgColorDark
--dropShadowColor $dropShadowColor

.home .hero img
max-width 450px!important

.navbar
filter drop-shadow(0px 1px 1px var(--dropShadowColor))

.sidebar
background-color var(--sideBgColor)

div[class*="language-"]
pre, pre[class*="language-"]
margin-top 0

html {
overflow-y: scroll;
overflow-x: hidden;
background-color: unset;
}
::-webkit-scrollbar {
width 0px
background transparent /* make scrollbar transparent */
}

tr
&:nth-child(1n)
background-color var(--bodyBgColor)
&:nth-child(2n)
background-color var(--sideBgColor)



.dropdown-wrapper .nav-dropdown
border 1px solid var(--sideBgColor)!important
background-color var(--sideBgColor)!important
box-shadow 0px 0px 2px var(--bodyBgColor)
right -12%!important


@media (min-width: 1000px)
.theme-succinct-content:not(.custom)
max-width 70%

.search-box .suggestion a .suggestion-row .page-title
border-color var(--borderColor) !important
background-color: var(--sideBgColor) !important

.search-box .suggestion a .suggestion-row .suggestion-content
border-color var(--borderColor) !important

.search-box .suggestion a .parent-page-title
background-color: var(--bodyBgColor) !important
color: var(--accentColor) !important

.search-box .suggestion.focused a
color: var(--navItemHoverColor) !important
Loading