Skip to content

Commit 6edcd19

Browse files
committed
Add vector_ptr to sphinx documentation
1 parent cac92e7 commit 6edcd19

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ API Reference
33
.. toctree::
44
api/types.rst
55
api/primitives.rst
6+
api/conversion.rst
67
api/generation.rst
78
api/unary_operators.rst
89
api/binary_operators.rst

docs/build_api.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,18 @@ def build_index_page(groups):
8383
"reduce",
8484
"zip",
8585
"zip_common",
86-
"cast",
87-
"broadcast",
88-
"convert",
8986
"make_vec",
9087
"into_vec",
9188
"concat",
9289
"select",
9390
"for_each",
9491
],
92+
"Conversion": [
93+
"convert",
94+
"cast",
95+
"cast_to",
96+
"broadcast",
97+
],
9598
"Generation": [
9699
("range", "range()"),
97100
("range", "range(F fun)"),
@@ -211,7 +214,6 @@ def build_index_page(groups):
211214
("where", "where(const C&)"),
212215
],
213216
"Memory read/write": [
214-
"cast_to",
215217
("read", "read(const T*, const I&, const M&)"),
216218
("write", "write(T*, const I&, const V&, const M&)"),
217219

@@ -220,8 +222,9 @@ def build_index_page(groups):
220222

221223
("read_aligned", "read_aligned(const T*)"),
222224
("write_aligned", "write_aligned(T*, const V&)"),
225+
"assert_aligned",
223226

224-
("aligned_ptr", "aligned_ptr", "struct"),
227+
("vector_ptr", "vector_ptr", "struct"),
225228
],
226229
"Utilities": [
227230
("constant", "constant", "struct"),

0 commit comments

Comments
 (0)