Skip to content

A platform for community discussion. Free, open, simple.

DEV: Use Meta image URLs in synced docs (#41670)

moin-Jana2a27e529e251
diff --git a/docs/developer-guides/assets/acceptance-tests-2.png b/docs/developer-guides/assets/acceptance-tests-2.png
new file mode 100644
index 00000000000..49d811434e7
Binary files /dev/null and b/docs/developer-guides/assets/acceptance-tests-2.png differ
diff --git a/docs/developer-guides/assets/admin-interface-1.png b/docs/developer-guides/assets/admin-interface-1.png
new file mode 100644
index 00000000000..d0a1d82168a
Binary files /dev/null and b/docs/developer-guides/assets/admin-interface-1.png differ
diff --git a/docs/developer-guides/assets/admin-interface-2.png b/docs/developer-guides/assets/admin-interface-2.png
new file mode 100644
index 00000000000..14eafa2f88b
Binary files /dev/null and b/docs/developer-guides/assets/admin-interface-2.png differ
diff --git a/docs/developer-guides/assets/admin-interface-3.png b/docs/developer-guides/assets/admin-interface-3.png
new file mode 100644
index 00000000000..a5ba7cb8442
Binary files /dev/null and b/docs/developer-guides/assets/admin-interface-3.png differ
diff --git a/docs/developer-guides/assets/basic-plugin-1.png b/docs/developer-guides/assets/basic-plugin-1.png
new file mode 100644
index 00000000000..fa766ac17a7
Binary files /dev/null and b/docs/developer-guides/assets/basic-plugin-1.png differ
diff --git a/docs/developer-guides/assets/color-scheme-1.png b/docs/developer-guides/assets/color-scheme-1.png
new file mode 100644
index 00000000000..b8273a79ebb
Binary files /dev/null and b/docs/developer-guides/assets/color-scheme-1.png differ
diff --git a/docs/developer-guides/assets/font-component-1.png b/docs/developer-guides/assets/font-component-1.png
new file mode 100644
index 00000000000..3d5291f638a
Binary files /dev/null and b/docs/developer-guides/assets/font-component-1.png differ
diff --git a/docs/developer-guides/assets/font-component-2.png b/docs/developer-guides/assets/font-component-2.png
new file mode 100644
index 00000000000..ba338a3c373
Binary files /dev/null and b/docs/developer-guides/assets/font-component-2.png differ
diff --git a/docs/developer-guides/assets/git-setup-1.png b/docs/developer-guides/assets/git-setup-1.png
new file mode 100644
index 00000000000..b8f0c321d3d
Binary files /dev/null and b/docs/developer-guides/assets/git-setup-1.png differ
diff --git a/docs/developer-guides/docs/04-plugins/01-basic-plugin.md b/docs/developer-guides/docs/04-plugins/01-basic-plugin.md
index 665b89494ae..947c6275b6e 100644
--- a/docs/developer-guides/docs/04-plugins/01-basic-plugin.md
+++ b/docs/developer-guides/docs/04-plugins/01-basic-plugin.md
@@ -46,7 +46,7 @@ Once you've restarted your local server, visit the url `/admin/plugins` (make su
If everything worked, you should see your plugin in the list:
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/4/7/47a4b274553bd1fb0bba2d2df699ac136ad6a5cc.png" width="690" height="104">
+![basic-plugin shown in the admin plugin list|690x104](/assets/basic-plugin-1.png)
Congratulations, you just created your first plugin!
diff --git a/docs/developer-guides/docs/04-plugins/04-git-setup.md b/docs/developer-guides/docs/04-plugins/04-git-setup.md
index dcf05bef44d..d4811f65106 100644
--- a/docs/developer-guides/docs/04-plugins/04-git-setup.md
+++ b/docs/developer-guides/docs/04-plugins/04-git-setup.md
@@ -16,7 +16,7 @@ We suggest that you use [git](https://git-scm.com/) as version control for your
Once you've created your Github account, visit [this url](https://github.com/new) to create a new repository. You can call it anything you want, but generally something that starts with `discourse-` is good. Make sure the repository is **public**. Here's how my screen looked:
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/3/8/38c2d794af363a8a9840cddc5ac8d92a24374b12.png" width="690" height="390">
+![GitHub new repository form|690x390](/assets/git-setup-1.png)
### Creating your local working folder
diff --git a/docs/developer-guides/docs/04-plugins/05-admin-interface.md b/docs/developer-guides/docs/04-plugins/05-admin-interface.md
index 0020bf00151..785fecab2fd 100644
--- a/docs/developer-guides/docs/04-plugins/05-admin-interface.md
+++ b/docs/developer-guides/docs/04-plugins/05-admin-interface.md
@@ -10,7 +10,7 @@ Previous tutorial: https://meta.discourse.org/t/developing-discourse-plugins-par
Sometimes [site settings](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-3-custom-settings/31115) aren't enough of an admin interface for your plugin to work the way you want. For example, if you install the [discourse-akismet](https://github.com/discourse/discourse-akismet) plugin, you might have noticed that it adds a navigation item to the admin plugins section in of your Discourse:
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/2/c/2c42d190a226fcc85a017ab802c0eaafc872a4f7.png" width="690" height="169">
+![Akismet navigation item in the admin plugins section|690x169](/assets/admin-interface-1.png)
In this tutorial we'll show you how to add an admin interface for your plugin. I'm going to call my plugin purple-tentacle, in honor of [one of my favorite computer games](https://en.wikipedia.org/wiki/Day_of_the_Tentacle). Seriously, **[I really love that game](https://twitter.com/eviltrout/status/627119973773746176)**!
@@ -97,7 +97,7 @@ en:
If you restart your development server, you should be able to visit `/admin/plugins` and you'll see our link! If you click it, you'll see the button to show our purple tentacle:
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/a/f/af2b79ca2649408553da39caf473d6715de99734.png" width="690" height="167">
+![Purple tentacle plugin page with its show button|690x167](/assets/admin-interface-2.png)
Unfortunately, when you click the button, nothing happens :(
@@ -135,7 +135,7 @@ export default class AdminPluginsPurpleTentacleController extends Controller {
And now when we refresh our page, clicking the button shows our animated character!
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/0/9/09dd726aea99bdb4783f785d0e8f611713b622be.png" width="647" height="462">
+![Animated purple tentacle shown after clicking the button|647x462](/assets/admin-interface-3.png)
I'll leave it as an extra exercise to the reader to add a button that hides the tentacle when clicked :smile:
diff --git a/docs/developer-guides/docs/04-plugins/06-acceptance-tests.md b/docs/developer-guides/docs/04-plugins/06-acceptance-tests.md
index c542e760be0..dff692cde63 100644
--- a/docs/developer-guides/docs/04-plugins/06-acceptance-tests.md
+++ b/docs/developer-guides/docs/04-plugins/06-acceptance-tests.md
@@ -12,7 +12,7 @@ Did you know that Discourse has two large test suites for its code base? On the
Assuming you have a development environment set up, if you visit the `http://localhost:3000/tests` URL you will start running the JavaScript test suite in your browser. One fun aspect is that you can see it testing the application in a miniature window in the bottom right corner:
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/6/2/62a63eca67d134def1580fd9fbd84ff62b531ee1.png" width="690" height="481">
+![JavaScript test suite running in the browser|690x481](/assets/acceptance-tests-2.png)
The Discourse application is built with **a lot** of tests that will begin running when you visit the `/tests` URL. So it may be helpful to filter your tests by the plugin you are working on. You can do that in the interface by clicking **Plugin** dropdown and selecting your plugin:
diff --git a/docs/developer-guides/docs/05-themes-components/23-font-component.md b/docs/developer-guides/docs/05-themes-components/23-font-component.md
index fd422cbdc1a..9812f0b3cca 100644
--- a/docs/developer-guides/docs/05-themes-components/23-font-component.md
+++ b/docs/developer-guides/docs/05-themes-components/23-font-component.md
@@ -113,13 +113,13 @@ git push
- In the `admin/customize/theme` screen import your theme from GitHub
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/4/2/421dbfd15c3f35c0d5a97ad1b6dc78dd1c094385.png" width="690" height="278">
+![Importing a theme from GitHub in the admin customize screen|690x278](/assets/font-component-1.png)
:confetti_ball:
You can now easily share fonts!
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/7/3/73748bb31adedc3dad3bd65c02d0e1554dc31eb5.png" width="235" height="499">
+![Font selection dropdown showing the shared fonts|235x499](/assets/font-component-2.png)
See also:
diff --git a/docs/developer-guides/docs/05-themes-components/31-color-scheme.md b/docs/developer-guides/docs/05-themes-components/31-color-scheme.md
index 69175db1345..9d1524f1c1d 100644
--- a/docs/developer-guides/docs/05-themes-components/31-color-scheme.md
+++ b/docs/developer-guides/docs/05-themes-components/31-color-scheme.md
@@ -12,7 +12,7 @@ Discourse now supports importing color schemes from remote repository. Here I wi
Head to `/admin/customize/colors` on your site and create a color scheme.
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/b/7/b7fced237ee399d52c634a3ab6fcc9416db65605.png" width="690" height="451">
+![Creating a color scheme in the admin colors screen|690x451](/assets/color-scheme-1.png)
Tips:
@@ -106,7 +106,7 @@ git push
- Delete your local color scheme
- In the `admin/customize/theme` screen import your theme from GitHub
-<img src="//assets-meta-cdck-prod-meta.s3.dualstack.us-west-1.amazonaws.com/original/3X/4/2/421dbfd15c3f35c0d5a97ad1b6dc78dd1c094385.png" width="690" height="278">
+![Importing a theme from GitHub in the admin customize screen|690x278](/assets/font-component-1.png)
- Visit `admin/customize/colors` and ensure your color scheme looks correct.