grunt-ngdocs: styles file not included to demo code -


i using grunt-ngdocs document angular project. demo plunker code (generated automatically) doesn't include css file.

my configuration in gruntfile.js includes:

... scripts: [     'https://code.jquery.com/jquery-2.1.4.js' ], styles: [     'https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.0.7/semantic.css' ] ... 

in js src file:

@example     <example module="sui.checkbox">         <file name="index.html">         ...         </file>     <example> 

on api page, js , css files loaded correctly. displayed demo source code doesn't include css file:

<!doctype html> <html ng-app="sui.checkbox">   <head>     <script src="https://code.jquery.com/jquery-2.1.4.js"></script>     <script src="app.js"></script>     <!-- semantic.css should imported here -->   </head>   <body>     ...   </body> </html> 

on api page, demo works well. linking plunker doesn't produce desired result, because css including line not there. suggestions?

use temp solution. add following line inside javascript files @example section:

<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.0.7/semantic.css"> 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -