-
Notifications
You must be signed in to change notification settings - Fork 13
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
add links for deprecated docs #670
Conversation
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.
This is great, let’s get this released!
docs/keys/scope.vars.md
Outdated
@@ -2,6 +2,8 @@ | |||
@parent can-stache/deprecated | |||
@description Used to reference variables specific to the template context | |||
|
|||
@deprecated {4.15.0} Use `{{ let }}` [can-stache.helpers.let]. instead. |
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.
[can-stache.helpers.let]. instead.
-> [can-stache.helpers.let] instead.
(extra period)
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.
Fixed!
docs/tags/partial.md
Outdated
@@ -1,6 +1,8 @@ | |||
@function can-stache.tags.partial {{>key}} | |||
@parent can-stache/deprecated | |||
|
|||
@deprecated {4.15} Use passing renderer functions through the ViewModel instead. |
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.
Do we have docs anywhere on this? It’d be nice to add a link.
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.
@chasenlehara I can not find a link that talks about renderer functions through the ViewModel instead.
, should we document it?
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.
I would change this sentence to say something like:
@deprecated {4.15} Pass renderer functions through the ViewModel instead. See the “Calling views” section in the [can-stache#BasicUse can-stache docs] for an example.
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.
Done!
For canjs/canjs#4709
This adds
@deprecated
message on the pages for deprecated feature and and links to what should be used instead.If you find that missed something in the message or add put wrong version, please let me know.