summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-05-19 09:16:21 +0000
committerAlyssa Ross <hi@alyssa.is>2022-05-19 09:17:28 +0000
commitfdf2ea2ae6838c71493bd16c085416d5bc9e3679 (patch)
treef7b1954ddcf13771dfe5d14b059a16193c97d5da
parentd4f5a5f730293e4c63bfbc1c16022ecf49935ce3 (diff)
downloadspectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar.gz
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar.bz2
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar.lz
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar.xz
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.tar.zst
spectrum-fdf2ea2ae6838c71493bd16c085416d5bc9e3679.zip
Documentation: build for /doc in Nix build
This ensures all the links will be correct when it's hosted on
<https://spectrum-os.org/doc/>.
-rw-r--r--Documentation/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/default.nix b/Documentation/default.nix
index 736300a..02b3c31 100644
--- a/Documentation/default.nix
+++ b/Documentation/default.nix
@@ -18,7 +18,7 @@ runCommand "spectrum-docs" {
 
   passthru = { inherit jekyll; };
 } ''
-  jekyll build --disable-disk-cache -s $src -d $out
+  jekyll build --disable-disk-cache -b /doc -s $src -d $out
 ''
 ) {
   jekyll = import ./jekyll.nix { inherit pkgs; };