mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-29 03:24:19 +01:00
fix: export pdf
This commit is contained in:
parent
cadfceaae4
commit
d88a30e973
@ -33,6 +33,7 @@
|
||||
# Set Puppeteer to not download Chrome, cause it doesn't work on NixOS
|
||||
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||
# Set Puppeteer to use Chromium from Nixpkgs
|
||||
export PUPPETEER_EXECUTABLE_PATH=${pkgs.chromium.outPath}/bin/chromium
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"vitepress": "1.0.0-rc.4"
|
||||
"vitepress": "1.0.0-rc.4",
|
||||
"vitepress-export-pdf": "1.0.0-beta.0"
|
||||
},
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev docs",
|
||||
|
Loading…
Reference in New Issue
Block a user