Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
address minor feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-tandon committed Oct 17, 2022
1 parent 46b9db5 commit 4e8b9de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions content/docs/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,29 @@
"source": "building/index.md",
"children": [
{
"slug": "pip",
"label": "Python Packages",
"source": "pip.md"
"slug": "conda",
"label": "Conda Environment",
"source": "conda.md"
},
{
"slug": "docker",
"label": "Docker",
"source": "docker.md"
},
{
"slug": "pip",
"label": "Python Packages",
"source": "pip.md"
},
{
"slug": "requirements",
"label": "Requirements",
"source": "requirements.md"
},
{
"slug": "venv",
"label": "Virtual Environments",
"label": "Virtual Environment",
"source": "venv.md"
},
{
"slug": "conda",
"label": "Conda Environments",
"source": "conda.md"
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions content/docs/user-guide/building/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ numpy==1.22.3
```

One can also save these `requirements` to generate a `requirements.txt` file
using the `-c target` option which allows us to pass a path of the file i.e.
using the `--target` option which allows us to pass a path of the file i.e.

```cli
$ mlem build model requirements -c target="requirements.txt"
⏳️ Loading model from sk-model.mlem
$ mlem build requirements --model model --target requirements.txt
⏳️ Loading model from model.mlem
💼 Generating requirements file...
✅ requirements.txt generated!
```
Expand All @@ -35,6 +35,6 @@ pandas==1.4.2
numpy==1.22.3
```

### unix based requirements
### Unix based requirements

To get a list of `unix` based requirements, use the `-c platform="unix"` option.

0 comments on commit 4e8b9de

Please sign in to comment.