2024-01-28 04:33:11 +00:00
|
|
|
import { defaultTheme } from '@vuepress/theme-default';
|
|
|
|
import { viteBundler } from '@vuepress/bundler-vite';
|
|
|
|
import { defineUserConfig } from 'vuepress';
|
|
|
|
|
2023-09-18 16:45:14 +00:00
|
|
|
import head from './head';
|
|
|
|
|
2024-01-28 04:31:58 +00:00
|
|
|
interface ChildPage {
|
|
|
|
text: string;
|
|
|
|
link: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
const emacsChildPages: ChildPage[] = [
|
|
|
|
{
|
|
|
|
text: 'Basic Configuration',
|
|
|
|
link: '/emacs/basic-config',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Custom Elisp',
|
|
|
|
link: '/emacs/custom-elisp',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Package Manager',
|
|
|
|
link: '/emacs/package-manager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Keybindings Managers',
|
|
|
|
link: '/emacs/keybinding-managers',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Autocompletion',
|
|
|
|
link: '/emacs/packages/autocompletion',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Applications',
|
|
|
|
link: '/emacs/packages/applications',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Editing',
|
|
|
|
link: '/emacs/packages/editing',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Emacs Built-ins',
|
|
|
|
link: '/emacs/packages/emacs-builtin',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Making My Life Easier',
|
|
|
|
link: '/emacs/packages/helpful',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - LaTeX',
|
|
|
|
link: '/emacs/packages/latex',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Org Mode',
|
|
|
|
link: '/emacs/packages/org',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Programming',
|
|
|
|
link: '/emacs/packages/programming',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Visual Configuration',
|
|
|
|
link: '/emacs/packages/visual-config',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Packages - Misc',
|
|
|
|
link: '/emacs/packages/misc',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Keybindings',
|
|
|
|
link: '/emacs/keybindings',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
const stumpwmChildPages: ChildPage[] = [
|
|
|
|
{
|
|
|
|
text: 'Basic Configuration',
|
|
|
|
link: '/stumpwm/init',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Colours',
|
|
|
|
link: '/stumpwm/colours',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Mode-Line',
|
|
|
|
link: '/stumpwm/mode-line',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Groups and Placement',
|
|
|
|
link: '/stumpwm/groups',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Theme',
|
|
|
|
link: '/stumpwm/theme',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Commands',
|
|
|
|
link: '/stumpwm/commands',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Keybindings',
|
|
|
|
link: '/stumpwm/keybindings',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Utilities',
|
|
|
|
link: '/stumpwm/utilities',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
2023-09-18 16:45:14 +00:00
|
|
|
export default defineUserConfig({
|
|
|
|
lang: 'en-US',
|
|
|
|
title: "Phundrak's Dotfiles",
|
|
|
|
head: head,
|
|
|
|
description: "Documentation of the GNU/Linux configuration of P'undrak",
|
2024-01-28 04:33:11 +00:00
|
|
|
bundler: viteBundler({}),
|
2023-09-18 16:45:14 +00:00
|
|
|
markdown: {
|
|
|
|
html: false,
|
|
|
|
linkify: true,
|
|
|
|
typographer: true,
|
|
|
|
headers: {
|
|
|
|
level: [1, 2, 3, 4, 5],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
theme: defaultTheme({
|
|
|
|
sidebarDepth: 5,
|
|
|
|
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
|
|
|
|
sidebar: [
|
|
|
|
'/',
|
|
|
|
'/about',
|
|
|
|
{
|
|
|
|
text: 'Emacs',
|
|
|
|
link: '/emacs/',
|
|
|
|
collapsible: true,
|
2024-01-28 04:31:58 +00:00
|
|
|
children: emacsChildPages,
|
2023-09-18 16:45:14 +00:00
|
|
|
},
|
|
|
|
'/scripts',
|
|
|
|
'/desktop',
|
2024-01-28 04:31:58 +00:00
|
|
|
'/fish',
|
|
|
|
'/git',
|
|
|
|
'/mpd',
|
2023-09-18 16:45:14 +00:00
|
|
|
'/neofetch',
|
|
|
|
'/picom',
|
|
|
|
'/rustfmt',
|
2024-01-28 04:31:58 +00:00
|
|
|
{
|
|
|
|
text: 'StumpWM',
|
|
|
|
link: '/stumpwm/',
|
|
|
|
collapsible: true,
|
|
|
|
children: stumpwmChildPages,
|
|
|
|
},
|
|
|
|
'/tmux',
|
2023-09-18 16:45:14 +00:00
|
|
|
'/bootstrap',
|
|
|
|
{
|
|
|
|
text: 'Deprecated Configs',
|
|
|
|
link: '/deprecated/',
|
|
|
|
collapsible: true,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
text: 'AwesomeWM',
|
|
|
|
link: '/deprecated/awesome',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'i3',
|
|
|
|
link: '/deprecated/i3',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Nano',
|
|
|
|
link: '/deprecated/nano',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Polybar',
|
|
|
|
link: '/deprecated/polybar',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'Spacemacs',
|
|
|
|
link: '/deprecated/spacemacs',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
});
|