Skip to content
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

add workflow for new chapters / corrections #806

Merged
merged 5 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ If you are making changes to the book please note the following:

* Our style guide is provided [here in the introduction](https://mlr3book.mlr-org.com/chapters/chapter1/introduction_and_overview.html#styleguide)
* Where possible, figures in the HTML book should be svgs and figures in the PDF should be pdf. These should be included with `knitr::include_graphics()` or ideally with [include_multi_graphics()](https://github.com/mlr-org/mlr3book/blob/main/book/common/_utils.qmd).

When (non-trivial) changes and corrections are made to chapters that are are included in the first published edition of this book, these changes should be documented in the *Errata* appendix.
When adding new chapters to the book not present in the published version, these should be marked as *Online Only* in their title.
For such newly added chapters that are in early stages and have not been rigorously edited and reviewed, these should be additionally marked as being a *Draft*.

* If you add a new package dependency to the book, please follow the following steps to update the lockfile:
* Start an R session in the `book/` directory
* Activate the project with `renv::activate()`
Expand Down
1 change: 1 addition & 0 deletions book/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ book:
- chapters/appendices/solutions.qmd # online only
- chapters/appendices/tasks.qmd # online only
- chapters/appendices/overview-tables.qmd # online only
- chapters/appendices/errata.qmd # online only


bibliography: book.bib
Expand Down
12 changes: 12 additions & 0 deletions book/chapters/appendices/errata.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
aliases:
- "/errata.html"
---

# Errata {#sec-appendix-errata}

::: {.content-visible when-format="html"}

{{< include ../../common/_setup.qmd >}}

This appendix lists changes to the online version of this book to chapters included in the first edition.