File tree Expand file tree Collapse file tree 6 files changed +91
-3
lines changed Expand file tree Collapse file tree 6 files changed +91
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ jobs:
2121 - name : Install dependencies
2222 run : |
2323 sudo apt-get update
24- sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev
24+ sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev doxygen
2525
2626 # Latest distros do not allow global pip installation
2727 - name : Install Python requirements in venv
2828 run : |
2929 python3 -m venv .venv
3030 . .venv/bin/activate
3131 echo "$PATH" >> $GITHUB_PATH
32+ python3 -m pip install -r third_party/requirements.txt
3233 python3 -m pip install bandit codespell
3334
3435 - name : Configure CMake
6465 - name : Run codespell
6566 run : python3 ./.github/scripts/run-codespell.py
6667
68+ - name : Check spelling in docs
69+ run : |
70+ cmake -B build
71+ cmake --build build --target docs
72+ sphinx-build -b spelling ./build/docs_build/config ./build/docs_build/spelling_log -W
73+
6774 # Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
6875 - name : Run Bandit
6976 run : python3 -m bandit -r . -x '/_deps/,/.venv/'
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ INLINE_SIMPLE_STRUCTS = NO
445445# types are typedef'ed and only the typedef is referenced, never the tag name.
446446# The default value is: NO.
447447
448- TYPEDEF_HIDES_STRUCT = NO
448+ TYPEDEF_HIDES_STRUCT = YES
449449
450450# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
451451# cache is used to resolve symbols given their name and scope. Since this can be
Original file line number Diff line number Diff line change 3636# Add any Sphinx extension module names here, as strings. They can be
3737# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3838# ones.
39- extensions = ["breathe" ]
39+ extensions = ["breathe" , "sphinxcontrib.spelling" ]
40+
41+ spelling_show_suggestions = True
42+ spelling_word_list_filename = "spelling_exceptions.txt"
4043
4144# List of patterns, relative to source directory, that match files and
4245# directories to ignore when looking for source files.
Original file line number Diff line number Diff line change 1+ addr
2+ allocatable
3+ allocator
4+ allocators
5+ calloc
6+ CXL
7+ copyable
8+ customizable
9+ daxX
10+ deallocation
11+ deallocating
12+ deallocations
13+ Devdax
14+ dev
15+ Globals
16+ hMemtarget
17+ hPool
18+ hProvider
19+ highPtr
20+ io
21+ interprocess
22+ ipc
23+ jemalloc
24+ lowPtr
25+ malloc
26+ maxnode
27+ mem
28+ mempolicies
29+ mempolicy
30+ Mempolicy
31+ memspace
32+ Memspace
33+ memspaces
34+ Memtarget
35+ memtarget
36+ memtargets
37+ middleware
38+ multithreading
39+ Nodemask
40+ nodemask
41+ numa
42+ oneAPI
43+ oneTBB
44+ os
45+ params
46+ partList
47+ pid
48+ poolable
49+ preallocated
50+ providerIpcData
51+ providential
52+ ptr
53+ realloc
54+ Scalable
55+ scalable
56+ stdout
57+ Tiering
58+ tiering
59+ topologies
60+ umf
61+ umfGetIPCHandle
62+ umfMemoryProviderAlloc
63+ umfMemoryProviderGetLastNativeError
64+ umfMemoryProviderOpenIPCHandle
65+ umfOsMemoryProviderParamsDestroy
66+ umfPool
67+ umfPoolCalloc
68+ umfPoolDestroy
69+ umfPoolGetTag
70+ umfPoolMallocUsableSize
71+ umfPoolRealloc
72+ umfMemspaceUserFilter
73+ umfMemspaceMemtargetAdd
74+ unfreed
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ grep -v -E -e 'benchmark/ubench.h' \
99 -e ' ChangeLog' \
1010 -e ' CODEOWNERS$' \
1111 -e ' docs/assets/.*' \
12+ -e ' docs/config/spelling_exceptions.txt' \
1213 -e ' docs/config/conf.py' \
1314 -e ' docs/config/Doxyfile' \
1415 -e ' include/umf/proxy_lib_new_delete.h' \
Original file line number Diff line number Diff line change @@ -15,3 +15,6 @@ sphinxcontrib_qthelp==2.0.0
1515breathe == 4.35.0
1616sphinx == 8.1.3
1717sphinx_book_theme == 1.1.3
18+ # Spelling check in documentation
19+ pyenchant == 3.2.2
20+ sphinxcontrib-spelling == 8.0.0
You can’t perform that action at this time.
0 commit comments