-
Notifications
You must be signed in to change notification settings - Fork 14
Spell check
Table of Contents generated with DocToc
Github actions will automatically run a spell check on all Rmds whenever a pull request to the main
branch is filed. See this section about how to customize what checks are run.
Depending on your preference, you may find it easier to spell check manually on your local computer before pushing to Github.
It will fail if there are more than 3 spelling errors and you'll need to resolve those before being able to merge your pull request.
Click on the GitHub comment that has the download link to spelling errors that need to be resolved.
Some of these errors may be things that the spell check doesn't recognize for example: ITCR
or DaSL
.
If it's a 'word' the spell check should recognize, you'll need to add this to the dictionary.
Go to the resources/dictionary.txt
file.
Open the file and add the new 'word' to its appropriate place (the words are in alphabetical order).
Then commit the changes to resources/dictionary.txt
to your branch and this should make the spell check status check pass.
You can run spell check locally by calling the script from the top of the repository (your main git repository directory) in bash:
Rscript scripts/spell-check.R
If you want to write out a URL without having to add it to the spell check dictionary, you can style the URL as inline code by adding single back ticks, and it will be ignored by spell check:
Example:
Visit [`example.com`](https://www.example.com) now.
Visit example.com
now.
If you encounter any problems or have ideas for improvements to this template repository or this getting started guide, please file an issue here! Your feedback is very much appreciated.
Note all materials in this template are licensed CC-BY and can be repurposed freely with attribution.
- Getting started
- Start a new course!
- Start editing course files
- Content creation tips
- Setting up images and videos
- About citations
- About Docker
- Spell check
- URL check
- Generate docx output
- Borrowing chapters between courses
- Most common errors
- Choosing between platforms
- Publishing with Bookdown
- Publishing on Coursera
- Publishing on Leanpub
- Making quizzes private (Leanpub and Coursera)
- Set up user feedback method
- Change title and style
- Credits section
- Adding Google Analytics Traffic Tracking
- Release a course for public viewing