-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed e545af3 to dev with MkDocs 1.5.3 and mike 2.0.0
- Loading branch information
1 parent
00658ad
commit beae490
Showing
6 changed files
with
77 additions
and
36 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -363,6 +363,21 @@ | |
</span> | ||
</a> | ||
|
||
<nav class="md-nav" aria-label="Use pixi as a global installation tool"> | ||
<ul class="md-nav__list"> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#using-the-no-activation-option" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Using the --no-activation option | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
</nav> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
|
@@ -1486,6 +1501,21 @@ | |
</span> | ||
</a> | ||
|
||
<nav class="md-nav" aria-label="Use pixi as a global installation tool"> | ||
<ul class="md-nav__list"> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#using-the-no-activation-option" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Using the --no-activation option | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
</nav> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
|
@@ -1577,11 +1607,18 @@ <h2 id="use-pixi-as-a-global-installation-tool">Use pixi as a global installatio | |
</span><span id="__span-8-10"><a id="__codelineno-8-10" name="__codelineno-8-10" href="#__codelineno-8-10"></a><span class="c1"># Install a linter you want to use in multiple projects.</span> | ||
</span><span id="__span-8-11"><a id="__codelineno-8-11" name="__codelineno-8-11" href="#__codelineno-8-11"></a>pixi<span class="w"> </span>global<span class="w"> </span>install<span class="w"> </span>ruff | ||
</span></code></pre></div> | ||
<h3 id="using-the-no-activation-option">Using the --no-activation option<a class="headerlink" href="#using-the-no-activation-option" title="Permanent link">#</a></h3> | ||
<p>When installing packages globally, you can use the <code>--no-activation</code> option to prevent the insertion of environment activation code into the installed executable scripts. This means that when you run the installed executable, it won't modify the <code>PATH</code> or <code>CONDA_PREFIX</code> environment variables beforehand.</p> | ||
<p>Example:</p> | ||
<div class="language-shell highlight"><pre><span></span><code><span id="__span-9-1"><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a><span class="c1"># Install a package without inserting activation code</span> | ||
</span><span id="__span-9-2"><a id="__codelineno-9-2" name="__codelineno-9-2" href="#__codelineno-9-2"></a>pixi<span class="w"> </span>global<span class="w"> </span>install<span class="w"> </span>ruff<span class="w"> </span>--no-activation | ||
</span></code></pre></div> | ||
<p>This option can be useful in scenarios where you want more control over the environment activation or if you're using the installed executables in contexts where automatic activation might interfere with other processes.</p> | ||
<h2 id="use-pixi-in-github-actions">Use pixi in GitHub Actions<a class="headerlink" href="#use-pixi-in-github-actions" title="Permanent link">#</a></h2> | ||
<p>You can use pixi in GitHub Actions to install dependencies and run commands. | ||
It supports automatic caching of your environments.</p> | ||
<div class="language-text highlight"><pre><span></span><code><span id="__span-9-1"><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a>- uses: prefix-dev/[email protected] | ||
</span><span id="__span-9-2"><a id="__codelineno-9-2" name="__codelineno-9-2" href="#__codelineno-9-2"></a>- run: pixi run cowpy "Thanks for using pixi" | ||
<div class="language-text highlight"><pre><span></span><code><span id="__span-10-1"><a id="__codelineno-10-1" name="__codelineno-10-1" href="#__codelineno-10-1"></a>- uses: prefix-dev/[email protected] | ||
</span><span id="__span-10-2"><a id="__codelineno-10-2" name="__codelineno-10-2" href="#__codelineno-10-2"></a>- run: pixi run cowpy "Thanks for using pixi" | ||
</span></code></pre></div> | ||
<p>See the <a href="../advanced/github_actions/">GitHub Actions</a> for more details.</p> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.