Skip to content
Draft
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
179 changes: 79 additions & 100 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,166 +1,145 @@
import { webpackBundler } from '@vuepress/bundler-webpack'
import { registerComponentsPlugin } from '@vuepress/plugin-register-components'
import { searchPlugin } from '@vuepress/plugin-search'
import { defaultTheme } from '@vuepress/theme-default'
import { description } from '../../package.json'
import { webpackBundler } from "@vuepress/bundler-webpack";
import { registerComponentsPlugin } from "@vuepress/plugin-register-components";
import { searchPlugin } from "@vuepress/plugin-search";
import { defaultTheme } from "@vuepress/theme-default";
import { description } from "../../package.json";

import path from "path"
import path from "path";

const base = "/";

export default {
bundler: webpackBundler({
configureWebpack: (config) => {
config.devtool = 'source-map';
config.devtool = "source-map";
config.optimization = {
usedExports: true,
minimize: true
}
minimize: true,
};
config.performance = {
maxAssetSize: 400000,
maxEntrypointSize: 400000
}
maxEntrypointSize: 400000,
};
},
}),
title: 'Chrultrabook Docs',
title: "Chrultrabook Docs",
description: description,
base,
head: [
['meta', { name: 'theme-color', content: '#6a4aec' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
['meta', { rel: 'icon', href: base + 'favicon.ico', sizes: '16x16 32x32 48x48 64x64', type: 'image/vnd.microsoft.icon' }],
["meta", { name: "theme-color", content: "#6a4aec" }],
["meta", { name: "apple-mobile-web-app-capable", content: "yes" }],
[
"meta",
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
],
[
"meta",
{
rel: "icon",
href: base + "favicon.ico",
sizes: "16x16 32x32 48x48 64x64",
type: "image/vnd.microsoft.icon",
},
],
],
theme: defaultTheme({
logo: '/favicon.ico',
accentColor: '#6a4aec',
logo: "/favicon.ico",
accentColor: "#6a4aec",
nextLinks: false,
prevLinks: false,
editLink: false,
contributors: false,
navbar: [
{
text: 'Documentation',
link: '/docs/getting-started/prerequisites.html',
text: "Documentation",
link: "/docs/getting-started/prerequisites.html",
},
{
text: 'Questions?',
link: 'https://forum.chrultrabook.com/'
}
text: "Questions?",
link: "https://forum.chrultrabook.com/",
},
],
sidebarDepth: 0,
sidebar: [
{
text: 'FAQ',
link: '/docs/faq',
text: "FAQ",
link: "/docs/faq",
},
{
text: "Device Support Status",
link: "/docs/devices",
},
{
text: 'Device Support Status',
link: '/docs/devices',
},
{
text: "Getting Started",
children: [
{
text: "Prerequisites",
link: "/docs/getting-started/prerequisites"
},
{
text: "Choosing an OS and Boot Method",
link: "/docs/getting-started/choose-os-fw"
},
]
},
children: [
{
text: "Prerequisites",
link: "/docs/getting-started/prerequisites",
},
{
text: "Choosing an OS and Boot Method",
link: "/docs/getting-started/choose-os-fw",
},
],
},
{
text: "Installing an OS",
link: "/docs/installing/",
collapsible: false,
children: [
{
text: 'Known Issues',
link: '/docs/installing/known-issues',
},
{
text: 'Installing Windows',
link: '/docs/installing/installing-windows'
text: "Installing Windows",
link: "/docs/installing/installing-windows",
},
{
text: 'Installing Linux',
link: '/docs/installing/installing-linux',
text: "Installing Linux",
link: "/docs/installing/installing-linux",
collapsible: true,
children: [
{
text: 'Partitioning Instructions for Dual Booting',
link: '/docs/installing/dualboot'
},
{
text: 'Notes for non-standard distros',
link: '/docs/installing/distros',
}
] // */
},
{
text: 'Installing MacOS',
link: '/docs/installing/installing-macos',
text: "Installing MacOS",
link: "/docs/installing/installing-macos",
collapsible: true,
children: [
{
text: 'Custom macOS firmware',
link: '/docs/installing/macos-firmware',
},
{
text: 'Fixing Hibernation',
link: '/docs/installing/macos-hibernation',
}
]
},
{
text: 'Post Install',
link: '/docs/installing/post-install',
},
{
text: 'Using ectool',
link: '/docs/installing/ectool',
}
]
],
},
{
text: 'Debugging',
link: '/docs/debugging/',
text: "Debugging",
link: "/docs/debugging/",
collapsible: false,
children: [
{
text: 'Reporting Bugs',
link: '/docs/debugging/bugreport',
}
]
text: "Reporting Bugs",
link: "/docs/debugging/bugreport",
},
],
},
{
text: 'Contributing',
link: '/docs/contributing',
}
]
text: "Contributing",
link: "/docs/contributing",
},
],
}),
plugins: [
searchPlugin({
maxSuggestions: 12,
isSearchable: (page) => page.path !== '/',
isSearchable: (page) => page.path !== "/",
getExtraFields: (page) => {
const tags = page.frontmatter.tags ?? [];
const title = page.title ?? '';
const title = page.title ?? "";
return [...tags, title];
},
hotKeys: ['s', '/', { key: 'f', ctrl: true }],
hotKeys: ["s", "/", { key: "f", ctrl: true }],
locales: {
'/': {
placeholder: 'Search',
}
}
"/": {
placeholder: "Search",
},
},
}),
registerComponentsPlugin({
components: {
AddScript: path.resolve(__dirname, './components/AddScript.vue'),
AddScript: path.resolve(__dirname, "./components/AddScript.vue"),
},
})
]
}
}),
],
};
8 changes: 4 additions & 4 deletions src/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

Want to help support the docs? Well there's some ways you can help!

## Contributing via Issues
## File an Issue

Contributing via Issues is pretty simple but there are some rules:
File an issue when you notice an issue! We appreciate this kind of contribution but we ask that you follow some simple guidelines:

- Reserve the issues tab exclusively for documentation-related matters; refrain from discussing personal support issues or OS installation problems there.
- When reporting a typo or suggesting better clarification, please specify the page where the issue is found. It would be helpful to avoid searching extensively for these problems.

## Contributing via PRs
## Contributing Directly

Some guidelines when contributing via PRs:
We accept PRs to the docs, once again, there's some simple guidelines to follow:

- Use your brain (please).
- Proofread your submissions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
next: false
prev: false
---

# Using Ectool

`ectool` is a utility that is used to interface with the ChromeOS Embedded Controller. It is used to communicate with the embedded controller from userspace and vice versa.
Expand Down
49 changes: 0 additions & 49 deletions src/docs/installing/distros.md

This file was deleted.

31 changes: 0 additions & 31 deletions src/docs/installing/dualboot.md

This file was deleted.

Loading
Loading