File tree Expand file tree Collapse file tree 5 files changed +94
-6
lines changed Expand file tree Collapse file tree 5 files changed +94
-6
lines changed Original file line number Diff line number Diff line change @@ -21,15 +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 enchant-2 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 bandit codespell
32+ python3 -m pip install bandit codespell breathe sphinxcontrib-spelling sphinx_book_theme
3333
3434 - name : Configure CMake
3535 run : >
6060 - name : Run codespell
6161 run : python3 ./.github/scripts/run-codespell.py
6262
63+ - name : Run RST files scan
64+ run : |
65+ cmake -B build
66+ cmake --build build --target docs
67+ sphinx-build -b spelling ./build/docs_build/config ./build/docs_build/spelling_log -W
68+
6369 # Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
6470 - name : Run Bandit
6571 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
@@ -935,7 +935,7 @@ EXCLUDE_PATTERNS =
935935# Note that the wildcards are matched against the file with absolute path, so to
936936# exclude all test directories use the pattern */test/*
937937
938- EXCLUDE_SYMBOLS =
938+ EXCLUDE_SYMBOLS =
939939
940940# The EXAMPLE_PATH tag can be used to specify one or more files or directories
941941# that contain example code fragments that are included (see the \include
@@ -2200,7 +2200,7 @@ INCLUDE_PATH =
22002200# used.
22012201# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22022202
2203- INCLUDE_FILE_PATTERNS =
2203+ INCLUDE_FILE_PATTERNS =
22042204
22052205# The PREDEFINED tag can be used to specify one or more macro names that are
22062206# defined before the preprocessor is started (similar to the -D option of e.g.
Original file line number Diff line number Diff line change 3030# Add any Sphinx extension module names here, as strings. They can be
3131# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232# ones.
33- extensions = ["breathe" ]
33+ extensions = ["breathe" , "sphinxcontrib.spelling" ]
34+
35+ spelling_show_suggestions = True
36+ spelling_word_list_filename = "exclude_words.txt"
3437
3538# List of patterns, relative to source directory, that match files and
3639# directories to ignore when looking for source files.
3740# This pattern also affects html_static_path and html_extra_path.
3841exclude_patterns = ["_build" , "Thumbs.db" , ".DS_Store" ]
42+ suppress_warnings = ["ref.any" ]
3943
4044primary_domain = "c"
4145
Original file line number Diff line number Diff line change 1+ allocator
2+ allocators
3+ Allocators
4+ oneTBB
5+ stdout
6+ pid
7+ customizable
8+ deallocations
9+ malloc
10+ jemalloc
11+ Jemalloc
12+ umfPoolRealloc
13+ umfPoolCalloc
14+ umfPoolMallocUsableSize
15+ daxX
16+ dev
17+ Memspace
18+ memspaces
19+ Mempolicy
20+ mempolicies
21+ Memtarget
22+ memtargets
23+ umfOsMemoryProviderParamsDestroy
24+ CXL
25+ oneAPI
26+ mem
27+ Globals
28+ umfMemoryProviderGetLastNativeError
29+ deallocating
30+ umfPoolDestroy
31+ umfPool
32+ umf
33+ hPool
34+ ptr
35+ calloc
36+ realloc
37+ hProvider
38+ umfPoolGetTag
39+ poolable
40+ unfreed
41+ tp
42+ deallocating
43+ addr
44+ ipc
45+ providerIpcData
46+ providential
47+ umfMemoryProviderAlloc
48+ preallocated
49+ providerIpcData
50+ umfMemoryProviderOpenIPCHandle
51+ lowPtr
52+ highPtr
53+ pre
54+ params
55+ linux
56+ nodemask
57+ Nodemask
58+ maxnode
59+ deallocation
60+ Devdax
61+ numa
62+ umfMemspaceUserFilter
63+ memspace
64+ hMemtarget
65+ umfMemspaceMemtargetAdd
66+ memtarget
67+ mempolicy
68+ partList
69+ umfGetIPCHandle
70+ interprocess
71+ Tiering
72+ tiering
73+ preallocated
74+ deallocation
75+ io
76+ multithreading
77+ middleware
Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ sphinxcontrib_htmlhelp==2.1.0
1313sphinxcontrib_serializinghtml == 2.0.0
1414sphinxcontrib_qthelp == 2.0.0
1515breathe == 4.35.0
16+ sphinxcontrib-spelling == 8.0.0
1617sphinx == 8.1.3
1718sphinx_book_theme == 1.1.3
You can’t perform that action at this time.
0 commit comments