metal3-io / metal3-io.github.io

metal3.io web site
http://metal3.io
MIT License
22 stars 46 forks source link

Add Makefile for linting and serving #444

Closed lentzi90 closed 1 month ago

lentzi90 commented 1 month ago

The Makefile contains targets for linting for serving the website locally. This commit also adds a hack script for running pre-commit similar to markdownlint, shellcheck and spellcheck. Now all of them can be run with a simple make lint as long as podman or docker is available.

The README.md is also update to make use of the make serve command. The image that was used in the readme no longer works with the versions we are using.

netlify[bot] commented 1 month ago

Deploy Preview for metal3io-website ready!

Name Link
Latest commit 3a620eec1a4eff4035d42d3dc7854e05b81ad772
Latest deploy log https://app.netlify.com/sites/metal3io-website/deploys/665986fad77171000888ef4a
Deploy Preview https://deploy-preview-444--metal3io-website.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

tuminoid commented 1 month ago

/cc @elfosardo

Rozzii commented 1 month ago

/approve

lentzi90 commented 1 month ago

Would you mind re-approving now that you are approver @Rozzii ? :sweat_smile:

Rozzii commented 1 month ago

/approve

metal3-io-bot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Rozzii

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/metal3-io/metal3-io.github.io/blob/source/OWNERS)~~ [Rozzii] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment