File tree 5 files changed +96
-4
lines changed
5 files changed +96
-4
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ jobs:
21
21
- name : Install dependencies
22
22
run : |
23
23
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
25
25
26
26
# Latest distros do not allow global pip installation
27
27
- name : Install Python requirements in venv
28
28
run : |
29
29
python3 -m venv .venv
30
30
. .venv/bin/activate
31
31
echo "$PATH" >> $GITHUB_PATH
32
+ python3 -m pip install -r third_party/requirements.txt
32
33
python3 -m pip install bandit codespell
33
34
34
35
- name : Configure CMake
60
61
- name : Run codespell
61
62
run : python3 ./.github/scripts/run-codespell.py
62
63
64
+ - name : Check spelling in docs
65
+ run : |
66
+ cmake -B build
67
+ cmake --build build --target docs
68
+ sphinx-build -b spelling ./build/docs_build/config ./build/docs_build/spelling_log -W
69
+
63
70
# Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
64
71
- name : Run Bandit
65
72
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
445
445
# types are typedef'ed and only the typedef is referenced, never the tag name.
446
446
# The default value is: NO.
447
447
448
- TYPEDEF_HIDES_STRUCT = NO
448
+ TYPEDEF_HIDES_STRUCT = YES
449
449
450
450
# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
451
451
# 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 36
36
# Add any Sphinx extension module names here, as strings. They can be
37
37
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
38
38
# ones.
39
- extensions = ["breathe" ]
39
+ extensions = ["breathe" , "sphinxcontrib.spelling" ]
40
+
41
+ spelling_show_suggestions = True
42
+ spelling_word_list_filename = "spelling_exceptions.txt"
40
43
41
44
# List of patterns, relative to source directory, that match files and
42
45
# 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
+ de
11
+ deallocation
12
+ deallocating
13
+ deallocations
14
+ Devdax
15
+ dev
16
+ Globals
17
+ hMemtarget
18
+ hPool
19
+ hProvider
20
+ highPtr
21
+ io
22
+ interprocess
23
+ ipc
24
+ jemalloc
25
+ lowPtr
26
+ malloc
27
+ maxnode
28
+ mem
29
+ mempolicies
30
+ mempolicy
31
+ Mempolicy
32
+ memspace
33
+ Memspace
34
+ memspaces
35
+ Memtarget
36
+ memtarget
37
+ memtargets
38
+ middleware
39
+ multithreading
40
+ Nodemask
41
+ nodemask
42
+ numa
43
+ oneAPI
44
+ oneTBB
45
+ os
46
+ params
47
+ partList
48
+ pid
49
+ poolable
50
+ pre
51
+ preallocated
52
+ preallocated
53
+ providerIpcData
54
+ providerIpcData
55
+ providential
56
+ ptr
57
+ realloc
58
+ Scalable
59
+ scalable
60
+ stdout
61
+ Tiering
62
+ tiering
63
+ topologies
64
+ umf
65
+ umfGetIPCHandle
66
+ umfMemoryProviderAlloc
67
+ umfMemoryProviderGetLastNativeError
68
+ umfMemoryProviderOpenIPCHandle
69
+ umfOsMemoryProviderParamsDestroy
70
+ umfPool
71
+ umfPoolCalloc
72
+ umfPoolDestroy
73
+ umfPoolGetTag
74
+ umfPoolMallocUsableSize
75
+ umfPoolRealloc
76
+ umfMemspaceUserFilter
77
+ umfMemspaceMemtargetAdd
78
+ unfreed
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ black==24.3.0
6
6
# Tests
7
7
packaging == 24.2
8
8
# Generating HTML documentation
9
- pygments == 2.19.1
9
+ pygments == 2.18.0
10
10
sphinxcontrib_applehelp == 2.0.0
11
11
sphinxcontrib_devhelp == 2.0.0
12
12
sphinxcontrib_htmlhelp == 2.1.0
@@ -15,3 +15,7 @@ sphinxcontrib_qthelp==2.0.0
15
15
breathe == 4.35.0
16
16
sphinx == 8.1.3
17
17
sphinx_book_theme == 1.1.3
18
+ # Spelling check in documentation
19
+ pyenchant == 3.2.2
20
+ sphinxcontrib-spelling == 8.0.0
21
+
You can’t perform that action at this time.
0 commit comments