config.phundrak.com/docs/.vuepress/config.ts

101 lines
2.4 KiB
TypeScript
Raw Normal View History

2024-01-28 04:33:11 +00:00
import { defaultTheme } from '@vuepress/theme-default';
import { viteBundler } from '@vuepress/bundler-vite';
import { defineUserConfig } from 'vuepress';
2024-01-28 04:33:25 +00:00
import { searchProPlugin } from 'vuepress-plugin-search-pro';
2024-01-28 04:33:11 +00:00
import head from './head';
interface ChildPage {
text: string;
link: string;
}
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({}),
markdown: {
html: false,
linkify: true,
typographer: true,
headers: {
level: [1, 2, 3, 4, 5],
},
},
2024-01-28 04:33:25 +00:00
plugins: [
searchProPlugin({
indexContent: true,
}),
],
theme: defaultTheme({
sidebarDepth: 5,
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
sidebar: [
'/',
'/about',
{
text: 'Emacs',
link: '/emacs/',
collapsible: true,
children: [
'/emacs/basic-config',
'/emacs/custom-elisp',
'/emacs/package-manager',
'/emacs/keybinding-managers',
'/emacs/packages/autocompletion',
'/emacs/packages/applications',
'/emacs/packages/editing',
'/emacs/packages/emacs-builtin',
'/emacs/packages/helpful',
'/emacs/packages/latex',
'/emacs/packages/org',
'/emacs/packages/programming',
'/emacs/packages/visual-config',
'/emacs/packages/misc',
'/emacs/keybindings',
],
},
'/scripts',
'/desktop',
2024-02-20 05:17:59 +00:00
'/shell',
'/fish',
'/git',
2024-04-01 19:49:34 +00:00
'/hyprland',
'/mpd',
'/neofetch',
'/picom',
{
text: 'StumpWM',
link: '/stumpwm/',
collapsible: true,
children: [
'/stumpwm/init',
'/stumpwm/colours',
'/stumpwm/mode-line',
'/stumpwm/groups',
'/stumpwm/theme',
'/stumpwm/commands',
'/stumpwm/keybindings',
'/stumpwm/utilities',
],
},
'/tmux',
'/bootstrap',
{
text: 'Deprecated Configs',
link: '/deprecated/',
collapsible: true,
children: [
'/deprecated/awesome',
'/deprecated/i3',
'/deprecated/nano',
'/deprecated/polybar',
'/deprecated/spacemacs',
],
},
],
}),
});