Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Use /include blocks for intro content.

Alya Abbott79dcd4594eee
diff --git a/starlight_help/src/content/docs/create-an-organization.mdx b/starlight_help/src/content/docs/create-an-organization.mdx
index a5d132a4f9f..05774883891 100644
--- a/starlight_help/src/content/docs/create-an-organization.mdx
+++ b/starlight_help/src/content/docs/create-an-organization.mdx
@@ -8,6 +8,7 @@ import ZulipNote from "../../components/ZulipNote.astro";
import CreateADemoOrganization from "../include/_CreateADemoOrganization.mdx";
import DemoOrgsConversion from "../include/_DemoOrgsConversion.mdx";
import DemoOrgsIntro from "../include/_DemoOrgsIntro.mdx";
+import ZulipCloudOnly from "../include/_ZulipCloudOnly.mdx";
It only takes a minute to create a new organization on Zulip Cloud, or on a
self-hosted Zulip server you've set up.
@@ -16,6 +17,8 @@ self-hosted Zulip server you've set up.
## Create a demo organization
+<ZulipCloudOnly />
+
<DemoOrgsConversion />
<CreateADemoOrganization />
diff --git a/starlight_help/src/content/docs/demo-organizations.mdx b/starlight_help/src/content/docs/demo-organizations.mdx
index 0ddb12b78a3..da46d8cdfa8 100644
--- a/starlight_help/src/content/docs/demo-organizations.mdx
+++ b/starlight_help/src/content/docs/demo-organizations.mdx
@@ -7,39 +7,21 @@ import {Steps} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipNote from "../../components/ZulipNote.astro";
+import CreateADemoOrganization from "../include/_CreateADemoOrganization.mdx";
+import DemoOrgsConversion from "../include/_DemoOrgsConversion.mdx";
+import DemoOrgsIntro from "../include/_DemoOrgsIntro.mdx";
import OwnerOnly from "../include/_OwnerOnly.mdx";
+import ZulipCloudOnly from "../include/_ZulipCloudOnly.mdx";
-<ZulipNote>
- **Note:** The ability to create demo organizations is an upcoming
- feature. It is not available yet.
-</ZulipNote>
+<ZulipCloudOnly />
-If you would like to try out Zulip without having to make any
-decisions (like how to name your organization or whether to import
-data from an existing chat tool), you can create a Zulip demo
-organization.
+<DemoOrgsIntro />
-Demo organizations differ from a regular Zulip organization in a few
-ways:
-
-* A demo organization will be automatically deleted 30 days after
- creation. You can [convert a demo organization into a regular
- organization](#convert-a-demo-organization-to-a-permanent-organization)
- if you'd prefer to keep its history.
-* You do not need to choose a URL or when creating a demo organization;
- one will be generated automatically for you.
-* A demo organization cannot be directly upgraded to a paid Zulip
- Cloud plan without first converting to a regular organization.
-
-Other than those limitations, they work exactly like a normal Zulip
-organization; you can invite additional users, connect the mobile
-apps, etc.
+<DemoOrgsConversion />
## Create a demo organization
-<Steps>
- 1. Go to zulip.com and click **New organization** in the top-right corner.
-</Steps>
+<CreateADemoOrganization />
## Configure an email for your account
diff --git a/starlight_help/src/content/docs/email-notifications.mdx b/starlight_help/src/content/docs/email-notifications.mdx
index 5cb68945e6c..b30fa279117 100644
--- a/starlight_help/src/content/docs/email-notifications.mdx
+++ b/starlight_help/src/content/docs/email-notifications.mdx
@@ -7,6 +7,7 @@ import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipNote from "../../components/ZulipNote.astro";
+import ZulipCloudOnly from "../include/_ZulipCloudOnly.mdx";
## Message notification emails
@@ -121,9 +122,7 @@ feel excessive.
## Low-traffic newsletter
-<ZulipNote>
- This feature is only available on Zulip Cloud.
-</ZulipNote>
+<ZulipCloudOnly />
Zulip sends out a low-traffic newsletter (expect 2-4 emails a year)
to Zulip Cloud users announcing major changes in Zulip.
diff --git a/starlight_help/src/content/include/_ZulipCloudOnly.mdx b/starlight_help/src/content/include/_ZulipCloudOnly.mdx
new file mode 100644
index 00000000000..3ce7dd9ae3a
--- /dev/null
+++ b/starlight_help/src/content/include/_ZulipCloudOnly.mdx
@@ -0,0 +1,5 @@
+import ZulipNote from "../../components/ZulipNote.astro";
+
+<ZulipNote>
+ This feature is only available on Zulip Cloud.
+</ZulipNote>