Open a1626 opened 8 years ago
@source
is the file it self, isn't it? Or do you mean the repo? :) Even though, adding the link or the tab to show the source code at the component-page could be great :)
Yes, i do mean repo.
This could be extracted from the bower.json
or package.json
also, BTW should it belong to the file it self? It could easily get redundant for repos with multiple elements. Probably this should be managed by a catalog, don't know, just thinking out loud. What do you think @a1626? :)
But again a source code view would be awesome :P
The idea behind keeping it in docs is that user does not has to search for repo anywhere. As for multiple files in a repo each element can have a link to it's own file. That way it will work for repos with multiple element's also.
Description
Can we not have an option for user to add source link to his file along with demo in his documentation. Something like
@source