From 3322021dd13026b21719e7d4b3ec4000c4474cff Mon Sep 17 00:00:00 2001 From: Raghd Hamzeh Date: Mon, 26 Feb 2024 22:13:59 -0500 Subject: [PATCH] chore: use slack instead of discord --- README.md | 5 ++--- config/common/config.base.json | 5 +---- config/common/files/README.mustache | 8 ++++---- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fbf6fc74..07e5a4de 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ # OpenFGA Client SDK Generator [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE) -[![Discord Server](https://img.shields.io/discord/759188666072825867?color=7289da&logo=discord "Discord Server")](https://discord.gg/8naAwJfWN6) +[![Join our community](https://img.shields.io/badge/slack-cncf_%23openfga-40abb8.svg?logo=slack)](https://openfga.dev/community) [![Twitter](https://img.shields.io/twitter/follow/openfga?color=%23179CF0&logo=twitter&style=flat-square "@openfga on Twitter")](https://twitter.com/openfga) -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fopenfga%2Fsdk-generator.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fopenfga%2Fsdk-generator?ref=badge_shield) This is the main generator responsible for generating the OpenFGA SDKs from the [OpenFGA OpenAPIv2 Document](https://github.com/openfga/api/blob/main/docs/openapiv2/apidocs.swagger.json). @@ -38,7 +37,7 @@ OpenFGA is designed to make it easy for application builders to model their perm - [OpenFGA Documentation](https://openfga.dev/docs) - [OpenFGA API Documentation](https://openfga.dev/api/service) - [Twitter](https://twitter.com/openfga) -- [OpenFGA Discord Community](https://discord.gg/8naAwJfWN6) +- [OpenFGA Community](https://openfga.dev/community) - [Zanzibar Academy](https://zanzibar.academy) - [Google's Zanzibar Paper (2019)](https://research.google/pubs/pub48190/) diff --git a/config/common/config.base.json b/config/common/config.base.json index c18e48f5..bb526b7d 100644 --- a/config/common/config.base.json +++ b/config/common/config.base.json @@ -13,7 +13,7 @@ "gitHost": "github.com", "gitUserId": "openfga", "userAgent": "openfga-sdk $sdk_language/$package_version", - "supportInfo": "https://discord.gg/8naAwJfWN6", + "supportInfo": "https://openfga.dev/community", "docsUrl": "https://openfga.dev/docs", "apiDocsUrl": "https://openfga.dev/api/service", "websiteUrl": "https://openfga.dev", @@ -22,9 +22,6 @@ "licenseId": "Apache-2.0", "licenseBadgeId": "Apache_2.0", "twitterUserName": "openfga", - "discordUrl": "https://discord.gg/8naAwJfWN6", - "discordServerId": "759188666072825867", - "discordChannelId": "930524706854031421", "templateDir": "/config/template", "sampleApiDomain": "fga.example", "packageTags": [ diff --git a/config/common/files/README.mustache b/config/common/files/README.mustache index 5136b76e..8e668058 100644 --- a/config/common/files/README.mustache +++ b/config/common/files/README.mustache @@ -3,7 +3,7 @@ {{>README_custom_badges}}[![Release](https://img.shields.io/github/v/release/{{gitUserId}}/{{gitRepoId}}?sort=semver&color=green)](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/releases) {{#licenseBadgeId}}[![License](https://img.shields.io/badge/License-{{licenseBadgeId}}-blue.svg)](./LICENSE){{/licenseBadgeId}} [![FOSSA Status](https://app.fossa.com/api/projects/git%2B{{gitHost}}%2F{{gitUserId}}%2F{{gitRepoId}}.svg?type=shield)](https://app.fossa.com/projects/git%2B{{gitHost}}%2F{{gitUserId}}%2F{{gitRepoId}}?ref=badge_shield) -{{#discordServerId}}[![Discord Server](https://img.shields.io/discord/{{discordServerId}}?color=7289da&logo=discord "Discord Server")]({{discordUrl}}){{/discordServerId}} +[![Join our community](https://img.shields.io/badge/slack-cncf_%23openfga-40abb8.svg?logo=slack)](https://openfga.dev/community) {{#twitterUserName}}[![Twitter](https://img.shields.io/twitter/follow/{{.}}?color=%23179CF0&logo=twitter&style=flat-square "@{{.}} on Twitter")](https://twitter.com/{{.}}){{/twitterUserName}} {{#packageDetailedDescription}} @@ -67,9 +67,9 @@ {{#redditUrl}} - [{{appName}} Subreddit]({{redditUrl}}) {{/redditUrl}} -{{#discordUrl}} -- [{{appName}} Discord Community]({{discordUrl}}) -{{/discordUrl}} +{{#supportInfo}} +- [{{appName}} Community]({{supportInfo}}) +{{/supportInfo}} - [Zanzibar Academy](https://zanzibar.academy) - [Google's Zanzibar Paper (2019)](https://research.google/pubs/pub48190/)