From 9a922ed422940b8288475d9c855f886b7bfdf161 Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Fri, 29 Nov 2024 16:51:18 +0000 Subject: [PATCH] Deploy website Deploy website version based on 83469864b7e38ddb267e02cab1634e0bb9cd797c --- docs/getting-started.html | 2 +- docs/reference.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting-started.html b/docs/getting-started.html index 390bc620..076923f8 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -88,7 +88,7 @@ classes, just like HOCON and JSON configuration.

Quick start

-
libraryDependencies += "org.scalameta" %% "metaconfig-typesafe-config" % "0.13.0-59-51471011-SNAPSHOT"
+
libraryDependencies += "org.scalameta" %% "metaconfig-typesafe-config" % "0.13.0-60-83469864-SNAPSHOT"
 

Next, write a case class for your user configuration.

import metaconfig._
diff --git a/docs/reference.html b/docs/reference.html
index 2056673a..fcc2a4e4 100644
--- a/docs/reference.html
+++ b/docs/reference.html
@@ -83,10 +83,10 @@
 
  • https://github.com/pureconfig/pureconfig
  • Getting started

    -
    libraryDependencies += "org.scalameta" %% "metaconfig-core" % "0.13.0-59-51471011-SNAPSHOT"
    +
    libraryDependencies += "org.scalameta" %% "metaconfig-core" % "0.13.0-60-83469864-SNAPSHOT"
     
     // Use https://github.com/lightbend/config to parse HOCON
    -libraryDependencies += "org.scalameta" %% "metaconfig-typesafe-config" % "0.13.0-59-51471011-SNAPSHOT"
    +libraryDependencies += "org.scalameta" %% "metaconfig-typesafe-config" % "0.13.0-60-83469864-SNAPSHOT"
     

    Use this import to access the metaconfig API

    import metaconfig._
    @@ -336,7 +336,7 @@ 

    if (file.exists()) Configured.ok(file) else ConfError.fileDoesNotExist(file).notOk } -// fileDecoder: ConfDecoder[java.io.File] = metaconfig.ConfDecoder$$anonfun$flatMap$2@31f96531 +// fileDecoder: ConfDecoder[java.io.File] = metaconfig.ConfDecoder$$anonfun$flatMap$2@6d80b5a9 fileDecoder.read(Conf.fromString(".scalafmt.conf")) // res11: Configured[java.io.File] = Ok(value = .scalafmt.conf) fileDecoder.read(Conf.fromString(".foobar")) @@ -379,7 +379,7 @@

    implicit val encoder: ConfEncoder[User] = generic.deriveEncoder[User] -// encoder: ConfEncoder[User] = repl.MdocSession$MdocApp$$anon$1@662520c7 +// encoder: ConfEncoder[User] = repl.MdocSession$MdocApp$$anon$1@637b7d52 ConfEncoder[User].write(User("John", 42)) // res13: Conf = Obj( @@ -724,7 +724,7 @@

    Docs

    To generate documentation for you configuration, add a dependency to the following module

    -
    libraryDependencies += "org.scalameta" %% "metaconfig-docs" % "0.13.0-59-51471011-SNAPSHOT"
    +
    libraryDependencies += "org.scalameta" %% "metaconfig-docs" % "0.13.0-60-83469864-SNAPSHOT"
     

    First define your configuration

    import metaconfig._