As a precursor to a more mature publishing workflow, we could replace the current approach to specifying an interactive example, which uses FigSpec and therefore depends on the “author” having a PureScript dev environment installed. Instead, we could provide a command-line tool which takes a figure spec as a YAML file. Currently each “standalone” figure needs to be compiled separately using PureScript, whereas the command-line tool would have to be fully dynamic, i.e. support deploying a figure without any additional compilation steps.
As a precursor to a more mature publishing workflow, we could replace the current approach to specifying an interactive example, which uses
FigSpec
and therefore depends on the “author” having a PureScript dev environment installed. Instead, we could provide a command-line tool which takes a figure spec as a YAML file. Currently each “standalone” figure needs to be compiled separately using PureScript, whereas the command-line tool would have to be fully dynamic, i.e. support deploying a figure without any additional compilation steps.See also:
1012