merely-useful / r-rse

ARCHIVED: Activity moved to rostools organization.
Other
11 stars 5 forks source link

Tasks to do as content is added (for milestone 7) #96

Closed lwjohnst86 closed 1 year ago

lwjohnst86 commented 3 years ago

This is a work-in-progress and something we should discuss.

There are a few steps to take to ensure we all fit with each other and so that other tasks are easier to do in the end.

1. Reformat all current content into a specific format

Before adding any content around the code steps and exercises, first we each need to reformat things into consistent and similar formats. Start by structuring chapters into sections and form the sections:

## Section name

### (optional) Sub-section name

- Bullet point summary of text in section

```{r cs-LABEL-NAME}
# Code used in section and shown to learners
# If needed. Code used in section, NOT shown to learners, but needed for auto building of package/book

Exercise: Exercise Name {#ex-EXERCISE-TAG}

  1. Summary of steps to do in exercise
# Code for exercise and shown to learner
# If needed. Code for exercise, NOT shown to learner, used for auto building of package/book
# Code for exercise *solution*, NOT shown to learner, (maybe) used for auto building of package/book


`LABEL-NAME` is for the name of the code chunk:

- `cs-` = "chapter show".
- `ce-` = "chapter execute".
- `es-` = "exercise show".
- `ee-` = "exercise execute".
- `sol-` = "solution".
cwickham commented 3 years ago

@lwjohnst86 A few questions that have arisen as I start to implement this:

mbonsma commented 3 years ago

If I remember our conversation about this correctly, we had decided NOT to include the chapter slug because:

lwjohnst86 commented 1 year ago

Will close this with a PR I will submit soon, since the move to Quarto has changed a lot of these things. But not substantially.