-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(maps): jupyter notebook now auto-updates docs site #27003
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #27003 +/- ##
=======================================
Coverage 67.20% 67.20%
=======================================
Files 1899 1899
Lines 74347 74347
Branches 8263 8263
=======================================
Hits 49964 49964
Misses 22334 22334
Partials 2049 2049
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for the review... just need a maps codeowner stamp from @villebro |
d0153ad
to
e7428d7
Compare
e7428d7
to
e4892da
Compare
@villebro I just need a notebook codeowner stamp, and we'll be all good :) |
@mistercrunch we can make you a codeowner too for the notebook, if you promise to guard against map PRs being made without notebook updates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
4cb2fa0
to
2af571d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #27003 +/- ##
==========================================
+ Coverage 60.47% 60.48% +0.01%
==========================================
Files 1933 1931 -2
Lines 76295 76236 -59
Branches 8533 8568 +35
==========================================
- Hits 46137 46114 -23
+ Misses 28065 28017 -48
- Partials 2093 2105 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -20,6 +20,7 @@ jobs: | |||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | |||
uses: actions/checkout@v4 | |||
with: | |||
fetch-depth: 0 # Fetch all history |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey, curious why this was/is neeeded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SUMMARY
So we have this Jupyter notebook to generate maps, and typescript for the control panel.
Now, it also outputs JSON to the docs site, and the docs site in turn renders the JSON with React (in three columns!) to keep an ever-current list of countries available on the docs.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TESTING INSTRUCTIONS
ADDITIONAL INFORMATION