Comments (9)
Hi @c0bra
So what this message is saying is that there is no definition of the @methodOf
tag in your dgeni configuration.
If you are using the latest version of dgeni-packages (0.10.0-rc.6) there is no such tag defined. We have got @memberof
instead, defined in the jsdoc
Package. See https://github.com/angular/dgeni-packages/blob/master/jsdoc/tag-defs/memberof.spec.js
So you either need to change your tags or add in this tag-def yourself into your configuration.
Does that help?
from dgeni-packages.
By the way methodof is not a supported JSDoc 3 tag either. I would try changing your tags to:
/**
* @ngdoc method
* @name registerStyleComputation
* @memberof ui.grid.class:Grid
* @description registered a styleComputation function
*
* If the function returns a value it will be appended into the grid's `<style>` block
* @param {function($scope)} styleComputation function
*/
from dgeni-packages.
@petebacondarwin That helps a lot; thanks. I'm not sure how I would have found that out on my own, though. I couldn't find the latest syntax for ngdoc documented anywhere and was just going by what I was finding in the angular.js source and the wiki: https://github.com/angular/angular.js/wiki/Writing-AngularJS-Documentation
from dgeni-packages.
I don't think @methodOf
appears in the latest Angular source either.
from dgeni-packages.
Or even easier:
/**
* @ngdoc method
* @name ui.grid.class:Grid#registerStyleComputation
* @description registered a styleComputation function
*
* If the function returns a value it will be appended into the grid's `<style>` block
* @param {function($scope)} styleComputation function
*/
from dgeni-packages.
By the way I am not sure that the class:
modifier is supported in the ngdoc
Package out of the box.
from dgeni-packages.
Yea I think class:
was from using grunt-ngdocs. @methodOf
is still on that angular.js wiki page, which is where I was erroneously looking.
Is a guide for forward-porting older ngdoc'ed projects something that would be useful? I've tried this at least twice before and gave up but I'd really like to get past it. I've seen talk about the need for documenting how to use dgeni in a couple places. Is there anyone currently taking that on, or looking to?
from dgeni-packages.
Watch this space...
from dgeni-packages.
Closing for now as I think we have covered this particular issue.
from dgeni-packages.
Related Issues (20)
- Warnings when using import HOT 9
- [typescript] idTemplate and pathTemplate still use `classDoc` property HOT 2
- unnecesary space in filter.template.html HOT 1
- ParameterDoc is extending ExportDoc HOT 1
- Unresolved TypeScript symbols
- Naming inconsistency for inlineTagProcessor
- typescript: possibility to specify type format flags HOT 1
- vulnerable package marked
- Add postProcessHtml package from angular.io HOT 4
- Link tag not linking methods HOT 1
- No files are written: [email protected] broke mkdir-promise as such writeFile processor broke HOT 6
- git decorateVersion: specific logic only for AngularJS causes doc generation to fail HOT 1
- Custom options for jsParser service in jsdoc HOT 14
- Test from the typescript package fails HOT 3
- Feature proposal: enhance tagDefs
- typescript/index.d.ts file empty
- Regression: since 0.28.0, marked filter does not render markdown in HTML blocks HOT 7
- async is not supported
- support ChainExpression HOT 1
- Vulnerable package marked 0.7.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgeni-packages.