Skip to content

Commit

Permalink
chore: docs (#1111)
Browse files Browse the repository at this point in the history
* chore: meta image

* chore: clone monitor docs
  • Loading branch information
mxkaske authored Nov 24, 2024
1 parent 80379c8 commit 403afa9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import sitemap from "@astrojs/sitemap";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// @ts-check
import { defineConfig } from "astro/config";
import starlightSidebarTopics from "starlight-sidebar-topics";
import Icons from "unplugin-icons/vite";
Expand Down Expand Up @@ -69,6 +68,10 @@ export default defineConfig({
label: "Group your monitors",
slug: "monitoring/group-monitor-tag",
},
{
label: "Clone a monitor",
slug: "monitoring/clone-monitor",
},
{
label: "Monitor Types",
collapsed: true,
Expand Down
Binary file added apps/docs/src/assets/monitor/clone-monitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/docs/src/components/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const url = `https://openstatus.dev/api/og?title=${siteTitle}&description=${titl
<Default {...Astro.props}><slot /></Default>

<meta property="og:image" content={url} />
<meta name="twitter:image" content={url} />


<script is:inline defer data-domain="docs.openstatus.dev" src="https://plausible.io/js/script.js" />
Expand Down
18 changes: 18 additions & 0 deletions apps/docs/src/content/docs/monitoring/clone-monitor.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: How to clone a monitor?
description: "How to clone your first monitor with OpenStatus.dev"
---

import { Image } from 'astro:assets';
import monitorDetail from '../../../assets/monitor/clone-monitor.png';


Go to the **Monitors** page, click on three dots and the select the **Clone** button. This will create a new monitor with the same settings as the original monitor (including Status Page, Notifications and Tags).

By default, the cloned monitor will be in the **inactive** state to allow you to review the settings before activating it.

<Image
src={monitorDetail}
alt="Charts with status code and response time"
/>

0 comments on commit 403afa9

Please sign in to comment.