Skip to content

Commit

Permalink
Merge pull request #1039 from phaer/mkdocs-awesome-pages
Browse files Browse the repository at this point in the history
drop vendored mkdocs-awesome-pages-plugin
  • Loading branch information
phaer authored Sep 26, 2024
2 parents b76c529 + 5ca910a commit 51532f2
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 205 deletions.
168 changes: 51 additions & 117 deletions dev-flake/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions dev-flake/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
flake-compat.url = "github:nix-community/flake-compat/pull/4/head";
flake-compat.flake = false;

# TODO: remove once merged: https://github.com/badboy/mdbook-toc/pull/52
mdbook-toc.url = "github:DavHau/mdbook-toc";
mdbook-toc.inputs.nixpkgs.follows = "nixpkgs";

pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";

Expand Down
35 changes: 26 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 1 addition & 16 deletions modules/flake-parts/reference-website/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
nativeBuildInputs = [
pkgs.python3.pkgs.mkdocs
pkgs.python3.pkgs.mkdocs-material
self.packages.${system}.mkdocs-awesome-pages-plugin
pkgs.python3.pkgs.mkdocs-awesome-pages-plugin
optionsReference
];
} ''
Expand All @@ -112,21 +112,6 @@
'';
in {
packages.website = website;
packages.mkdocs-awesome-pages-plugin = pkgs.callPackage ./mkdocs-awesome-pages-plugin.nix {
inherit
(pkgs.python3.pkgs)
buildPythonPackage
mkdocs
wcmatch
natsort
beautifulsoup4
mock-open
importlib-metadata
poetry-core
pytestCheckHook
pythonOlder
;
};
packages.optionsReference = optionsReference;
devShells.website = let
pythonWithDeps = pkgs.python3.withPackages (
Expand Down
Loading

0 comments on commit 51532f2

Please sign in to comment.