Skip to content

Commit

Permalink
Deployed c88db3e to dev with MkDocs 1.5.3 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent 3afed5b commit f69167e
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 43 deletions.
Binary file modified dev/__pycache__/docs_hooks.cpython-312.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion dev/search/search_index.json

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions dev/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,177 +2,177 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://prefix-dev.github.io/pixi/dev/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/Community/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/FAQ/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/basic_usage/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/vision/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/authentication/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/channel_priority/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/explain_info_command/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/github_actions/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/production_deployment/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/pyproject_toml/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/advanced/updates_github_actions/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/design_proposals/pixi_global_manifest/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/examples/cpp-sdl/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/examples/opencv/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/examples/ros2-nav2/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/advanced_tasks/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/environment/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/lockfile/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/multi_environment/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/multi_platform_configuration/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/features/system_requirements/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/ide_integration/devcontainer/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/ide_integration/jupyterlab/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/ide_integration/pycharm/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/ide_integration/r_studio/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/reference/cli/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/reference/pixi_configuration/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/reference/project_configuration/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/switching_from/conda/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/switching_from/poetry/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/tutorials/python/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/tutorials/ros2/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/tutorials/rust/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://prefix-dev.github.io/pixi/dev/CHANGELOG/</loc>
<lastmod>2024-10-08</lastmod>
<lastmod>2024-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified dev/sitemap.xml.gz
Binary file not shown.
14 changes: 7 additions & 7 deletions dev/tutorials/python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1830,12 +1830,12 @@ <h2 id="lets-get-started">Let's get started<a class="headerlink" href="#lets-get
<p>We now have the following directory structure:</p>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-4-1"><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a>.
</span><span id="__span-4-2"><a id="__codelineno-4-2" name="__codelineno-4-2" href="#__codelineno-4-2"></a>├──<span class="w"> </span>pixi_py
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a><span class="w">   </span>──<span class="w"> </span>__init__.py
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a><span class="w">   </span>──<span class="w"> </span>__init__.py
</span><span id="__span-4-4"><a id="__codelineno-4-4" name="__codelineno-4-4" href="#__codelineno-4-4"></a>└──<span class="w"> </span>pyproject.toml
</span></code></pre></div>
<p>We've used a flat-layout here but pixi supports both <a href="https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/#src-layout-vs-flat-layout">flat- and src-layouts</a>.</p>
<h3 id="whats-in-the-pyprojecttoml">What's in the <code>pyproject.toml</code>?<a class="headerlink" href="#whats-in-the-pyprojecttoml" title="Permanent link">#</a></h3>
<p>Okay, so let's have a look at what's sections have been added and how we can modify the <code>pyproject.toml</code>.</p>
<p>Okay, so let's have a look at what sections have been added and how we can modify the <code>pyproject.toml</code>.</p>
<p>These first entries were added to the <code>pyproject.toml</code> file:</p>
<div class="language-toml highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="c1"># Main pixi entry</span>
</span><span id="__span-5-2"><a id="__codelineno-5-2" name="__codelineno-5-2" href="#__codelineno-5-2"></a><span class="k">[tool.pixi.project]</span>
Expand Down Expand Up @@ -1995,7 +1995,7 @@ <h2 id="testing-this-code">Testing this code<a class="headerlink" href="#testing
<div class="language-shell highlight"><pre><span></span><code><span id="__span-23-1"><a id="__codelineno-23-1" name="__codelineno-23-1" href="#__codelineno-23-1"></a>.
</span><span id="__span-23-2"><a id="__codelineno-23-2" name="__codelineno-23-2" href="#__codelineno-23-2"></a>├──<span class="w"> </span>pixi.lock
</span><span id="__span-23-3"><a id="__codelineno-23-3" name="__codelineno-23-3" href="#__codelineno-23-3"></a>├──<span class="w"> </span>pixi_py
</span><span id="__span-23-4"><a id="__codelineno-23-4" name="__codelineno-23-4" href="#__codelineno-23-4"></a><span class="w">   </span>──<span class="w"> </span>__init__.py
</span><span id="__span-23-4"><a id="__codelineno-23-4" name="__codelineno-23-4" href="#__codelineno-23-4"></a><span class="w">   </span>──<span class="w"> </span>__init__.py
</span><span id="__span-23-5"><a id="__codelineno-23-5" name="__codelineno-23-5" href="#__codelineno-23-5"></a>├──<span class="w"> </span>pyproject.toml
</span><span id="__span-23-6"><a id="__codelineno-23-6" name="__codelineno-23-6" href="#__codelineno-23-6"></a>└──<span class="w"> </span>tests/test_me.py
</span></code></pre></div>
Expand Down Expand Up @@ -2030,18 +2030,18 @@ <h2 id="testing-this-code">Testing this code<a class="headerlink" href="#testing
</span></code></pre></div>
<p>Neat! It seems to be working!</p>
<h3 id="test-vs-default-environment">Test vs Default environment<a class="headerlink" href="#test-vs-default-environment" title="Permanent link">#</a></h3>
<p>The interesting thing is if we compare the output of the two environments.</p>
<p>Let's compare the output of the test and default environments...</p>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-27-1"><a id="__codelineno-27-1" name="__codelineno-27-1" href="#__codelineno-27-1"></a>pixi<span class="w"> </span>list<span class="w"> </span>-e<span class="w"> </span><span class="nb">test</span>
</span><span id="__span-27-2"><a id="__codelineno-27-2" name="__codelineno-27-2" href="#__codelineno-27-2"></a><span class="c1"># v.s. default environment</span>
</span><span id="__span-27-2"><a id="__codelineno-27-2" name="__codelineno-27-2" href="#__codelineno-27-2"></a><span class="c1"># vs. default environment</span>
</span><span id="__span-27-3"><a id="__codelineno-27-3" name="__codelineno-27-3" href="#__codelineno-27-3"></a>pixi<span class="w"> </span>list
</span></code></pre></div>
<p>Is that the test environment has:</p>
<p>We see that the test environment has:</p>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-28-1"><a id="__codelineno-28-1" name="__codelineno-28-1" href="#__codelineno-28-1"></a>package<span class="w"> </span>version<span class="w"> </span>build<span class="w"> </span>size<span class="w"> </span>kind<span class="w"> </span><span class="nb">source</span>
</span><span id="__span-28-2"><a id="__codelineno-28-2" name="__codelineno-28-2" href="#__codelineno-28-2"></a>...
</span><span id="__span-28-3"><a id="__codelineno-28-3" name="__codelineno-28-3" href="#__codelineno-28-3"></a>pytest<span class="w"> </span><span class="m">8</span>.1.1<span class="w"> </span><span class="m">1</span>.1<span class="w"> </span>mib<span class="w"> </span>pypi<span class="w"> </span>pytest-8.1.1-py3-none-any.whl
</span><span id="__span-28-4"><a id="__codelineno-28-4" name="__codelineno-28-4" href="#__codelineno-28-4"></a>...
</span></code></pre></div>
<p>But the default environment is missing this package.
<p>However, the default environment is missing this package.
This way, you can finetune your environments to only have the packages that are needed for that environment.
E.g. you could also have a <code>dev</code> environment that has <code>pytest</code> and <code>ruff</code> installed, but you could omit these from the <code>prod</code> environment.
There is a <a href="https://github.com/prefix-dev/pixi/tree/main/examples/docker">docker</a> example that shows how to set up a minimal <code>prod</code> environment and copy from there.</p>
Expand Down

0 comments on commit f69167e

Please sign in to comment.