Skip to content

Commit

Permalink
docs: scriptName
Browse files Browse the repository at this point in the history
  • Loading branch information
loqusion committed Jan 2, 2024
1 parent e3055b4 commit 9206739
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api/derivations/build-local-typst-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ All parameters accepted by
{{#include common/local-paths-example.md:buildlocaltypstproject_example}}
{{#include common/local-paths-example.md:tail}}

### `scriptName` (optional) { #scriptname }

{{#include common/script-name.md}}

Default is `typst-build`.

### `typstCompileCommand` (optional) { #typstcompilecommand }

{{#include common/typst-compile-command.md}}
Expand Down
2 changes: 2 additions & 0 deletions docs/api/derivations/common/script-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Name of the script that will be added to the Nix store. You can use this name
after entering a development shell to invoke the script.
6 changes: 6 additions & 0 deletions docs/api/derivations/watch-typst-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ directory, unless you set [`forceLocalPaths`](#forcelocalpaths) to `true`.
{{#include common/local-paths-example.md:watchtypstproject_example}}
{{#include common/local-paths-example.md:tail}}

### `scriptName` (optional) { #scriptname }

{{#include common/script-name.md}}

Default is `typst-watch`.

### `typstOpts` (optional) { #typstopts }

{{#include common/typst-opts.md:head}}
Expand Down

0 comments on commit 9206739

Please sign in to comment.