diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-06-03 06:47:59 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-06-03 18:13:06 +0300 |
commit | e8dca81ac5fca1cd7bd3532293858e52eb376882 (patch) | |
tree | 7a9bde8b2b7b35c8ed992ed8da32d705c6fe55d7 /subplot.md | |
parent | b3f9948a720eae708f7575d9a05943b85f328e42 (diff) | |
download | subplot-e8dca81ac5fca1cd7bd3532293858e52eb376882.tar.gz |
fix: allow docgen to handle a subplot not in current directory
Sponsored-by: author
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -3560,3 +3560,27 @@ markdowns: ~~~{#foo.txt .file add-newline=xyzzy} ~~~ ~~~~~~ + +## Running Subplot + +The scenarios in this section verify that the Subplot tool can be run +in various specific ways. + +### Files not in current working directory + +_Requirement: Subplot can process a subplot that is not in the current +working directory._ + +~~~scenario +given file x/simple.subplot from simple.subplot +given file x/simple.md from simple.md +given file x/b.yaml from b.yaml +given file x/f.py from f.py +given an installed subplot +when I run subplot metadata x/simple.subplot +then command is successful +when I run subplot codegen x/simple.subplot -o test.py +then file test.py exists +when I run subplot docgen x/simple.subplot -o simple.html +then file simple.html exists +~~~ |