feat: restore sidebar's table of contents for nested pages
All checks were successful
deploy / build (push) Successful in 2m27s
All checks were successful
deploy / build (push) Successful in 2m27s
This commit is contained in:
parent
955c9aea3c
commit
87b3deeed3
@ -10,103 +10,6 @@ interface ChildPage {
|
|||||||
link: 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({
|
export default defineUserConfig({
|
||||||
lang: 'en-US',
|
lang: 'en-US',
|
||||||
title: "Phundrak's Dotfiles",
|
title: "Phundrak's Dotfiles",
|
||||||
@ -136,7 +39,23 @@ export default defineUserConfig({
|
|||||||
text: 'Emacs',
|
text: 'Emacs',
|
||||||
link: '/emacs/',
|
link: '/emacs/',
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
children: emacsChildPages,
|
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',
|
'/scripts',
|
||||||
'/desktop',
|
'/desktop',
|
||||||
@ -150,7 +69,16 @@ export default defineUserConfig({
|
|||||||
text: 'StumpWM',
|
text: 'StumpWM',
|
||||||
link: '/stumpwm/',
|
link: '/stumpwm/',
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
children: stumpwmChildPages,
|
children: [
|
||||||
|
'/stumpwm/init',
|
||||||
|
'/stumpwm/colours',
|
||||||
|
'/stumpwm/mode-line',
|
||||||
|
'/stumpwm/groups',
|
||||||
|
'/stumpwm/theme',
|
||||||
|
'/stumpwm/commands',
|
||||||
|
'/stumpwm/keybindings',
|
||||||
|
'/stumpwm/utilities',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'/tmux',
|
'/tmux',
|
||||||
'/bootstrap',
|
'/bootstrap',
|
||||||
@ -159,26 +87,11 @@ export default defineUserConfig({
|
|||||||
link: '/deprecated/',
|
link: '/deprecated/',
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
'/deprecated/awesome',
|
||||||
text: 'AwesomeWM',
|
'/deprecated/i3',
|
||||||
link: '/deprecated/awesome',
|
'/deprecated/nano',
|
||||||
},
|
'/deprecated/polybar',
|
||||||
{
|
'/deprecated/spacemacs',
|
||||||
text: 'i3',
|
|
||||||
link: '/deprecated/i3',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Nano',
|
|
||||||
link: '/deprecated/nano',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Polybar',
|
|
||||||
link: '/deprecated/polybar',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Spacemacs',
|
|
||||||
link: '/deprecated/spacemacs',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Colours
|
#+title: Colours
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Colours
|
* Colours
|
||||||
** Colours
|
** Colours
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/colors.lisp
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/colors.lisp
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Commands
|
#+title: Commands
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Commands
|
* Commands
|
||||||
** Commands
|
** Commands
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/commands.lisp
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/commands.lisp
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Groups and Placement
|
#+title: Groups and Placement
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Groups and Placement
|
* Groups and Placement
|
||||||
** Groups and Placement
|
** Groups and Placement
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/placement.lisp :noweb yes
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/placement.lisp :noweb yes
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Basic Configuration
|
#+title: Basic Configuration
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Basic Configuration
|
* Basic Configuration
|
||||||
** Init File
|
** Init File
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/init.lisp
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/init.lisp
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Keybindings
|
#+title: Keybindings
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Keybindings
|
* Keybindings
|
||||||
** Keybinds
|
** Keybinds
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/keybindings.lisp :noweb yes
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/keybindings.lisp :noweb yes
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Mode-Line
|
#+title: Mode-Line
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Mode-Line
|
* Mode-Line
|
||||||
** Mode-Line
|
** Mode-Line
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/modeline.lisp
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/modeline.lisp
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Theme
|
#+title: Theme
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Theme
|
* Theme
|
||||||
** Theme
|
** Theme
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/theme.lisp :noweb yes
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/theme.lisp :noweb yes
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#+title: StumpWM — Utilities
|
#+title: Utilities
|
||||||
#+setupfile: ../headers
|
#+setupfile: ../headers
|
||||||
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
|
||||||
|
|
||||||
* StumpWM — Utilities
|
* Utilities
|
||||||
** Utilities
|
** Utilities
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/utilities.lisp :noweb yes
|
:header-args:lisp: :mkdirp yes :tangle ~/.stumpwm.d/utilities.lisp :noweb yes
|
||||||
|
Loading…
Reference in New Issue
Block a user