You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/05/28 22:37:18 UTC
(causeway) 29/29: CAUSEWAY-2873 : fixes toc for petclinic
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch 2.0.0
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit e454153541482a5d3fc82be076592e10dae148fa
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Tue May 28 10:02:09 2024 +0100
CAUSEWAY-2873 : fixes toc for petclinic
---
antora/components/tutorials/modules/petclinic/nav.adoc | 4 +++-
.../modules/petclinic/pages/{_todo.adoc => graphql-api.txt} | 12 ++----------
.../modules/petclinic/pages/{_todo.adoc => todo.txt} | 0
core/adoc/modules/ROOT/partials/module-nav.adoc | 2 +-
4 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/antora/components/tutorials/modules/petclinic/nav.adoc b/antora/components/tutorials/modules/petclinic/nav.adoc
index c653e31ec2..a3424f4901 100644
--- a/antora/components/tutorials/modules/petclinic/nav.adoc
+++ b/antora/components/tutorials/modules/petclinic/nav.adoc
@@ -11,7 +11,7 @@
** xref:020-the-petclinic-domain.adoc#exercise-2-1-refactor-simpleobject-to-petowner[image:hand.png[] *2.1*: Refactor SimpleObject to PetOwner]
* xref:030-petowner-entity.adoc[PetOwner entity]
-** xref:030-petowner-entity.adoc#exercise-3-1-add-petowners-knownAs-property[image:hand.png[] *3.1*: Add PetOwner's name property]
+** xref:030-petowner-entity.adoc#exercise-3-1-add-petowners-knownAs-property[image:hand.png[] *3.1*: Add PetOwner's knownAs property]
** xref:030-petowner-entity.adoc#exercise-3-2-define-PetOwners-title-imperatively[image:hand.png[] *3.2*: Define PetOwner's title imperatively]
** xref:030-petowner-entity.adoc#exercise-3-3-remaining-PetOwner-properties[image:hand.png[] *3.3*: Add remaining `PetOwner` properties]
** xref:030-petowner-entity.adoc#exercise-3-4-list-new-properties-of-PetOwner[image:hand.png[] *3.4*: List new properties of PetOwner]
@@ -62,8 +62,10 @@
// LATER: other sections could include
+// * xref:todo.txt[]
// * xref:further-business-logic-worked-examples.txt[]
// * xref:commands-and-auditing.txt[]
// * xref:restful-api.txt[]
+// * xref:graphql-api.txt[]
// * xref:i18n.txt[i18n]
// * xref:architecture-rules.txt[]
diff --git a/antora/components/tutorials/modules/petclinic/pages/_todo.adoc b/antora/components/tutorials/modules/petclinic/pages/graphql-api.txt
similarity index 69%
copy from antora/components/tutorials/modules/petclinic/pages/_todo.adoc
copy to antora/components/tutorials/modules/petclinic/pages/graphql-api.txt
index d2f920205b..f9bcc82dec 100644
--- a/antora/components/tutorials/modules/petclinic/pages/_todo.adoc
+++ b/antora/components/tutorials/modules/petclinic/pages/graphql-api.txt
@@ -1,14 +1,6 @@
-= Ideas for the future...
+= GraphQL API
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-* more user-friendly error message if hit duplicate (enter two pet owners with same name)
-
-* refactor addPet to be an inline-mixin.
-
-* add an disable and a hide action
-
-* PetOwner#daysSinceLastVisit could be made into a mixin
-** eg if these marketing analytics were the responsibility of some other module.
+// LATER
diff --git a/antora/components/tutorials/modules/petclinic/pages/_todo.adoc b/antora/components/tutorials/modules/petclinic/pages/todo.txt
similarity index 100%
rename from antora/components/tutorials/modules/petclinic/pages/_todo.adoc
rename to antora/components/tutorials/modules/petclinic/pages/todo.txt
diff --git a/core/adoc/modules/ROOT/partials/module-nav.adoc b/core/adoc/modules/ROOT/partials/module-nav.adoc
index ad29d84a83..a8b3aae31f 100644
--- a/core/adoc/modules/ROOT/partials/module-nav.adoc
+++ b/core/adoc/modules/ROOT/partials/module-nav.adoc
@@ -1,5 +1,5 @@
* xref:core:ROOT:about.adoc[Overview]
** xref:core:_overview:about.adoc[Maven modules]
-//** xref:core:ROOT:_todo.adoc[]
+//** xref:core:ROOT:todo.txt[]