@zio.dev/zio-sbt 0.1.1

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.
@@ -0,0 +1,10 @@
1
+ ---
2
+ id: developer-notes
3
+ title: "Developer Notes"
4
+ ---
5
+
6
+ ## Todo List
7
+
8
+ ### ZIO SBT Website
9
+ - Add a command to make a version history page in documentation
10
+
package/index.md ADDED
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: index
3
+ title: "ZIO SBT"
4
+ ---
5
+
6
+ _ZIO SBT_ is an sbt plugin for ZIO projects. It provides high-level SBT utilities that simplify the development of ZIO applications.
7
+
8
+ | Project Stage | CI | Release | Snapshot | Issues | Discord |
9
+ |---------------------------------------|-----------------|-----------------------------------------------------------------------|--------------------------------------------------------------------------|------------------------------------------------------------|----------------------------------|
10
+ | [![Project stage][Stage]][Stage-Page] | ![CI][Badge-CI] | [![Release Artifacts][Badge-SonatypeReleases]][Link-SonatypeReleases] | [![Snapshot Artifacts][Badge-SonatypeSnapshots]][Link-SonatypeSnapshots] | [![Average time to resolve an issue][badge-iim]][link-iim] | [![badge-discord]][link-discord] |
11
+
12
+
13
+ ## Installation
14
+
15
+ Add the following lines to your `plugin.sbt` file:
16
+
17
+ ```scala
18
+ addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.1.1")
19
+ ```
20
+
21
+ Then you can enable it by using the following code in your `build.sbt` file:
22
+
23
+ ```scala
24
+ enablePlugins(WebsitePlugin)
25
+ ```
26
+
27
+ ## ZIO SBT Website
28
+
29
+ ZIO SBT Website is an SBT plugin that has the following tasks:
30
+
31
+ - `sbt compileDocs`— compile documentation inside `docs` directory. The compilation result will be inside `website/docs` directory.
32
+ - `sbt installWebsite`— creates a website for the project inside the `website` directory
33
+ - `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.
34
+ - `sbt publishToNpm`— publishes documentation inside the `docs` directory to the npm registry.
35
+ - `sbt generateGithubWorkflow`— generates GitHub workflow which publishes documentation for each library release.
36
+ - `sbt generateReadme`— generate README.md file using `README.template.md` and `docs/index.md` files.
37
+
38
+ [Badge-CI]: https://github.com/zio/zio-sbt/workflows/CI/badge.svg
39
+ [Badge-SonatypeReleases]: https://img.shields.io/nexus/r/https/oss.sonatype.org/dev.zio/zio-sbt-website_2.12.svg "Sonatype Releases"
40
+ [Badge-SonatypeSnapshots]: https://img.shields.io/nexus/s/https/oss.sonatype.org/dev.zio/zio-sbt-website_2.12.svg "Sonatype Snapshots"
41
+ [Badge-Discord]: https://img.shields.io/discord/629491597070827530?logo=discord "chat on discord"
42
+ [Link-SonatypeReleases]: https://oss.sonatype.org/content/repositories/releases/dev/zio/zio-sbt_2.12_1.0/ "Sonatype Releases"
43
+ [Link-SonatypeSnapshots]: https://oss.sonatype.org/content/repositories/snapshots/dev/zio/zio-sbt-website_2.12_1.0/ "Sonatype Snapshots"
44
+ [badge-iim]: https://isitmaintained.com/badge/resolution/zio/zio-sbt.svg
45
+ [link-iim]: https://isitmaintained.com/project/zio/zio-sbt
46
+ [badge-discord]: https://img.shields.io/discord/630498701860929559?logo=discord "chat ondiscord"
47
+ [link-discord]: https://discord.gg/2ccFBr4 "Discord"
48
+ [Stage]: https://img.shields.io/badge/Project%20Stage-Development-yellowgreen.svg
49
+ [Stage-Page]: https://github.com/zio/zio/wiki/Project-Stages
package/package.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@zio.dev/zio-sbt",
3
+ "description": "ZIO SBT Documentation",
4
+ "license": "Apache-2.0",
5
+ "version": "0.1.1"
6
+ }
package/sidebars.js ADDED
@@ -0,0 +1,13 @@
1
+ const sidebars = {
2
+ sidebar: [
3
+ {
4
+ type: "category",
5
+ label: "ZIO Prelude",
6
+ collapsed: false,
7
+ link: { type: "doc", id: "index" },
8
+ items: [ ]
9
+ }
10
+ ]
11
+ };
12
+
13
+ module.exports = sidebars;