Vars: interface improve docs formatting

This commit is contained in:
Johannes Kirschbauer
2025-01-14 17:40:17 +01:00
parent 0790db7258
commit 31a1fe887e
2 changed files with 15 additions and 10 deletions

View File

@@ -60,7 +60,10 @@ in
description = ''
A list of other generators that this generator depends on.
The output values of these generators will be available to the generator script as files.
For example, the file 'file1' of a dependency named 'dep1' will be available via $in/dep1/file1.
For example:
**A file `file1` of a generator named `dep1` will be available via `$in/dep1/file1`**
'';
type = listOf str;
default = [ ];
@@ -321,9 +324,11 @@ in
description = ''
The script to run to generate the files.
The script will be run with the following environment variables:
- $in: The directory containing the output values of all declared dependencies
- $out: The output directory to put the generated files
- $prompts: The directory containing the prompted values as files
- $in: The directory containing the output values of all declared dependencies
- $out: The output directory to put the generated files
- $prompts: The directory containing the prompted values as files
The script should produce the files specified in the 'files' attribute under $out.
'';
type = either str path;