OTTR Pull Requests
Writing
New Content
All OTTR content development revolves around pull requests where proposed changes trigger automated checks before publishing.
⚠️ Never edit the
docsfolder directly or push rendered files. Automation handles those files.
⚠️ Do not push rendered files (e.g. files in
docs/). OTTR’s automation renders and manages these files automatically. Pushing rendered files can cause conflicts and break the automated workflow.
Once your PR is open, checks run automatically and post results as comments on the PR.
| Check | What it does |
|---|---|
| URL check | Verifies all links are valid |
| Spell check | Flags spelling errors |
| Style check | Checks code formatting |
| Preview render | Generates a rendered preview |
| Quiz check | Validates quiz formatting (if applicable) |
config_automation.ymlIf a check result looks unexpected, refresh the page or make a new commit to re-trigger.
.qmd file to your
branch_quarto.yml under navar:navbar:
left:
- text: ""
href: index.qmd
icon: fa-home
- text: 1. Setup
href: setup.qmd
- text: 2. New Chapter
href: new_chapter.qmd ## new!
_quarto.yml.Rmd file to your
branch_bookdown.yml under rmd_files:rmd_files: ["index.Rmd",
"01-intro.Rmd",
"02-new_chapter.Rmd"] ## new!
_bookdown.ymlEnsure you have checked that the quotation marks and commas align with the YAML and that you have the correct file names!