From 5b509020a76cce2806b0e8d5a2218ebd95e65a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Femen=C3=ADa?= <131800808+pablf@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:10:05 +0100 Subject: [PATCH] Update zio-sbt-website and generate README (#347) * update zio-sbt-website * fix version * fix header * remove deprecated part of workflow --------- Co-authored-by: pablf --- .github/workflows/site.yml | 4 ---- README.md | 4 ++-- build.sbt | 1 - project/plugins.sbt | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 3550fbec..ec591e70 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -27,10 +27,6 @@ jobs: distribution: temurin java-version: 17 check-latest: true - - name: Check if the README file is up to date - run: sbt docs/checkReadme - - name: Check if the site workflow is up to date - run: sbt docs/checkGithubWorkflow - name: Check artifacts build process run: sbt +publishLocal - name: Check website build process diff --git a/README.md b/README.md index b870e247..2a6adb1f 100644 --- a/README.md +++ b/README.md @@ -123,11 +123,11 @@ Learn more on the [ZIO CLI homepage](https://zio.dev/zio-cli/)! ## 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). ## 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/build.sbt b/build.sbt index 61e00a40..1e23718a 100644 --- a/build.sbt +++ b/build.sbt @@ -107,7 +107,6 @@ lazy val docs = project projectName := "ZIO CLI", mainModuleName := (zioCli.jvm / moduleName).value, projectStage := ProjectStage.Experimental, - docsPublishBranch := "master", ScalaUnidoc / unidoc / unidocProjectFilter := inProjects(zioCli.jvm) ) .dependsOn(zioCli.jvm) diff --git a/project/plugins.sbt b/project/plugins.sbt index c6003979..44f30554 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -14,6 +14,6 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.6") addSbtPlugin("org.scalameta" % "sbt-native-image" % "0.3.2") -addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.6") +addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.4.0-alpha.22") resolvers += Resolver.sonatypeRepo("public")