Skip to content

Commit

Permalink
Add note about /build/register.json and /register.json autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Aug 22, 2024
1 parent 51f5610 commit 9ec7b0c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions _pages/create/imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,15 @@ For example, the following will import two repositories, one of them being the m
name: Repository with imports
imports:
- default
- https://example.com/bbr/repository.json
```
- https://example.com/bbr/build/register.json
```
*Note*: If the URL ends with `build/register.json` or `register.json`, you may omit the last part. For example,
when `https://example.com/bbr` is provided as an import, these URLs will be tried:

* `https://example.com/bbr`
* `https://example.com/bbr/build/register.json`
* `https://example.com/bbr/register.json`

The first URL to return a valid `register.json` will be used.

0 comments on commit 9ec7b0c

Please sign in to comment.