From 91eaeff77a68841b7e8184cba3848018324a0b5f Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Mon, 18 Mar 2024 10:24:17 +0100 Subject: [PATCH] fix: removed linenums to avoid buggy visualization --- .../multi_environment_proposal.md | 14 ++++++------- pixi.lock | 20 +++++++++---------- pixi.toml | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/design_proposals/multi_environment_proposal.md b/docs/design_proposals/multi_environment_proposal.md index 0dece2b96..8a4091c26 100644 --- a/docs/design_proposals/multi_environment_proposal.md +++ b/docs/design_proposals/multi_environment_proposal.md @@ -41,7 +41,7 @@ As an environment goes beyond just `dependencies` the `features` should be descr - `tasks`: Feature specific tasks, tasks in one environment are selected as default tasks for the environment. -```toml title="Default features" linenums="1" +```toml title="Default features" [dependencies] # short for [feature.default.dependencies] python = "*" numpy = "==2.3" @@ -56,7 +56,7 @@ libc = "2.33" scripts = ["activate.sh"] ``` -```toml title="Different dependencies per feature" linenums="1" +```toml title="Different dependencies per feature" [feature.py39.dependencies] python = "~=3.9.0" [feature.py310.dependencies] @@ -65,7 +65,7 @@ python = "~=3.10.0" pytest = "*" ``` -```toml title="Full set of environment modification in one feature" linenums="1" +```toml title="Full set of environment modification in one feature" [feature.cuda] dependencies = {cuda = "x.y.z", cudnn = "12.0"} pypi-dependencies = {torch = "1.9.0"} @@ -80,7 +80,7 @@ tasks = { warmup = "python warmup.py" } target.osx-arm64 = {dependencies = {mlx = "x.y.z"}} ``` -```toml title="Define tasks as defaults of an environment" linenums="1" +```toml title="Define tasks as defaults of an environment" [feature.test.tasks] test = "pytest" @@ -97,7 +97,7 @@ The environment definition should contain the following fields: This is useful for environments that need to have the same dependencies but might extend them with additional dependencies. For instance when testing a production environment with additional test dependencies. -```toml title="Creating environments from features" linenums="1" +```toml title="Creating environments from features" [environments] # implicit: default = ["default"] default = ["py39"] # implicit: default = ["py39", "default"] @@ -106,7 +106,7 @@ test = ["test"] # implicit: test = ["test", "default"] test39 = ["test", "py39"] # implicit: test39 = ["test", "py39", "default"] ``` -```toml title="Testing a production environment with additional dependencies" linenums="1" +```toml title="Testing a production environment with additional dependencies" [environments] # Creating a `prod` environment which is the minimal set of dependencies used for production. prod = {features = ["py39"], solve-group = "prod"} @@ -116,7 +116,7 @@ test_prod = {features = ["py39", "test"], solve-group = "prod"} # Which makes sure the tested environment has the same version of the dependencies as the production environment. ``` -```toml title="Creating environments without a default environment" linenums="1" +```toml title="Creating environments without a default environment" [dependencies] # Keep empty or undefined to create an empty environment. diff --git a/pixi.lock b/pixi.lock index 84ed1bdfa..142016500 100644 --- a/pixi.lock +++ b/pixi.lock @@ -482,7 +482,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/mergedeep-1.3.4-pyhd8ed1ab_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/mike-2.0.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-1.5.3-pyhd8ed1ab_0.conda - - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.10-pyhd8ed1ab_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.14-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-extensions-1.3.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.4-h59595ed_2.conda - conda: https://conda.anaconda.org/conda-forge/noarch/nodeenv-1.8.0-pyhd8ed1ab_0.conda @@ -635,7 +635,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/mergedeep-1.3.4-pyhd8ed1ab_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/mike-2.0.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-1.5.3-pyhd8ed1ab_0.conda - - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.10-pyhd8ed1ab_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.14-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-extensions-1.3.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/ncurses-6.4-h93d8f39_2.conda - conda: https://conda.anaconda.org/conda-forge/noarch/nodeenv-1.8.0-pyhd8ed1ab_0.conda @@ -778,7 +778,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/mergedeep-1.3.4-pyhd8ed1ab_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/mike-2.0.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-1.5.3-pyhd8ed1ab_0.conda - - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.10-pyhd8ed1ab_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.14-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-extensions-1.3.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/osx-arm64/ncurses-6.4-h463b476_2.conda - conda: https://conda.anaconda.org/conda-forge/noarch/nodeenv-1.8.0-pyhd8ed1ab_0.conda @@ -917,7 +917,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/mergedeep-1.3.4-pyhd8ed1ab_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/mike-2.0.0-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-1.5.3-pyhd8ed1ab_0.conda - - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.10-pyhd8ed1ab_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.14-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-extensions-1.3.1-pyhd8ed1ab_0.conda - conda: https://conda.anaconda.org/conda-forge/win-64/msys2-conda-epoch-20160418-1.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/nodeenv-1.8.0-pyhd8ed1ab_0.conda @@ -4345,13 +4345,13 @@ packages: timestamp: 1695086687269 - kind: conda name: mkdocs-material - version: 9.5.10 + version: 9.5.14 build: pyhd8ed1ab_0 subdir: noarch noarch: python - url: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.10-pyhd8ed1ab_0.conda - sha256: cf5d7932fc2741dda187de41eb4d1e26fbfee9fcffc30a1c1fae6a389c4f9bb0 - md5: 450bb4526f1207c6f7ea1dee901b8474 + url: https://conda.anaconda.org/conda-forge/noarch/mkdocs-material-9.5.14-pyhd8ed1ab_0.conda + sha256: ff1a8daf1d15068cf1bd091ecf330b72b63360bff060463732e24b66d34410c3 + md5: e0fd92a8f790e1c9f03a89d98a4fd618 depends: - babel ~=2.10 - colorama ~=0.4 @@ -4367,8 +4367,8 @@ packages: - requests ~=2.26 license: MIT license_family: MIT - size: 4951802 - timestamp: 1708350766144 + size: 4978382 + timestamp: 1710737325047 - kind: conda name: mkdocs-material-extensions version: 1.3.1 diff --git a/pixi.toml b/pixi.toml index dd8d140c0..c2e059e55 100644 --- a/pixi.toml +++ b/pixi.toml @@ -40,7 +40,7 @@ compilers = ">=1.6.0" [feature.docs.dependencies] mkdocs = "1.5.3.*" -mkdocs-material = ">=9.5" +mkdocs-material = ">=9.5.14" mdx_truly_sane_lists = ">=1.3,<2" pillow = ">=9.4.0" cairosvg = "2.7.1.*"