From af70656ad80b56f5ef263b6f23c4580dab06cd78 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 5 Aug 2020 18:24:33 -0300 Subject: Remove HTML Tidy step It conflicts with rouge, and changes the visualization of the final HTML. So I can look at a CSS locally served by 'jekyll serve' but in the end final output is different. --- default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 98ac3c3..0a5ad82 100644 --- a/default.nix +++ b/default.nix @@ -33,15 +33,10 @@ in rec { }); docs = utils.baseTask.overrideAttrs (baseAttrs: { name = "${baseAttrs.name}-docs"; - buildInputs = [ jekyllEnv pkgs.html-tidy pkgs.moreutils ]; + buildInputs = [ jekyllEnv ]; buildPhase = '' patchShebangs . jekyll build -d $out - ./scripts/tidy-content.sh $out || { - echo 'Error in formatting HTML. Reproduce with: ' - echo ' jekyll build && ./scripts/tidy-content.sh _site/' - exit 1 - } ''; }); }; @@ -58,8 +53,6 @@ in rec { buildInputs = [ jekyllEnv (pkgs.hunspellWithDicts (with pkgs.hunspellDicts; [ en-us ])) - pkgs.html-tidy - pkgs.moreutils ]; }; publishScript = utils.overwritingPublishScript { -- cgit v1.2.3