1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 19:35:07 +00:00
Files
doc/.vale.ini
T
Muhammad Moinur Rahman fedfc8434f vale/style: Utilize vales vocabulary engine
- 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
2023-05-04 22:13:56 +02:00

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