Skip to content

Commit

Permalink
Update configuration doc for sync_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
bhou-crto committed Jan 15, 2025
1 parent a9a3a30 commit 08aafbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gh-pages/content/en/docs/overview/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ Each extra remote must have a unique name, it is used to identify the command as
}
```

| Config Name | Type | Description |
|-----------------|--------|----------------------------------------------------------------------------------------------------------------|
| remote_base_url | string | the base url of the remote repository, it must contain a `/index.json` endpoint to list all available packages |
| sync_policy | string | how often the repository is synched from its remote, always, hourly, daily, weekly, or monthly |
| repository_dir | string | the absolute path of the local repository folder to keep the downloaded local packages |
| Config Name | Type | Description |
|-----------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| remote_base_url | string | the base url of the remote repository, it must contain a `/index.json` endpoint to list all available packages |
| sync_policy | string | how often the repository is synched from its remote. Possible value: always, hourly, daily, weekly, or monthly. (hourly, daily, weekly and monthly are supported in 1.14+) |
| repository_dir | string | the absolute path of the local repository folder to keep the downloaded local packages |

> You don't need to manage these extra remote configurations by your self. Use the built-in `remote` command instead
Expand Down

0 comments on commit 08aafbe

Please sign in to comment.