Skip to content

Commit

Permalink
Enable docs generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grryum committed Dec 11, 2023
1 parent bd1411b commit 5afa3de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
- name: Build project
run: sbt "testScoped ${{ matrix.scala }} JVM"

# - name: Generate docs
# if: matrix.scala == '2.13'
# run: sbt +${{ matrix.scala }} docs/mdoc
- name: Generate docs
if: matrix.scala == '2.13'
run: sbt ++${{ matrix.scala }} docs/mdoc

publish:
name: Publish Artifacts
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ lazy val docs = projectMatrix // new documentation project
.settings(
noPublishSettings,
macros,
tpolecatExcludeOptions ++= fatalWarningsOptions,
tpolecatScalacOptions += ScalacOption(s"-Wconf:cat=other-pure-statement:silent", _ >= ScalaVersion.V2_13_0),
ScalaUnidoc / unidoc / unidocProjectFilter := inProjects(allModuleRefs: _*),
ScalaUnidoc / unidoc / target := (LocalRootProject / baseDirectory).value / "website" / "static" / "api",
cleanFiles += (ScalaUnidoc / unidoc / target).value,
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ logLevel := Level.Warn

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0")

addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.7")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.1")

addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")

Expand Down

0 comments on commit 5afa3de

Please sign in to comment.