docs: only set base-href in CI built docs

This reverts commit c12e59ff7c
This commit is contained in:
Matt Sturgeon 2024-11-18 19:31:12 +00:00
parent cdbda982f0
commit 99b066ba6d
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 32 additions and 10 deletions

View file

@ -6,7 +6,7 @@
transformOptions,
search,
# The root directory of the site
baseHref ? "/nixvim/",
baseHref ? "/",
}:
let
inherit (evaledModules.config.meta) nixvimInfo;
@ -305,7 +305,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
};
buildPhase = ''
dest=$out/share/doc/nixvim
dest=$out/share/doc
mkdir -p $dest
# Copy (and flatten) src into the build directory