From 92d2641f899becea2934b28fc6ce43d78fefd534 Mon Sep 17 00:00:00 2001 From: Philipp Korn Date: Mon, 30 Oct 2023 11:47:30 +0100 Subject: [PATCH] fix PhoneType generated example, add link to basic example --- docs/src/main/markdown/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/markdown/getting-started.md b/docs/src/main/markdown/getting-started.md index ab808412b..fb1c65920 100644 --- a/docs/src/main/markdown/getting-started.md +++ b/docs/src/main/markdown/getting-started.md @@ -30,7 +30,7 @@ Protocol buffers are the flexible, efficient, automated solution to solve exactl ## Where to Find the Example Code The example code for this tutorial is under the `examples/basic` directory -in ScalaPB's repo. To get your copy: +in [ScalaPB's repo](https://github.com/scalapb/ScalaPB/tree/master/examples/basic). To get your copy: ```bash git clone https://github.com/scalapb/ScalaPB.git @@ -135,7 +135,7 @@ object PhoneType { case object HOME extends PhoneType(1) { val index = 1 val name = "HOME" - override def isMobile: Boolean = true + override def isHome: Boolean = true } // ...