Skip to content

Improve documentation build #45

Description

@yawkat

just docs generates the images used in README.md using openscad. However these images are not perfectly reproducible, they can change depending on machine. Since the images need to be checked in in order to be displayed, this can lead to enormous diffs.

  • Add a "canonicalization" step to the image generation step which transforms the images in such a way that a pixel-identical input will produce a binary-identical image output
  • Create a workflow that verifies that the just docs output does not change the committed images. People that make a PR that change the images will have to locally build and commit them, and the workflow ensures they have done this step.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions