danielgtaylor / danielgtaylor/aglio
olio-theme: Example rendering ignores sample values
Open
- Dominant language
- CoffeeScript
- Stars
- 4.7k
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
The olio theme will ignore any sample values when rendering an example and uses default values instead.
[See this line (example.coffee#L23)](https://github.com/danielgtaylor/aglio/blob/c52a482e5392849de12ce1cf43245ad66da44745/src/example.coffee#L23)
Example:
```
+ someAttribute (string, required)
+ Sample: Test Sample String
```
The `root` variable will contain
```
{ element: 'string', attributes: { samples: [ 'Test Sample Stirng' ] } }
```
and the sample value will not be used.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.