Closed cglusky closed 4 years ago
https://docs.google.com/spreadsheets/d/1AByeqGa_GsxQPJdSBpft0BGj954U5yF6GeJ3wLEKbSQ/edit?usp=sharing
Saving each sheet as csv and putting in _data folder. Jekyll can then iterate over data to turn into arrays for use on site.
Should also allow other users to: clone repo: add builds folder with csv's and other assets; and submit PR's without knowing anything about Jekyll.
for now just pulling printedParts and everything else is in .md files. will open a new issue if the need for this comes up again.
Going to use public google sheets as data source for most of the docs site. Sheets will be exported as JSON and saved in _data dir for use in Jekyll.
This can be done programmatically with libs like tabletop:
https://github.com/jsoma/tabletop
And then stringify and save to github direct. e.g.
https://github.com/kinlane/openapi-toolbox/blob/master/pull-spreadsheet/index.html
But for now it will be a manual process.