Skip to content

Commit

Permalink
docs(nuget): update configuration of registry urls to avoid warnings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mueller-ma authored Jan 20, 2025
1 parent 3533262 commit 2becc7d
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions docs/usage/nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@ You can set alternative feeds:

```json
{
"nuget": {
"registryUrls": [
"https://api.nuget.org/v3/index.json",
"https://example1.com/nuget/",
"https://example2.com/nuget/v3/index.json"
]
}
"packageRules": [
{
"matchDatasources": ["nuget"],
"registryUrls": [
"https://api.nuget.org/v3/index.json",
"https://example1.com/nuget/",
"https://example2.com/nuget/v3/index.json"
]
}
]
}
```

Expand Down Expand Up @@ -93,9 +96,12 @@ If a `v3` feed URL does not end with `index.json`, you must specify the version

```json
{
"nuget": {
"registryUrls": ["http://myV3feed#protocolVersion=3"]
}
"packageRules": [
{
"matchDatasources": ["nuget"],
"registryUrls": ["https://example1.com/nuget/#protocolVersion=3"]
}
]
}
```

Expand Down

0 comments on commit 2becc7d

Please sign in to comment.