From 37c64dd17fa0d9c37c04a0b983e91363c4e07bb1 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sun, 17 Mar 2024 19:34:52 +0700 Subject: [PATCH] feat: check stars at a different time --- apps/cron/src/tasks/check.stars.ts | 2 +- apps/docs/mint.json | 23 ++++++++++++++++++++--- apps/docs/use/analytics.mdx | 5 +++++ apps/docs/use/billing.mdx | 5 +++++ apps/docs/use/calendar.mdx | 5 +++++ apps/docs/use/scheduling.mdx | 5 +++++ apps/docs/use/settings.mdx | 4 ++++ 7 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 apps/docs/use/analytics.mdx create mode 100644 apps/docs/use/billing.mdx create mode 100644 apps/docs/use/calendar.mdx create mode 100644 apps/docs/use/scheduling.mdx create mode 100644 apps/docs/use/settings.mdx diff --git a/apps/cron/src/tasks/check.stars.ts b/apps/cron/src/tasks/check.stars.ts index 5c5a9f29..6e77a9ba 100644 --- a/apps/cron/src/tasks/check.stars.ts +++ b/apps/cron/src/tasks/check.stars.ts @@ -9,7 +9,7 @@ export class CheckStars { private _starsService: StarsService, private _workerServiceProducer: BullMqClient ) {} - @Cron('0 0 * * *') + @Cron('30 0 * * *') async checkStars() { const allGitHubRepositories = await this._starsService.getAllGitHubRepositories(); diff --git a/apps/docs/mint.json b/apps/docs/mint.json index 072b4735..c66ad9d0 100644 --- a/apps/docs/mint.json +++ b/apps/docs/mint.json @@ -34,7 +34,7 @@ }, "topbarCtaButton": { "type": "github", - "url": "https://github.com/gitoomhq/gitroom" + "url": "https://github.com/gitroomhq/gitroom" }, "anchors": [ { @@ -50,7 +50,19 @@ ], "navigation": [ { - "group": "Developers", + "group": "How to use Gitroom", + "pages": [ + "use/analytics", + { + "group": "Launches", + "pages": ["use/calendar", "use/scheduling"] + }, + "use/settings", + "use/billing" + ] + }, + { + "group": "Self Hosting", "pages": [ "introduction", "quickstart", @@ -60,7 +72,12 @@ "providers/how-to-add-provider", { "group": "Providers", - "pages": ["providers/x/x", "providers/linkedin/linkedin", "providers/reddit/reddit", "providers/articles"] + "pages": [ + "providers/x/x", + "providers/linkedin/linkedin", + "providers/reddit/reddit", + "providers/articles" + ] } ] } diff --git a/apps/docs/use/analytics.mdx b/apps/docs/use/analytics.mdx new file mode 100644 index 00000000..1c15b56b --- /dev/null +++ b/apps/docs/use/analytics.mdx @@ -0,0 +1,5 @@ +--- +title: Analytics +--- + + diff --git a/apps/docs/use/billing.mdx b/apps/docs/use/billing.mdx new file mode 100644 index 00000000..1a206e24 --- /dev/null +++ b/apps/docs/use/billing.mdx @@ -0,0 +1,5 @@ +--- +title: Billing +--- + + diff --git a/apps/docs/use/calendar.mdx b/apps/docs/use/calendar.mdx new file mode 100644 index 00000000..b8f95864 --- /dev/null +++ b/apps/docs/use/calendar.mdx @@ -0,0 +1,5 @@ +--- +title: Calendar +--- + + diff --git a/apps/docs/use/scheduling.mdx b/apps/docs/use/scheduling.mdx new file mode 100644 index 00000000..8ebe675e --- /dev/null +++ b/apps/docs/use/scheduling.mdx @@ -0,0 +1,5 @@ +--- +title: Scheduling +--- + + diff --git a/apps/docs/use/settings.mdx b/apps/docs/use/settings.mdx new file mode 100644 index 00000000..2372f49e --- /dev/null +++ b/apps/docs/use/settings.mdx @@ -0,0 +1,4 @@ +--- +title: Settings +--- +