Skip to content

Commit

Permalink
Fix contributor's guide and code of conduct links (#223)
Browse files Browse the repository at this point in the history
* update links for contributor guidelines and code of conduct in generateReadmeTask

* run generateDocs manually

* Revert "run generateDocs manually"

This reverts commit 64b6dad.

* update readme.

---------

Co-authored-by: NPCRUS <npcrus@gmail.com>
  • Loading branch information
khajavi and NPCRUS authored Jun 3, 2023
1 parent 7a40d89 commit 8922383
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 8922383

Please # to comment.