danielgtaylor / danielgtaylor/aglio

text overflow are cropped with (...) missing important information

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
4.7k
Forks
471
PR merge metrics
No merged PRs in 30d

Description

The problem is, in the default template, the params are cropped with (...) when too long. It can be a problem when you are searching for a param or to copy/paste a param.

![screen shot 2017-07-04 at 2 22 43 pm](https://user-images.githubusercontent.com/6414650/27840138-a00b9c18-60c4-11e7-99af-1766dbd4f9ad.png)

Solution A: Put a fix in the default template
Solution B: Override this change with a custom.css

```
dl dt {
text-overflow: inherit;
overflow: visible;
}
```

I tried solution B, but I cannot figure out how to import a list of theme-style as mentioned.

```
// Generate API documentation
gulp.task('aglio', function () {
gulp.src('doc/*.md')
.pipe(aglio({
template: 'default',
themeStyle: 'default',
themeStyle: 'public_html/custom.css',
includePath: 'doc/includes/'
}))
.pipe(gulp.dest('public_html'));
});
```
Marc

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.