fix: devshell commands for docs
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
311e46a409
commit
6c66daf26b
|
@ -35,19 +35,19 @@ _: {
|
||||||
inherit category;
|
inherit category;
|
||||||
name = "docs:dev";
|
name = "docs:dev";
|
||||||
help = "serve docs for local development";
|
help = "serve docs for local development";
|
||||||
command = "cd $PRJ_ROOT/docs && npm dev";
|
command = "cd $PRJ_ROOT/docs && npm run dev";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
inherit category;
|
inherit category;
|
||||||
name = "docs:build";
|
name = "docs:build";
|
||||||
help = "create a production build of docs";
|
help = "create a production build of docs";
|
||||||
command = "cd $PRJ_ROOT/docs && npm build";
|
command = "cd $PRJ_ROOT/docs && npm run build";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
inherit category;
|
inherit category;
|
||||||
name = "docs:preview";
|
name = "docs:preview";
|
||||||
help = "preview a production build of docs";
|
help = "preview a production build of docs";
|
||||||
command = "cd $PRJ_ROOT/docs && npm preview";
|
command = "cd $PRJ_ROOT/docs && npm run preview";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
inherit category;
|
inherit category;
|
||||||
|
|
Reference in New Issue
Block a user