This takes the dxw Glossary Spreadsheet and turns it into a hosted, cross-linked glossary of terms and acronyms.
The application is a single ruby script in build.rb
.
- Install prerequisites by running
bundle install
. - Copy the
.env.example
file to.env
, and add a JSON string representing a Google Service Account with access to the spreadsheet. These details are available in 1Password under "Glossary Spreadsheet Service Account".
Build the glossary by running:
bundle exec ruby build.rb
The output will be rendered to the dist
directory.
You can view the output by looking at the generated HTML files in your web browser, for example with:
open dist/index.html