We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 772aa5d commit f23de31Copy full SHA for f23de31
flake.nix
@@ -177,6 +177,18 @@
177
type = "app";
178
program = self.moduleTests.${system}.reportScript.outPath;
179
};
180
+
181
+ # Run a docs server
182
+ docsServe = {
183
+ type = "app";
184
+ program =
185
+ (
186
+ pkgs.writeShellScript "serve-docs" ''
187
+ ${pkgs.python3}/bin/python -m http.server -d ${self.packages.${system}.docs.html} 8080
188
+ ''
189
+ )
190
+ .outPath;
191
+ };
192
193
}));
194
}
0 commit comments