balena-io-library / base-images

Balena base images
https://docs.balena.io/reference/base-images/base-images/#balena-base-images
Apache License 2.0
224 stars 85 forks source link

Generate balena-images-ref from contrato #1097

Closed vipulgupta2048 closed 3 months ago

vipulgupta2048 commented 3 months ago

Add script to generate base-images-ref markdown table from contrato

vipulgupta2048 commented 3 months ago

After merging this, this PR will enable the docs to pull in the base images ref https://github.com/balena-io/docs/pull/3058

klutchell commented 3 months ago

Error: File scripts/generate-docs.js hasn't been formatted with prettier

klutchell commented 3 months ago

0001-Autogenerated-docs.patch

Check out this generated markdown. It seems like the device-type headings are not aligned with the table below.

e.g.

+## Variscite VAR-SOM-MX8M-MINI Devkit
+
+| Image | Links |
+|-----|-----|
+| advantech-ecu1370-alpine | [DockerHub](https://hub.docker.com/r/balenalib/advantech-ecu1370-alpine) [GitHub](https://github.com/balena-io-library/base-images/tree/master/balena-base-images/device-base/advantech-ecu1370) |
+| advantech-ecu1370-debian | [DockerHub](https://hub.docker.com/r/balenalib/advantech-ecu1370-debian) [GitHub](https://github.com/balena-io-library/base-images/tree/master/balena-base-images/device-base/advantech-ecu1370) |