Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 910 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 910 Bytes

dxw Glossary Generator

This takes the dxw Glossary Spreadsheet and turns it into a hosted, cross-linked glossary of terms and acronyms.

Description

The application is a single ruby script in build.rb.

Installation

  1. Install prerequisites by running bundle install.
  2. 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".

Building

Build the glossary by running:

bundle exec ruby build.rb

The output will be rendered to the dist directory.

View the output

You can view the output by looking at the generated HTML files in your web browser, for example with:

open dist/index.html