diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a1e5539..2069d82 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,4 +19,4 @@ jobs: - name: Install black run: pip install black - name: Run black - run: black --check . + run: black --check -l 80 . diff --git a/README.md b/README.md index 71afa09..3cc0631 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ # Program generation +[![lint](https://github.com/socallinuxexpo/program-generation/actions/workflows/lint.yml/badge.svg)](https://github.com/socallinuxexpo/program-generation/actions/workflows/lint.yml) + This is the repo for all things around generating SCALE Programs - both printed and digital. + +See the README's in each directory for more information about each component. diff --git a/guidebook/README.md b/guidebook/README.md index 7f242ca..e7dc15b 100644 --- a/guidebook/README.md +++ b/guidebook/README.md @@ -2,8 +2,9 @@ sync_guidebook will update our Guidebook account based on a CSV file. -Find API docs here: -https://developer.guidebook.com/ +## Resources + +* [Guidebook API docs](https://developer.guidebook.com/) NOTE: This script assumes you have already uploaded the main map manually (included in this repo). @@ -11,16 +12,15 @@ NOTE: This script assumes you have already uploaded the main map manually ## Source To get the source CSV file, visit -https://www.socallinuxexpo.org/admin/export/23x/sessions as an admin (change -`23x` to your year). +[https://www.socallinuxexpo.org/admin/export/23x/sessions](https://www.socallinuxexpo.org/admin/export/23x/sessions) +as an admin (change `23x` to your year). ## Authentication -You can get a Guidebook API key here: - -https://builder.guidebook.com/#/account/api/ +You can get a Guidebook API [in your +account](https://builder.guidebook.com/#/account/api/). -Put it in a file and pass it to `-a` +Put it in a file and pass it to `-a`. If you are doing regioned-maps, you will need to have an "internal" API key. Log into guidebook, and then open a developer console and shove in: @@ -29,4 +29,4 @@ Log into guidebook, and then open a developer console and shove in: alert(JSON.parse(('; '+document.cookie).split(`; CurrentUser=`).pop().split(';')[0]).jwt) ``` -put that in a file and pass it to `-x` +Put that in a file and pass it to `-x`.