From 3ece3956cde86dfe33a0bd2a1dec685fcb61eeab Mon Sep 17 00:00:00 2001 From: Cody Allen Date: Tue, 18 Apr 2017 07:23:33 -0400 Subject: [PATCH 1/2] Include Id docs in the menu I've also moved the Id doc from the typeclasses dir to the datatypes dir, which seems like a better fit to me. This was inspired by [a prompt](https://gitter.im/typelevel/cats?at=58f5de53ad849bcf4295d321) in the Cats Gitter channel from @BenFradet. @BenFradet could you please review? --- docs/src/main/resources/microsite/data/menu.yml | 4 ++++ docs/src/main/tut/{typeclasses => datatypes}/id.md | 0 2 files changed, 4 insertions(+) rename docs/src/main/tut/{typeclasses => datatypes}/id.md (100%) diff --git a/docs/src/main/resources/microsite/data/menu.yml b/docs/src/main/resources/microsite/data/menu.yml index 7578bc5332..dcf3be3c0d 100644 --- a/docs/src/main/resources/microsite/data/menu.yml +++ b/docs/src/main/resources/microsite/data/menu.yml @@ -121,6 +121,10 @@ options: url: datatypes/freemonad.html menu_type: data + - title: Id + url: datatypes/id.html + menu_type: data + - title: Kleisli url: datatypes/kleisli.html menu_type: data diff --git a/docs/src/main/tut/typeclasses/id.md b/docs/src/main/tut/datatypes/id.md similarity index 100% rename from docs/src/main/tut/typeclasses/id.md rename to docs/src/main/tut/datatypes/id.md From e3a47376f3209718d1c0e82d988cd782d8a488ed Mon Sep 17 00:00:00 2001 From: Cody Allen Date: Tue, 18 Apr 2017 07:56:51 -0400 Subject: [PATCH 2/2] Fix section for Id doc --- docs/src/main/tut/datatypes/id.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/tut/datatypes/id.md b/docs/src/main/tut/datatypes/id.md index eb065e3196..ff91eae8bc 100644 --- a/docs/src/main/tut/datatypes/id.md +++ b/docs/src/main/tut/datatypes/id.md @@ -1,7 +1,7 @@ --- layout: docs title: "Id" -section: "typeclasses" +section: "data" source: "core/src/main/scala/cats/package.scala" scaladoc: "#cats.Id$" ---