mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 19:35:07 +00:00
fedfc8434f
- Remove spelling-exceptions list
- Vale has it's own engine to add custom vocabulary for adding project
specific keywords. Add a vocabulary named Terms
- Add the file accept.txt which words should be accepted without any
errors
- Utilize documentation/content/en/books/arch-handbook/mac/_index.adoc
as proof of concept to remove all sort of errors/warnings/suggestion.
- Remove EOLSpace
- Fix Semantic Line Breakings
- Add relevant keywords to the new Vocab file accept.txt
- Some codewords were not marked with single tick ` so mark those properly
that spelling engine do not throw errors
Approved by: carlavilla (mentor)
Differential Revision: https://reviews.freebsd.org/D39703
31 lines
707 B
INI
31 lines
707 B
INI
StylesPath = .vale/styles
|
|
MinAlertLevel = suggestion
|
|
Vocab = Terms
|
|
|
|
[asciidoctor]
|
|
# enable
|
|
experimental = YES
|
|
|
|
# assign a specific value
|
|
attribute-missing = drop
|
|
|
|
[*.adoc]
|
|
BasedOnStyles = FreeBSD, Vale
|
|
BlockIgnores = (?s) *(\[\.programlisting\]\n\.{4}.*?\.{4})
|
|
|
|
[{documentation,website}/content/{bn-bd,da,de,el,es,fr,hu,id,it,ja,ko,mn,nl,pl,pt-br,ru,tr,zh-cn,zh-tw}/**/*.adoc]
|
|
BasedOnStyles = FreeBSD, Vale
|
|
FreeBSD.BrandTerms = NO
|
|
FreeBSD.ConsciousLanguage = NO
|
|
FreeBSD.Contractions = NO
|
|
FreeBSD.Hang = NO
|
|
FreeBSD.Hyphens = NO
|
|
FreeBSD.SuperfluousOptArgInLinks = NO
|
|
FreeBSD.SemanticLineBreak = NO
|
|
FreeBSD.Spacing = NO
|
|
FreeBSD.Weasel = NO
|
|
Vale.Avoid= NO
|
|
Vale.Repetition = NO
|
|
Vale.Spelling = NO
|
|
Vale.Terms= NO
|