Closed alerque closed 2 years ago
Here's my suggestion. We have SILE as a GitHub Action now. Lets use it. The upstream SILE repository should abandon all the "example" bits. It should have the manual and tests, but no examples. The website can have examples stored in source format, and publishing via GitHub pages can run SILE in CI to generate PDF and/or raster images of those examples for the web showcase.
Hotlinking stuff in the SILE repo from the website is ... fragile at best. I think we should restructure it so that examples are updated a different way. I can think of several ways, but relying on PNG images in a source repo is not one of them. Keeping example sources on the website and using CI to build them using SILE as a runner to generate PDF / PNG / whatever output might be one of them.