Adding possibility to build datasheets also on Mac #2796
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What This PR Changes
I'm adding the possibility to render datasheets also on Mac.
I'm adding two different possibilities:
How to use the script for Mac
You have to install
brewand a recent version ofNode.Google Chrome is needed (it is possible to use also other Chromium Base browsers like edge)
Firs of All you need to install deps:
then you can go in
scripts/datasheets-rendering/folder and simply run:You can check if the Google Chrome path configured insider the mac-render.sh script is correctly set (You need to update it if you want to use Edge or others)
How to use Docker
You have to install Docker or similar.
Then from a terminal you have to build the image so from the
scripts/datasheets-rendering/and then from the root of this project
Contribution Guidelines