From 892238327e2f228fb0d7dae967016dcc64a9f904 Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Sat, 3 Jun 2023 16:58:26 +0330 Subject: [PATCH] Fix contributor's guide and code of conduct links (#223) * update links for contributor guidelines and code of conduct in generateReadmeTask * run generateDocs manually * Revert "run generateDocs manually" This reverts commit 64b6dadd53f16f6f75bf263f04371aa2c3c8b8bc. * update readme. --------- Co-authored-by: NPCRUS --- README.md | 4 ++-- zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e650db86..f9903634 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ Learn more on the [ZIO SBT homepage](https://zio.dev/zio-sbt)! ## Contributing -For the general guidelines, see ZIO [contributor's guide](https://zio.dev/about/contributing). +For the general guidelines, see ZIO [contributor's guide](https://zio.dev/contributor-guidelines). #### TL;DR Before you submit a PR, make sure your tests are passing, and that the code is properly formatted @@ -256,7 +256,7 @@ sbt testPlugin ## Code of Conduct -See the [Code of Conduct](https://zio.dev/about/code-of-conduct) +See the [Code of Conduct](https://zio.dev/code-of-conduct) ## Support diff --git a/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala b/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala index 9df9cddb..b0361056 100644 --- a/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala +++ b/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala @@ -392,10 +392,10 @@ object WebsitePlugin extends sbt.AutoPlugin { s"""Learn more on the [$projectName homepage]($projectHomepageUrl)!""".stripMargin def readmeContributionSection: String = - """For the general guidelines, see ZIO [contributor's guide](https://zio.dev/about/contributing).""".stripMargin + """For the general guidelines, see ZIO [contributor's guide](https://zio.dev/contributor-guidelines).""".stripMargin def readmeCodeOfConductSection: String = - """See the [Code of Conduct](https://zio.dev/about/code-of-conduct)""".stripMargin + """See the [Code of Conduct](https://zio.dev/code-of-conduct)""".stripMargin def readmeSupportSection: String = """|Come chat with us on [![Badge-Discord]][Link-Discord].