compodoc icon indicating copy to clipboard operation
compodoc copied to clipboard

[FEATURE] styleUrls tab in component detail view

Open ghost opened this issue 8 years ago • 5 comments

Overview of the issue

I dont see any SCSS tab in component detail view.

Example:

@Component({
  selector: 'example-test',
  template: `<div class="test">Hello World!</div>`,
  styleUrls: ['./test.component.scss']
})
export class Forms {
}
:host {
 .test {
    background-color: red;
 }
}

After 'compodoc -s' i see only Info, Source and Template but no Style(scss) tab.

Angular configuration, a package.json file in the root folder

Angular 6 with CLI and sub projects

Compodoc installed globally or locally ?

Locally

Related issues

#399

ghost avatar Sep 11 '18 08:09 ghost

This could be a feature. It is not a bug. Right now, compodoc doesn't handle the file referenced inside styleUrls

vogloblinsky avatar Sep 14 '18 20:09 vogloblinsky

@vogloblinsky What would be involved in order to complete this feature? I would like to contribute if possible but I am not familiar with the compodoc codebase. Thank you

ehnruiz avatar Oct 12 '18 18:10 ehnruiz

@vogloblinsky @ehnruiz I have just implemented the feature, but im not able to create a Pull Request.

danielleroux avatar Oct 13 '18 22:10 danielleroux

@daniel-leroux we cross developed i think the feature. You should be able to push a PR on the develop branch. You have to fork the repo first. I will wait your implementation to compare them. Thanks

vogloblinsky avatar Oct 14 '18 07:10 vogloblinsky

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

lock[bot] avatar Sep 30 '19 17:09 lock[bot]