-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(data-point): add @class tags #431
Conversation
Replaced @alias tags with @Class and @classdesc tags. Added DataPoint temporary favicon. Closes issue no. 422
…or unstable version.
Codecov Report
@@ Coverage Diff @@
## canary #431 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 29 29
Lines 482 482
Branches 74 74
=====================================
Hits 482 482
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
@@ -5,10 +5,11 @@ function normalizeName(name) { | |||
} | |||
|
|||
/** | |||
* @alias Reducer | |||
* @class | |||
* @classdesc This class is never instantiated directly, it is used to create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good comment! thanks!
What:
Replaced jsdoc
@alias
tag with more meaningful@class
and@classdesc
tagsApparently the reason why
@alias
was used is that it allows to create automatic links between jsdoc pages. But after doing some experiments, it just turned out that also@class
tags generate automatic links between pages.See here for example:
https://csarnataro.github.io/data-point/jsdoc/Reducer.html#resolveReducer
If you click on
Accumulator
, it will take you to the Accumulator documentation page https://csarnataro.github.io/data-point/jsdoc/Accumulator.htmlWhy:
To use the more semantically appropriate tag.
How:
Just replacing
@alias
with@class
and adding@classdesc
where applicable.Checklist:
Closes #422
Please see https://csarnataro.github.io/data-point/jsdoc/ or https://csarnataro.github.io/data-point/jsdoc/Reducer.html#resolveReducer to check if this is the intended behaviour of internal links