Skip to content
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

Convert Extensions tutorial articles to sample articles #3327

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion microsoft-edge/developer/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ landingContent:
- text: Register as a Microsoft Edge extension developer
url: ../extensions-chromium/publish/create-dev-account.md

- text: "Tutorial part 1: Display an image in a pop-up"
- text: "Sample: Display an image in a pop-up"
url: ../extensions-chromium/getting-started/part1-simple-extension.md

# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion microsoft-edge/devtools-guide-chromium/sources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ When the debugger steps into code that you don't recognize, you might want to ad

See also:
* [Content scripts](https://developer.mozilla.org/Add-ons/WebExtensions/Content_scripts)
* [Tutorial part 2: Use JavaScript to insert an image in the webpage](../../extensions-chromium/getting-started/part2-content-scripts.md)
* [Sample: Insert an image in the webpage](../../extensions-chromium/getting-started/part2-content-scripts.md)


<!-- ------------------------------ -->
Expand Down
4 changes: 2 additions & 2 deletions microsoft-edge/extensions-chromium/developer-guide/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ See [Types](https://developer.chrome.com/docs/extensions/reference/sidePanel/#ty
* [Supported APIs for Microsoft Edge extensions](../developer-guide/api-support.md)
* [Declare API permissions in the manifest](../developer-guide/declare-permissions.md)
* [Manifest file format for extensions](../getting-started/manifest-format.md)
* [Tutorial part 1: Display an image in a pop-up](../getting-started/part1-simple-extension.md)
* [Tutorial part 2: Use JavaScript to insert an image in the webpage](../getting-started/part2-content-scripts.md)
* [Sample: Display an image in a pop-up](../getting-started/part1-simple-extension.md)
* [Sample: Insert an image in the webpage](../getting-started/part2-content-scripts.md)


<!-- ====================================================================== -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ To sideload an extension into Microsoft Edge, so that it's locally installed in

1. Select the directory that contains the extension's source files, such as `manifest.json`, and then click the **Select Folder** button.

Example path for [Tutorial part 1: Display an image in a pop-up](./part1-simple-extension.md):
Example path for [Sample: Display an image in a pop-up](./part1-simple-extension.md):

`C:\Users\myUsername\GitHub\MicrosoftEdge-Extensions\Extension samples\extension-getting-started-part1\part1\`

Example path for [Tutorial part 2: Use JavaScript to insert an image in the webpage](./part2-content-scripts.md):
Example path for [Sample: Insert an image in the webpage](./part2-content-scripts.md):

`C:\Users\myUsername\GitHub\MicrosoftEdge-Extensions\Extension samples\extension-getting-started-part2\extension-getting-started-part2\`

Expand Down Expand Up @@ -83,5 +83,5 @@ To remove an extension that's been installed locally (sideloaded) in your browse
## See also
<!-- all links in article -->

* [Tutorial part 1: Display an image in a pop-up](./part1-simple-extension.md)
* [Tutorial part 2: Use JavaScript to insert an image in the webpage](./part2-content-scripts.md)
* [Sample: Display an image in a pop-up](./part1-simple-extension.md)
* [Sample: Insert an image in the webpage](./part2-content-scripts.md)
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ An extension provides opt-in permissions at install time. You specify the exten
<!-- ====================================================================== -->
## Next steps

For information on getting started with your extension, see [Tutorial part 1: Display an image in a pop-up](part1-simple-extension.md).
For information on getting started with your extension, see [Sample: Display an image in a pop-up](part1-simple-extension.md).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions microsoft-edge/extensions-chromium/landing/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ landingContent:
- text: Extension concepts and architecture
url: ../getting-started/index.md

- text: "Tutorial part 1: Display an image in a pop-up"
- text: "Sample: Display an image in a pop-up"
url: ../getting-started/part1-simple-extension.md

- text: "Tutorial part 2: Use JavaScript to insert an image in the webpage"
- text: "Sample: Insert an image in the webpage"
url: ../getting-started/part2-content-scripts.md

- text: Sideload an extension to install and test it locally
Expand Down
2 changes: 1 addition & 1 deletion microsoft-edge/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ conceptualContent:
url: ./extensions-chromium/publish/create-dev-account.md
itemType: how-to-guide

- text: "Tutorial part 1: Display an image in a pop-up"
- text: "Sample: Display an image in a pop-up"
url: ./extensions-chromium/getting-started/part1-simple-extension.md
itemType: how-to-guide

Expand Down
4 changes: 2 additions & 2 deletions microsoft-edge/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,10 @@
- name: Extension concepts and architecture
href: extensions-chromium/getting-started/index.md

- name: "Tutorial part 1: Display an image in a pop-up"
- name: "Sample: Display an image in a pop-up"
href: extensions-chromium/getting-started/part1-simple-extension.md

- name: "Tutorial part 2: Use JavaScript to insert an image in the webpage"
- name: "Sample: Insert an image in the webpage"
href: extensions-chromium/getting-started/part2-content-scripts.md

- name: Sideload an extension to install and test it locally
Expand Down