This projects essence has been taken from https://github.com/rolandjohann/terraform-dash-doc-generator and updated to generate Packer docs.
rbenv install 2.7.3
bundle install
To build execute command:
./build.sh <version>
Then move the docset into a proper directory.
In case of error:
Error occurred prerendering page "/downloads". Read more: https://err.sh/next.js/prerender-error
TypeError: Cannot read property 'builds' of undefined
Download the newest version of the website/pages/downloads/index.jsx
file.