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

133 lines
3.2 KiB
TypeScript

import { defineUserConfig, defaultTheme } from 'vuepress';
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
import head from './head';
export default defineUserConfig({
lang: 'en-US',
title: "Phundrak's Dotfiles",
head: head,
description: "Documentation of the GNU/Linux configuration of P'undrak",
markdown: {
html: false,
linkify: true,
typographer: true,
headers: {
level: [1, 2, 3, 4, 5],
},
},
plugins: [removeHtmlExtensionPlugin()],
theme: defaultTheme({
sidebarDepth: 5,
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
sidebar: [
'/',
'/about',
{
text: 'Emacs',
link: '/emacs/',
collapsible: true,
children: [
{
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',
},
],
},
'/scripts',
'/desktop',
// '/fish',
// '/git',
// '/mpd',
'/neofetch',
'/picom',
'/rustfmt',
'/stumpwm',
// '/tmux',
'/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',
},
],
},
],
}),
});