add formatter, update readme, update site on change to the config #25

Merged
esy merged 17 commits from mkdocs-wiki into main 2024-08-26 19:43:36 +00:00
Showing only changes of commit de22c5dae8 - Show all commits

View file

@ -5,10 +5,11 @@
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, }: utils.lib.eachDefaultSystem (system:
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";
in {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
defaultPackage = pkgs.stdenv.mkDerivation {
name = "skynet-wiki";
src = self;
@ -26,11 +27,6 @@
pkgs.python3Packages.mkdocs
pkgs.python3Packages.mkdocs-material
];
shellHook = ''
echo "Building wiki"
mkdocs build
mkdocs serve
'';
};
}
);