ZIO SBT is an sbt plugin for ZIO projects. It provides high-level SBT utilities that simplify the development of ZIO applications.
Add the following lines to your plugin.sbt file:
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.0.2")Then you can enable it by using the following code in your build.sbt file:
enablePlugins(WebsitePlugin)ZIO SBT Website is an SBT plugin that has the following tasks:
sbt compileDocs— compile documentation insidedocsdirectory. The compilation result will be insidewebsite/docsdirectory.sbt installWebsite— creates a website for the project inside thewebsitedirectory.sbt previewWebsite— runs a local webserver that serves documentation locally on http://localhost:3000. By changing the documentation inside thedocsdirectory, the website will be reloaded with new content.sbt publishToNpm— publishes documentation inside thedocsdirectory to the npm registry.sbt generateGithubWorkflow— generates GitHub workflow which publishes documentation for each library release.sbt generateReadme— generate README.md file fromdocs/index.mdand sbt setting keys.
Learn more on the ZIO SBT homepage!
For the general guidelines, see ZIO contributor's guide.
Before you submit a PR, make sure your tests are passing, and that the code is properly formatted
sbt prepare
sbt testPlugin
See the Code of Conduct