diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-05-04 19:23:45 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-05-04 20:13:56 +0000 |
commit | fedfc8434f1c37b51b66fb43614cb3784f4eef13 (patch) | |
tree | 8ae7f8300ee721d97cd4409a26489f7fc534ad14 /.vale | |
parent | c769bddba1509db099fe62e74fd4f5d317dbcc0d (diff) | |
download | doc-fedfc8434f1c37b51b66fb43614cb3784f4eef13.tar.gz doc-fedfc8434f1c37b51b66fb43614cb3784f4eef13.zip |
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
Diffstat (limited to '.vale')
-rw-r--r-- | .vale/styles/FreeBSD/spelling-exceptions.txt | 79 | ||||
-rw-r--r-- | .vale/styles/Vocab/Terms/accept.txt | 32 |
2 files changed, 32 insertions, 79 deletions
diff --git a/.vale/styles/FreeBSD/spelling-exceptions.txt b/.vale/styles/FreeBSD/spelling-exceptions.txt deleted file mode 100644 index bd3e66f545..0000000000 --- a/.vale/styles/FreeBSD/spelling-exceptions.txt +++ /dev/null @@ -1,79 +0,0 @@ -Accetta -Beranek -Cheriton -[Cc]hroot -DARPA -Englewood -Ethernets -Ewens -Excelan -FIFOs -Filestores -Fortran -Gandi -Gingell -Interlan -Interprocess -Karels -Kbyte -Kernighan -Macklem -Makefile -Microsystems -O'Reilly -Ousterhout -Ritchie -Rosenblum -Rozier -Sebastopol -Tevanian -Winsock -autoconfiguration -basename -chdir -checksubdir -chmod -chown -coroutine -coroutines -datagrams -deallocate -deallocation -descendents -distfile -errno -execve -fchmod -fchown -filestore -filestores -fstat -interprocess -lseek -malloc -mkdir -mknod -mmap -multiuser -noncanonical -nongraphic -pathnames -poudriere -prepended -public_html -[Qq]uarterly -readv -recv -recvfrom -recvmsg -reimplemented -rmdir -rmport -sendmsg -sendto -subhierarchies -subdirectory -unbuffered -untyped -vnode -writev diff --git a/.vale/styles/Vocab/Terms/accept.txt b/.vale/styles/Vocab/Terms/accept.txt new file mode 100644 index 0000000000..7b081da1af --- /dev/null +++ b/.vale/styles/Vocab/Terms/accept.txt @@ -0,0 +1,32 @@ +(?i)bpf +APIs +Biba +DTDs +Redistributions +Safeport +[Dd]atagram +[Dd]evfs +[Mm]map +[Uu]serland +[Vv]node +demultiplexer +dereference +errno +ioctls +lookups +mbuf +multicast +multilabel +multithreaded +mutex +namespace +procfs +pluggable +statfs +syscall +sysctl\'s +tunables +uid +unloadable +vp +wakeup |