sile-typesetter / sile-typesetter.github.io

Github Pages source code for https://sile-typesetter.org
Creative Commons Zero v1.0 Universal
3 stars 4 forks source link

Build website as static sources without hotlinking SILE repository #16

Closed alerque closed 2 years ago

alerque commented 3 years ago

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.

alerque commented 3 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.