-
Notifications
You must be signed in to change notification settings - Fork 4
Module 5 exercises C, D, & E #48
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
base: main
Are you sure you want to change the base?
Conversation
Sadly we need to have line numbers enabled
4fe3432 to
044e245
Compare
b972133 to
cca831b
Compare
Maybe this will warn people against jumping in this rabbit hole ;)
rowanc1
left a comment
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.
A few comments on the plugins!
Super cool stuff!
plugin-custom-directives.mjs
Outdated
| name: "youShouldNotice", | ||
| doc: "Renders a consistent callout when the learner should notice something.", | ||
| body: { | ||
| type: String |
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.
| type: String | |
| type: 'myst' |
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.
Dope, that's really useful to know. Thank you Rowan! ❤️
f8fc8b5 to
f5b3942
Compare
Co-authored-by: Rowan Cockett <913249+rowanc1@users.noreply.github.com>
…to parse Co-authored-by: Rowan Cockett <913249+rowanc1@users.noreply.github.com>
057ed96 to
8ce6f46
Compare
|
Thanks @rowanc1 for the review 🙇 |
| const youShouldNoticeDirective = { | ||
| name: "youShouldNotice", | ||
| doc: "Renders a consistent callout when the learner should notice something.", | ||
| body: { | ||
| type: 'myst', | ||
| }, | ||
| run(data) { | ||
| return [{ | ||
| type: "admonition", | ||
| kind: "important", | ||
| icon: false, | ||
| class: "simple", | ||
| children: [ | ||
| { | ||
| type: "admonitionTitle", | ||
| children: [{ | ||
| type: "text", | ||
| value: "👀 You should notice...", | ||
| }], | ||
| }, | ||
| ...data.body, | ||
| ], | ||
| }]; | ||
| }, | ||
| }; |
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 - IMO this is about as simple as it can be..!
This PR adds content for module 5 exercises C-E.
I was finding myself repeating a lot of stuff, so I extracted a couple of plugins to reduce repetition, and documented their usage in the style guide and a new "helpers" page.
I also added commit checkpoints throughout and a dropdown callout for folks who might be joining the workshop late.
🔍 Preview: https://geojupyter-workshop-open-source-geospatial--48.org.readthedocs.build/
Note: This Pull Request preview is provided by ReadTheDocs. Our production website, however, is currently deployed with GitHub Pages.