javascript - Modifying the grunt-ngDocs template -
how can modify look&feel template of website generated grunt-ngdocs ?
the final goal integrate generated documentation inside website.
per example, want display following tabs each topic
- demo (focused on final user rendering)
- code (for developers)
to that, need modify template used ngdocs, how ?
to create different tabs add target ngdocs task:
ngdocs: { options: { ... startpage: '/code' // displayed first ... }, demo: { src: ['path/to/demo/files'], title: 'demo' }, code: { src: ['path/to/code/files'], title: 'code' } } now, regarding custom template.
you can provide own template file , css file.
you can create custom navigation template
Comments
Post a Comment