feat: split StumpWM config into different files, restore some pages
This commit is contained in:
@@ -2,6 +2,108 @@ import { defineUserConfig, defaultTheme } from 'vuepress';
|
||||
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
|
||||
import head from './head';
|
||||
|
||||
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',
|
||||
},
|
||||
];
|
||||
|
||||
export default defineUserConfig({
|
||||
lang: 'en-US',
|
||||
title: "Phundrak's Dotfiles",
|
||||
@@ -26,79 +128,23 @@ export default defineUserConfig({
|
||||
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',
|
||||
},
|
||||
],
|
||||
children: emacsChildPages,
|
||||
},
|
||||
'/scripts',
|
||||
'/desktop',
|
||||
// '/fish',
|
||||
// '/git',
|
||||
// '/mpd',
|
||||
'/fish',
|
||||
'/git',
|
||||
'/mpd',
|
||||
'/neofetch',
|
||||
'/picom',
|
||||
'/rustfmt',
|
||||
'/stumpwm',
|
||||
// '/tmux',
|
||||
{
|
||||
text: 'StumpWM',
|
||||
link: '/stumpwm/',
|
||||
collapsible: true,
|
||||
children: stumpwmChildPages,
|
||||
},
|
||||
'/tmux',
|
||||
'/bootstrap',
|
||||
{
|
||||
text: 'Deprecated Configs',
|
||||
|
||||
Reference in New Issue
Block a user