Skip to content

Commit b04d034

Browse files
committed
fix broken links
1 parent d6a2c6f commit b04d034

15 files changed

+28
-27
lines changed

guides/release/components/actions-and-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ confirmation that will show conditionally based on its `showConfirmation`
5454
property. You'll notice this property is decorated with the `@tracked`
5555
decorator - this is known as a _tracked property_, and indicates to Ember that
5656
the field will change in value over time. We'll discuss this more in the section
57-
on [State Management](../../state-management).
57+
on [State Management](../../state-management/).
5858

5959
Next, we need to hook up the button to toggle that property. We'll
6060
do this with an _action_:
@@ -168,7 +168,7 @@ then confirms. In the first case, we'll find the user's account and delete it.
168168

169169
We'll implement an action on the parent component called
170170
`userDidDeleteAccount()` that, when called, gets a hypothetical `login`
171-
[service](../../applications/services/) and calls the service's `deleteUser()`
171+
[service](../../services/) and calls the service's `deleteUser()`
172172
method. We'll go over services later on - for now, think of it as an API
173173
that manages the user's login and information.
174174

guides/release/components/component-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ events that you can hook into in your templates. However, they shouldn't be
66
confused with [_web components_](https://www.webcomponents.org/), which are a
77
browser based API that is similar, but not as powerful as Ember components.
88

9-
Like we mentioned in the section on [Templates](../../templates/), components
9+
Like we mentioned in the section on [Templates](../../templates/handlebars-basics/), components
1010
can have both a template and a class definition, like so:
1111

1212
```handlebars {data-filename=app/templates/components/hello-button.hbs}

guides/release/components/defining-a-component.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ will be covered later on in the guides.
7676
### Component Templates
7777

7878
Templates in components use the Handlebars templating language, as discussed in
79-
the [Templating](../../templating) section. A component's template is the layout
79+
the [Templating](../../templates/handlebars-basics/) section. A component's template is the layout
8080
that is used when rendering the component. If we update the `BlogPost`'s
8181
template to be:
8282

@@ -127,7 +127,7 @@ Here, we have two different kinds of dynamic values:
127127
```
128128

129129
We'll talk more about arguments in [the next
130-
section](../arguments-and-attributes). All arguments are prefixed with the `@`
130+
section](../arguments-and-attributes/). All arguments are prefixed with the `@`
131131
symbol, so whenever you see `{{@...` you know its referring to any argument.
132132

133133
- `{{this.sectionClass}}` refers to a _property_ of the component _instance_.
@@ -148,9 +148,10 @@ class property for title or post content:
148148
</section>
149149
```
150150

151-
Both arguments and properties can be used in any valid binding location (for
152-
more details on where and how you can bind values, read through the [section on
153-
templating](../../templating)). The reason you would choose an argument or
151+
Both arguments and properties can be used in any valid binding location. For
152+
more details on where and how you can bind values, read through the
153+
[section on templating](../../templates/handlebars-basics/).
154+
The reason you would choose an argument or
154155
property is based on how you expect to use the component, and whether or not the
155156
value should be based on internal logic within the component, or values passed
156157
to the component where it is used.
@@ -179,7 +180,7 @@ templates, and to nest components within each other, building up a component
179180
_tree_.
180181

181182
Finally, component templates can use a special helper: `{{yield}}`. We'll cover
182-
this helper in more detail in the [Yields](../yields) section later on, but this
183+
this helper in more detail in the [Yields](../yields/) section later on, but this
183184
helper allows us to specify that users can pass the component a _block_ of
184185
children, and where those children should be placed. If we go back to our
185186
`BlogPost` component, we can add a yield like this:
@@ -233,7 +234,7 @@ placed on any HTML element or component within the component's template:
233234
```
234235

235236
We'll talk more about attributes in [the next
236-
section](../arguments-and-attributes). They are values that get applied directly
237+
section](../arguments-and-attributes/). They are values that get applied directly
237238
to elements, and can be used to customize the HTML of a component. Unlike
238239
arguments, they are _not_ prefixed with the `@` symbol:
239240

