mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(api): add @demo tag
This commit is contained in:
@@ -114,15 +114,21 @@ module.exports = function(currentVersion){
|
||||
})
|
||||
|
||||
.config(function(parseTagsProcessor) {
|
||||
// We actually don't want to parse param docs in this package as we are getting the data out using TS
|
||||
// parseTagsProcessor.tagDefinitions.forEach(function(tagDef) {
|
||||
// if (tagDef.name === 'param') {
|
||||
// tagDef.docProperty = 'paramData';
|
||||
// tagDef.transforms = [];
|
||||
// }
|
||||
// });
|
||||
parseTagsProcessor.tagDefinitions.concat(require('./tag-defs/tag-defs'));
|
||||
})
|
||||
|
||||
// .config(function(parseTagsProcessor) {
|
||||
// // We actually don't want to parse param docs in this package as we are getting the data out using TS
|
||||
// parseTagsProcessor.tagDefinitions.forEach(function(tagDef) {
|
||||
// console.log(tagDef);
|
||||
// if (tagDef.name === 'param') {
|
||||
// tagDef.docProperty = 'paramData';
|
||||
// tagDef.transforms = [];
|
||||
// }
|
||||
// });
|
||||
// })
|
||||
|
||||
|
||||
// Configure links
|
||||
.config(function(getLinkInfo) {
|
||||
getLinkInfo.useFirstAmbiguousLink = false;
|
||||
@@ -163,4 +169,6 @@ module.exports = function(currentVersion){
|
||||
'common.template.html'
|
||||
]
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
3
scripts/docs/tag-defs/tag-defs.js
Normal file
3
scripts/docs/tag-defs/tag-defs.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = [
|
||||
{'name': 'demo'},
|
||||
];
|
||||
Reference in New Issue
Block a user