@zio.dev/zio-sbt 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.md +3 -3
- package/package.json +1 -1
package/index.md
CHANGED
|
@@ -14,7 +14,7 @@ _ZIO SBT_ is an sbt plugin for ZIO projects. It provides high-level SBT utilitie
|
|
|
14
14
|
Add the following lines to your `plugin.sbt` file:
|
|
15
15
|
|
|
16
16
|
```scala
|
|
17
|
-
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.2.
|
|
17
|
+
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.2.2")
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then you can enable it by using the following code in your `build.sbt` file:
|
|
@@ -28,8 +28,8 @@ enablePlugins(WebsitePlugin)
|
|
|
28
28
|
ZIO SBT Website is an SBT plugin that has the following tasks:
|
|
29
29
|
|
|
30
30
|
- `sbt compileDocs`— compile documentation inside `docs` directory. The compilation result will be inside `website/docs` directory.
|
|
31
|
-
- `sbt installWebsite`— creates a website for the project inside the `website` directory
|
|
31
|
+
- `sbt installWebsite`— creates a website for the project inside the `website` directory.
|
|
32
32
|
- `sbt previewWebsite`— runs a local webserver that serves documentation locally on http://localhost:3000. By changing the documentation inside the `docs` directory, the website will be reloaded with new content.
|
|
33
33
|
- `sbt publishToNpm`— publishes documentation inside the `docs` directory to the npm registry.
|
|
34
34
|
- `sbt generateGithubWorkflow`— generates GitHub workflow which publishes documentation for each library release.
|
|
35
|
-
- `sbt generateReadme`— generate README.md file.
|
|
35
|
+
- `sbt generateReadme`— generate README.md file from `docs/index.md` and sbt setting keys.
|
package/package.json
CHANGED