Can't run Subplot from a different directory than where the markdown file is
I know we've talked about this before and decided on the current approach, but I was greatly surprised by this this week, and would like to re-open the discussion.
$ dpkg -l subplot Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-=============-============-===================================== ii subplot 0.1.ci0.227-1 amd64 automatic tool for acceptance testing $ subplot docgen ~/pers/subplot/git/subplot.md -o subplot.html Failure: binding file could not be found: /home/liw/pers/subplot/git/lib/runcmd.yaml: No such file or directory (os error 2) $
Basically, I propose that files named in the markdown file are resolved relative to the directory where the markdown file is. We now resolve them relative to the current working directory, which leads to me being surprised.