Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Update API doc links #2571

Merged
merged 3 commits into from
May 7, 2018
Merged

Update API doc links #2571

merged 3 commits into from
May 7, 2018

Conversation

arthurevans
Copy link

Depends on PolymerElements/iron-doc-viewer#184

(All of the links should basically work without it except for link to OptionalMutableData.)

@arthurevans arthurevans requested a review from a user May 4, 2018 20:11
@@ -449,7 +449,7 @@ if (ShadyCSS) {
```

Elements using the legacy API can use the
[`getComputedStyleValue`](/3.0/docs/api/mixins/Polymer.LegacyElementMixin#method-getComputedStyleValue)
[`getComputedStyleValue`](/3.0/docs/api/legacy/legacy-element-mixin#LegacyElementMixin#method-getComputedStyleValue)
Copy link

@ghost ghost May 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be /3.0/docs/api/legacy/legacy-element-mixin#LegacyElementMixin-method-getComputedStyleValue?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@@ -44,7 +44,7 @@ This allows the element to avoid running observers in the default case.

Like all property effects, observers are synchronous. If the observer is likely to be invoked
frequently, consider deferring time-consuming work, like inserting or removing DOM. For example, you
can use the [`Polymer.Async`](/{{{polymer_version_dir}}}/docs/api/namespaces/Polymer.Async) module to defer work.
can use the [`Polymer.Async`](/{{{polymer_version_dir}}}/docs/api/utils/async) module to defer work.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are utils still called Polymer.Thing?
also #2557
link itself looks fine tho ¯_(ツ)_/¯

@@ -1395,7 +1395,7 @@ rather than being bundled in with `Polymer.Element`. For details, see

In many cases you can use the native platform features (such as `setTimeout` or
`requestAnimationFrame` instead of the `async` call. Polymer 2.x also provides an optional
[`Polymer.Async`](/{{{polymer_version_dir}}}/docs/api/namespaces/Polymer.Async) module that provides
[`Polymer.Async`](/{{{polymer_version_dir}}}/docs/api/utils/async) module that provides
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

@@ -1546,7 +1546,7 @@ separate, optional imports. These include:
- [`<dom-bind>` element](devguide/templates#dom-bind)
- [`<dom-if>` element](devguide/templates#dom-if)
- [`<dom-repeat>` element](devguide/templates#dom-repeat)
- [`Polymer.RenderStatus`](/{{{polymer_version_dir}}}/docs/api/namespaces/Polymer.RenderStatus)
- [`Polymer.RenderStatus`](/{{{polymer_version_dir}}}/docs/api/utils/render-status)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming of utils?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, just realized this is the upgrade guide, which needs to be totally wiped. Will leave this one alone.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple questions otherwise the links work, except for async which we know about & optionalmutablething

(oh and except for the one where the # needs to be a -)

@arthurevans arthurevans merged commit 64d2c03 into master May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants