From 8d085d4094d84fced3b1230c890ddd27c97a8d20 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Wed, 3 Dec 2025 02:34:02 +0000 Subject: [PATCH] docs/mdbook: drop pagetoc It is currently not working. TODO: investigate and fix --- docs/mdbook/book.toml | 5 +---- docs/mdbook/default.nix | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/mdbook/book.toml b/docs/mdbook/book.toml index 7ec4c32d..c022e426 100644 --- a/docs/mdbook/book.toml +++ b/docs/mdbook/book.toml @@ -7,8 +7,7 @@ title = "nixvim docs" [output.html] site-url = "@SITE_URL@" -additional-js = ["theme/pagetoc.js"] -additional-css = ["custom.css", "theme/pagetoc.css"] +additional-css = ["custom.css"] git-repository-url = "https://github.com/nix-community/nixvim" # Redirect targets must be relative to their origin; @@ -21,5 +20,3 @@ enable = true level = 0 [preprocessor.alerts] - -[preprocessor.pagetoc] diff --git a/docs/mdbook/default.nix b/docs/mdbook/default.nix index 6d1e27fa..220c8dd1 100644 --- a/docs/mdbook/default.nix +++ b/docs/mdbook/default.nix @@ -331,7 +331,6 @@ pkgs.stdenv.mkDerivation (finalAttrs: { buildInputs = [ pkgs.mdbook pkgs.mdbook-alerts - pkgs.mdbook-pagetoc ]; # Build a source from the fileset containing the following paths,