Closed ashander closed 7 years ago
Not so sure what the issue is
Me neither.
The new template has a 'Key Points' box at the end of each lesson. Currently these are empty, e.g. in Lesson 00
OK, this is likely to be part of the template. Would you like to add some key points as a PR?
I'll take this for 00-sql-introduction.md
.
For my own reference: key points are added to the YAML header of the .md
file for the episode like so:
---
title: "Formatting"
teaching: 10
exercises: 0
questions:
- "How are Software and Data Carpentry lessons formatted?"
objectives:
- "Explain the header of each episode."
- "Explain the overall structure of each episode."
- "Explain why blockquotes are used to format parts of episodes."
- "Explain the use of code blocks in episodes."
keypoints:
- "Lesson episodes are stored in _episodes/dd-subject.md."
- "Each episode's title must include a title, time estimates, motivating questions, lesson objectives, and key points."
- "Episodes should not use sub-headings or HTML layout."
- "Code blocks can have the source, regular output, or error class."
- "Special sections are formatted as blockquotes that open with a level-2 header and close with a class identifier."
- "Special sections may be callouts or challenges; other styles are used by the template itself."
---
Helpful stuff for anyone else working on this too. Thanks!
On Fri, Apr 7, 2017 at 10:58 AM, Byron Smith notifications@github.com wrote:
For my own reference: key points are added to the YAML header of the .md file for the episode like so:
title: "Formatting" teaching: 10 exercises: 0 questions:
- "How are Software and Data Carpentry lessons formatted?" objectives:
- "Explain the header of each episode."
- "Explain the overall structure of each episode."
- "Explain why blockquotes are used to format parts of episodes."
- "Explain the use of code blocks in episodes." keypoints:
- "Lesson episodes are stored in _episodes/dd-subject.md."
- "Each episode's title must include a title, time estimates, motivating questions, lesson objectives, and key points."
- "Episodes should not use sub-headings or HTML layout."
- "Code blocks can have the source, regular output, or error class."
- "Special sections are formatted as blockquotes that open with a level-2 header and close with a class identifier."
"Special sections may be callouts or challenges; other styles are used by the template itself."
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/datacarpentry/sql-ecology-lesson/issues/129#issuecomment-292608092, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfLOB02pr6X5ys17s7GtLfrCbq7aMQEks5rtnlMgaJpZM4MgAUS .
It would appear that other DC lessons also don't have Key Points sections. Is this something that should be changed?
There are probably existing issues/PRs flagging this in appropriate repos.
I know they're being added / have been added in at least one case: https://github.com/datacarpentry/spreadsheet-ecology-lesson/pull/126
On Fri, Apr 7, 2017 at 11:12 AM, Byron Smith notifications@github.com wrote:
It would appear that other DC lessons also don't have Key Points sections. Is this something that should be changed?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/datacarpentry/sql-ecology-lesson/issues/129#issuecomment-292611452, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfLOAR_F1G2k05dfLsJ36cFsF6aKVMbks5rtnx7gaJpZM4MgAUS .
ps @bsmith89 please update here if you are taking this on for more than just lesson 00
(no pressure ;). if so I'll update the checklist above accordingly
Good day. Working on adding key points for 01-sql-basic-queries.md.
Will do.
Also, again for my own reference (sorry if this is getting spammy), here is an example from swcarpentry/python-novice-gapminder Episode 7:
keypoints:
- "Use the Pandas library to do statistics on tabular data."
- "Use `index_col` to specify that a column's values should be used as row headings."
- "Use `DataFrame.info` to find out more about a dataframe."
- "The `DataFrame.columns` variable stores information about the dataframe's columns."
- "Use `DataFrame.T` to transpose a dataframe."
- "Use `DataFrame.describe` to get summary statistics about data."
Releasing 00-sql-introduction.md
.
Claiming 02-sql-aggregation.md
.
Done (for now) contributing to 02-sql-aggregation.md
.
I'll add some for 03-sql-joins-aliases/
The choice of key points look really good (IMO) in #157, #161, #162, and #165.
One thing maybe worth considering is that the voice we've used is inconsistent across the four episodes. This is also the case across Carpentries lessons, e.g. SWC-shell-episode2 vs. SWC-python-gapminder-episode7
Is it worth thinking about a "style guide" for these key points, either within this lesson or more globally?
good point @bsmith89 I'm not sure we could or should take on the broader issue here, but it's good to flag it. for the issue of consistency across our PRs, what specifically do you mean? I've merged everything and pasted a combined diff below for easy reference. Differences I see:
``
around commands/keywordsThanks for the idea of the style guide for 'key points'. This is a good broader discussion. I created an issue in the lesson templates repository. https://github.com/swcarpentry/lesson-example/issues/112
These are not currently formatted in any of the episodes. If there are none, delete the box