Skip to content

Commit

Permalink
Fix typos in **/*.md
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 29, 2024
1 parent a7c398d commit b921a98
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cabal/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@
* Many checks added for common mistakes
* New `--package-db=` option for specific package databases
* Many internal changes to support cabal-install
* Stricter parsing for version strings, eg dissalows "1.05"
* Stricter parsing for version strings, eg disallows "1.05"
* Improved user guide introduction
* Programatica support removed
* New options `--program-prefix/suffix` allows eg versioned programs
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ fix-whitespace: ## Run fix-whitespace in fix mode
.PHONY: typos
typos: ## Find typos in users guide
typos **/*.rst
typos **/*.md

.PHONY: fix-typos
fix-typos: ## Fix typos in users guide
typos --write-changes **/*.rst
typos --write-changes **/*.md

.PHONY: typos-install
typos-install: ## Install typos-cli for typos target using cargo
Expand Down
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default]
extend-ignore-re = ["(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on"]
4 changes: 3 additions & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ To check for typos, run `make typos` and to fix them, run `make fix-typos`. Fixi
> SOURCE: [typos/Getting Started](https://github.com/crate-ci/typos#getting-started)
```
make typos
# spellchecker:off
$ make typos
typos **/*.rst
error: `managable` should be `manageable`, `manageably`
--> doc/getting-started.rst:75:6
Expand All @@ -59,6 +60,7 @@ error: `managable` should be `manageable`, `manageably`
| ^^^^^^^^^
|
make: *** [Makefile: typos] Error 2
# spellchecker:on
```

### Gitpod workflow
Expand Down

0 comments on commit b921a98

Please sign in to comment.