Skip to content

Commit a3f6ef6

Browse files
committed
Fix docs build issues
1 parent c54d5e0 commit a3f6ef6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ API Reference
33

44
.. automodule:: array_api_strict
55

6+
.. _array-api-strict-flags:
7+
68
Array API Strict Flags
79
----------------------
810

@@ -12,7 +14,6 @@ Array API Strict Flags
1214

1315
.. autofunction:: get_array_api_strict_flags
1416

15-
.. _set_array_api_strict_flags:
1617
.. autofunction:: set_array_api_strict_flags
1718
.. autofunction:: reset_array_api_strict_flags
1819
.. autoclass:: ArrayAPIStrictFlags

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ array-api-strict currently supports the
2020
version of the standard. Experimental
2121
[2023.12](https://data-apis.org/array-api/latest/changelog.html#v2023-12)
2222
support is implemented, [but must be enabled with a
23-
flag](set_array_api_strict_flags).
23+
flag](array-api-strict-flags).
2424

2525
## Install
2626

@@ -185,7 +185,7 @@ issue, but this hasn't necessarily been tested thoroughly.
185185
6. array-api-strict currently uses the 2022.12 version of the array API
186186
standard. Support for 2023.12 is implemented but is still experimental and
187187
not fully tested. It can be enabled with
188-
[`array_api_strict.set_array_api_strict_flags(api_version='2023.12')`](set_array_api_strict_flags).
188+
{func}`array_api_strict.set_array_api_strict_flags(api_version='2023.12') <array_api_strict.set_array_api_strict_flags>`.
189189

190190

191191
(numpy.array_api)=

0 commit comments

Comments
 (0)