-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add assertion for component extraction to assert correct registration
- Loading branch information
1 parent
d24cfd0
commit 06e9c98
Showing
6 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...mmy-docs/packages/ember/components/docfy-with-hyphenated-number-2-demo/demo1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
order: 1 | ||
--- | ||
|
||
# Demo of DocfyLink component | ||
|
||
This is a cool feature. | ||
|
||
[Link from a demo](../docfy-output.md) | ||
|
||
```hbs template | ||
<div data-test-id="demo-1"> | ||
This is my Demo: | ||
<DocfyLink @to={{this.url}}>My Link</DocfyLink> | ||
</div> | ||
<div data-test-id="demo-1-js-data">{{this.url}}</div> | ||
``` | ||
|
||
```js component | ||
import Component from '@glimmer/component'; | ||
|
||
export default class MyDemo extends Component { | ||
url = '/docs/ember/'; | ||
} | ||
``` |
9 changes: 9 additions & 0 deletions
9
...es/ember/dummy-docs/packages/ember/components/docfy-with-hyphenated-number-2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
category: ember | ||
subcategory: components | ||
--- | ||
|
||
# Docfy With Hyphenated Number 2 | ||
|
||
Testing doc pages with numbers in their name and how that corresponds with | ||
automatic component registration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters