From 80790f45c873c45278a3dbfe8cf10ea85493bb30 Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Tue, 18 Jun 2024 16:13:50 +0000 Subject: [PATCH] Deploy website Deploy website version based on 7c78b867f482fd3863a1d212742971096feeac9d --- 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 0a0976d8..d210e6dc 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 += "com.geirsson" %% "metaconfig-typesafe-config" % "0.12.0-59-b18038f1-SNAPSHOT"
+
libraryDependencies += "com.geirsson" %% "metaconfig-typesafe-config" % "0.12.0-65-7c78b867-SNAPSHOT"
 

Next, write a case class for your user configuration.

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

    -
    libraryDependencies += "com.geirsson" %% "metaconfig-core" % "0.12.0-59-b18038f1-SNAPSHOT"
    +
    libraryDependencies += "com.geirsson" %% "metaconfig-core" % "0.12.0-65-7c78b867-SNAPSHOT"
     
     // Use https://github.com/lightbend/config to parse HOCON
    -libraryDependencies += "com.geirsson" %% "metaconfig-typesafe-config" % "0.12.0-59-b18038f1-SNAPSHOT"
    +libraryDependencies += "com.geirsson" %% "metaconfig-typesafe-config" % "0.12.0-65-7c78b867-SNAPSHOT"
     

    Use this import to access the metaconfig API

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

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

    implicit val encoder: ConfEncoder[User] = generic.deriveEncoder[User] -// encoder: ConfEncoder[User] = repl.MdocSession$MdocApp$$anon$1@64164b4c +// encoder: ConfEncoder[User] = repl.MdocSession$MdocApp$$anon$1@3efb1daf ConfEncoder[User].write(User("John", 42)) // res13: Conf = Obj( @@ -708,7 +708,7 @@

    Docs

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

    -
    libraryDependencies += "com.geirsson" %% "metaconfig-docs" % "0.12.0-59-b18038f1-SNAPSHOT"
    +
    libraryDependencies += "com.geirsson" %% "metaconfig-docs" % "0.12.0-65-7c78b867-SNAPSHOT"
     

    First define your configuration

    import metaconfig._