1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 19:35:07 +00:00

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
This commit is contained in:
Muhammad Moinur Rahman
2023-05-04 21:23:45 +02:00
parent c769bddba1
commit fedfc8434f
4 changed files with 975 additions and 701 deletions
+1
View File
@@ -1,5 +1,6 @@
StylesPath = .vale/styles
MinAlertLevel = suggestion
Vocab = Terms
[asciidoctor]
# enable
@@ -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
+32
View File
@@ -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
File diff suppressed because it is too large Load Diff