File tree 6 files changed +96
-4
lines changed
6 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
64
65
- name : Run codespell
65
66
run : python3 ./.github/scripts/run-codespell.py
66
67
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
+
67
74
# Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
68
75
- name : Run Bandit
69
76
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
+ 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
+ pre
50
+ preallocated
51
+ preallocated
52
+ providerIpcData
53
+ providerIpcData
54
+ providential
55
+ ptr
56
+ realloc
57
+ Scalable
58
+ scalable
59
+ stdout
60
+ Tiering
61
+ tiering
62
+ topologies
63
+ umf
64
+ umfGetIPCHandle
65
+ umfMemoryProviderAlloc
66
+ umfMemoryProviderGetLastNativeError
67
+ umfMemoryProviderOpenIPCHandle
68
+ umfOsMemoryProviderParamsDestroy
69
+ umfPool
70
+ umfPoolCalloc
71
+ umfPoolDestroy
72
+ umfPoolGetTag
73
+ umfPoolMallocUsableSize
74
+ umfPoolRealloc
75
+ umfMemspaceUserFilter
76
+ umfMemspaceMemtargetAdd
77
+ unfreed
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ grep -v -E -e 'benchmark/ubench.h' \
9
9
-e ' ChangeLog' \
10
10
-e ' CODEOWNERS$' \
11
11
-e ' docs/assets/.*' \
12
+ -e ' docs/config/spelling_exceptions.txt' \
12
13
-e ' docs/config/conf.py' \
13
14
-e ' docs/config/Doxyfile' \
14
15
-e ' include/umf/proxy_lib_new_delete.h' \
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