danielgtaylor/aglio

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

macayer opened this issue · 0 comments

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

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