Skip to content

(check): Determine and use the first template when running docgen

Daniel Silverstone requested to merge fix-269 into main

Description

This MR alters ./check to support passing templates to the docgen operation, and then it remembers the first template used for codegen and selects that for docgen. Ideally we'd run docgen over and over for all templates, but since each docgen operation requires a sleep of 1 second to permit low granularity filesystems to have rolled over for time-checking, we're not going to do that for now.

This will close: #269 (closed)

Checklist

  • You have read, and followed the guidance in, the CONTRIBUTING guide
  • The MR content has run through a pipeline, or at least has pipelines enabled.
  • There are no licence concerns with this contribution (The README clearly states Subplot is MIT-0)
Edited by Daniel Silverstone

Merge request reports