guides/release/components/displaying-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ The output will be:
9696
<p>Hello Zoey, I'm Tomster!</p>
9797
```
9898

99-
For more detailed information see [Passing arguments and HTML attributes](./passing-arguments-and-html-attributes).
99+
For more detailed information see [Passing arguments and HTML attributes](./arguments-and-attributes).

guides/release/components/wrapping-content-in-a-component.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Now, we can use the `<BlogPost />` component and pass it properties in another t
1313
<BlogPost @title={{this.title}} @body={{this.body}} />
1414
```
1515

16-
See [Passing Properties to a Component](../passing-arguments-and-html-attributes/) for more.
16+
See
17+
[Passing Properties to a Component](../arguments-and-attributes/)
18+
for more.
1719

1820
In this case, the content we wanted to display came from the model.
1921
But what if we want the developer using our component to be able to provide custom HTML content?

guides/release/getting-started/core-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In Ember, we use the term **hook** for methods that are automatically called wit
6666

6767
Some examples of a hook are:
6868

69-
* [Component Lifecycle Hooks](../../components/the-component-lifecycle/): the [`willRender()`](https://emberjs.com/api/ember/release/classes/Component/methods/willRender?anchor=willRender/) hook gets called before each time a component renders
69+
* [Component Lifecycle Hooks](../../components/glimmer-components-dom/): the [`willRender()`](https://emberjs.com/api/ember/release/classes/Component/methods/willRender?anchor=willRender/) hook gets called before each time a component renders
7070
* Route Hooks: the [`model()`](https://www.emberjs.com/api/ember/release/classes/Route/methods/model?anchor=model/) hook is used to load the model on a route
7171

7272
In the following example, the [`didRender()`](https://emberjs.com/api/ember/release/classes/Component/methods?anchor=didRender/) component lifecycle hook is used to log "I rendered!" to the console after each time the component is rendered.

guides/release/pages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@
109109
- title: "Services"
110110
url: "services"
111111
pages:
112-
- title: Introduction
113-
url: "services"
112+
- title: Overview
113+
url: "index"
114+
114115
- title: 'Data Management'
115116
url: 'data-management'
116117
pages:

guides/release/reference/syntax-conversion-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ In the following example, `"greeting"` and `"name"` are positional parameters:
6161
{{my-greeting "Hello" "World"}}
6262
```
6363

64-
As shown in the relevant ["Position Params"](../../components/passing-arguments-and-html-attributes/#toc_positional-params) part of the Guides,
64+
As shown in the relevant ["Position Params"](../../components/arguments-and-attributes/#toc_positional-params) part of the Guides,
6565
there are two ways to handle them inside the component.
6666
One way is to individually specify what component property the positional parameter should map to.
6767
The other way is to map all positional parameters to the `params` property and refer to them by their index.

guides/release/routing/redirection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ See [Storing and Retrying a Transition](../preventing-and-retrying-transitions/#
4949
for how to do that.
5050

5151
If you need to examine some application state to figure out where to redirect,
52-
you might use a [service](../../applications/services/).
52+
you might use a [service](../../services/).
5353

5454
## Transitioning After the Model is Known
5555

guides/release/templates/binding-element-attributes.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ Which will render the following HTML:
5959
</a>
6060
```
6161

62-
Components can control which of their elements receive attributes.
63-
[Read more about how to customize a component's element](../../components/customizing-a-components-element/).
64-
6562
<div class="cta">
6663
<div class="cta-note">
6764
<div class="cta-note-body">

guides/release/templates/handlebars-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ember generate route my-route-name
5151
A typical, modern web app is made of dozens of files that have to all be combined together into something the browser can understand.
5252
Ember does this work for you with zero configuration, but as a result, there are some rules to follow when it comes to adding assets into your HTML.
5353

54-
You cannot use script tags directly within a template, and should use [actions](../actions/) or [Component Lifecycle Hooks](../../components/the-component-lifecycle/) to make your app responsive to user interactions and new data.
54+
You cannot use script tags directly within a template, and should use [actions](../actions/) or [Component Lifecycle Hooks](../../components/glimmer-components-dom/) to make your app responsive to user interactions and new data.
5555
If you are working with a non-Ember JavaScript library and need to use a `js` file from it, see the Guide section [Addons and Dependencies](../../addons-and-dependencies/managing-dependencies/).
5656

5757
You should not add links to your own local CSS files within the `hbs` file.

guides/release/tutorial/autocomplete-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default class ListFilterComponent extends Component {
105105
In the above example we use the `init` hook to seed our initial listings by calling the `filter` action with an empty value.
106106
Our `handleFilterEntry` action calls a function called `filter` based on the `value` attribute set by the input helper.
107107

108-
The `filter` function is passed in by the calling object. This is a pattern known as [closure actions](../../components/adding-actions/#toc_passing-the-action-to-the-component).
108+
The `filter` function is passed in by the calling object. This is a pattern known as closure actions.
109109

110110
Notice the `then` function called on the result of calling the `filter` function.
111111
The code expects the `filter` function to return a promise.

guides/release/tutorial/service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
For Super Rentals, we want to be able to display a map showing where each rental is.
2-
We will use an [Ember service](../../applications/services/) to implement this feature.
2+
We will use an [Ember service](../../services/) to implement this feature.
33

44
We plan to use the following services to provide maps.
55

@@ -54,7 +54,7 @@ we will implement a map element service that will create an HTML `div` element a
5454
The service will also keep a reference to the element we create,
5555
so that a map for a given location will only have to be generated once.
5656

57-
Accessing our maps API through a [service](../../applications/services/) will give us several benefits:
57+
Accessing our maps API through a [service](../../services/) will give us several benefits:
5858

5959
* It is injected with a [service locator](https://en.wikipedia.org/wiki/Service_locator_pattern),
6060
meaning it will abstract the maps API from the code that uses it,
@@ -133,13 +133,13 @@ ember g component location-map
133133
Running this command generates three files: a component JavaScript file, a template, and a test file.
134134

135135
We provide the maps service into our component by initializing a property of our component, called `mapElement`.
136-
Services are commonly made available in components and other Ember objects by ["service injection"](../../applications/services/#toc_accessing-services).
136+
Services are commonly made available in components and other Ember objects by ["service injection"](../../services/#toc_accessing-services).
137137
When you initialize a property with `import { inject } from '@ember/service';`,
138138
Ember tries to set that property with a service matching its name.
139139

140140
With our `mapElement` service, our component will call the `getMapElement` function with the provided location.
141141
We append the map element we get back from the service by implementing `didInsertElement`,
142-
which is a [component lifecycle hook](../../components/the-component-lifecycle/#toc_integrating-with-third-party-libraries-with-didinsertelement).
142+
which is a [component lifecycle hook](../../components/glimmer-components-dom/#toc_integrating-with-third-party-libraries-with-didinsertelement).
143143
This function runs during the component render, after the component's markup gets inserted into the page.
144144

145145
```javascript {data-filename="app/components/location-map.js" data-diff="+2,+5,+6,+7,+9,+10,+11,+12,+13,+14"}

guides/release/tutorial/simple-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Move on to the [next page](../hbs-helper/) for the next feature, or continue on
225225

226226
Ember components are commonly tested with [component integration tests](../../testing/testing-components/).
227227
Component integration tests verify the behavior of a component within the context of Ember's rendering engine.
228-
When running in an integration test, the component goes through its regular [render lifecycle](../../components/the-component-lifecycle/),
228+
When running in an integration test, the component goes through its regular [render lifecycle](../../components/glimmer-components-dom/),
229229
and has access to dependent objects, loaded through Ember's resolver.
230230

231231
Our component integration test will test two different behaviors:

0 commit comments

Comments
 (0)