Skip to content

Commit c80dc26

Browse files
committed
Deploying to gh-pages from @ 51c1e97 🚀
1 parent 6b302c0 commit c80dc26

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

_sources/index.md.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,25 @@ themselves.
2828
python -m pip install array-api-extra
2929
```
3030

31-
(vendoring)=
31+
And
32+
[on conda-forge](https://prefix.dev/channels/conda-forge/packages/array-api-extra):
3233

33-
## Vendoring
34+
```shell
35+
micromamba install -c https://repo.prefix.dev/conda-forge array-api-extra
36+
# or
37+
pixi add array-api-extra
38+
```
3439

3540
```{warning}
3641
This library currently provides no backwards-compatibility guarantees!
37-
If you require stability, it is recommended to vendor this library inside your own.
42+
If you require stability, it is recommended to pin `array-api-extra` to
43+
a specific version, or vendor the library inside your own.
3844
```
3945

46+
(vendoring)=
47+
48+
## Vendoring
49+
4050
To vendor the library, clone
4151
[the repository](https://github.com/data-apis/array-api-extra) and copy
4252
`array_api_extra` into the appropriate place in your library, like:
@@ -52,7 +62,7 @@ cp -R array-api-extra/ mylib/vendored/array_api_extra
5262
Typical usage of this library looks like:
5363

5464
```python
55-
import array_api_strict as xpx
65+
import array_api_extra as xpx
5666

5767
...
5868
xp = array_namespace(x)

index.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,22 @@ <h1>array-api-extra<a class="headerlink" href="#array-api-extra" title="Link to
268268
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>array-api-extra
269269
</pre></div>
270270
</div>
271-
</section>
272-
<section id="vendoring">
273-
<span id="id2"></span><h2>Vendoring<a class="headerlink" href="#vendoring" title="Link to this heading"></a></h2>
271+
<p>And
272+
<a class="reference external" href="https://prefix.dev/channels/conda-forge/packages/array-api-extra">on conda-forge</a>:</p>
273+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>micromamba<span class="w"> </span>install<span class="w"> </span>-c<span class="w"> </span>https://repo.prefix.dev/conda-forge<span class="w"> </span>array-api-extra
274+
<span class="c1"># or</span>
275+
pixi<span class="w"> </span>add<span class="w"> </span>array-api-extra
276+
</pre></div>
277+
</div>
274278
<div class="admonition warning">
275279
<p class="admonition-title">Warning</p>
276280
<p>This library currently provides no backwards-compatibility guarantees!
277-
If you require stability, it is recommended to vendor this library inside your own.</p>
281+
If you require stability, it is recommended to pin <code class="docutils literal notranslate"><span class="pre">array-api-extra</span></code> to
282+
a specific version, or vendor the library inside your own.</p>
278283
</div>
284+
</section>
285+
<section id="vendoring">
286+
<span id="id2"></span><h2>Vendoring<a class="headerlink" href="#vendoring" title="Link to this heading"></a></h2>
279287
<p>To vendor the library, clone
280288
<a class="reference external" href="https://github.com/data-apis/array-api-extra">the repository</a> and copy
281289
<code class="docutils literal notranslate"><span class="pre">array_api_extra</span></code> into the appropriate place in your library, like:</p>
@@ -286,7 +294,7 @@ <h1>array-api-extra<a class="headerlink" href="#array-api-extra" title="Link to
286294
<section id="usage">
287295
<span id="id3"></span><h2>Usage<a class="headerlink" href="#usage" title="Link to this heading"></a></h2>
288296
<p>Typical usage of this library looks like:</p>
289-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">array_api_strict</span> <span class="k">as</span> <span class="nn">xpx</span>
297+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">array_api_extra</span> <span class="k">as</span> <span class="nn">xpx</span>
290298

291299
<span class="o">...</span>
292300
<span class="n">xp</span> <span class="o">=</span> <span class="n">array_namespace</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)