Skip to content

Commit

Permalink
Document for external base URLs
Browse files Browse the repository at this point in the history
This feature implemented in yui#253.
  • Loading branch information
okuryu committed Nov 5, 2014
1 parent f8b0bdb commit 67d2c12
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/args/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,29 @@ and reproduce the external API right along with your own.
}
```

<p>
Also, you are able to give `base` data within `external` for external base URLs.
</p>

```
{
"options": {
"external": {
"data": [
{
"base": "http://emberjs.com/api/",
"json": "http://builds.emberjs.com/tags/v1.5.1/ember-docs.json"
},
{
"base": "http://emberjs.com/api/",
"json": "http://builds.emberjs.com/tags/v1.0.0-beta.6/ember-data-docs.json"
}
]
}
}
}
```

<p>
<strong>NOTE:</strong> YUIDoc currently fetches external data on each run with no caching.
</p>
Expand Down

0 comments on commit 67d2c12

Please sign in to comment.