From 582d774ac9de6e81c66be68fe218d9f8e9ea0600 Mon Sep 17 00:00:00 2001 From: Stijn van Houwelingen Date: Tue, 16 Apr 2024 20:18:23 +0200 Subject: [PATCH] docs: Updated docs to include option of static abstract methods. Changed order to reflect code --- docs/syntax/classDiagram.md | 3 ++- packages/mermaid/src/docs/syntax/classDiagram.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/syntax/classDiagram.md b/docs/syntax/classDiagram.md index ed15922f13..0327b96fe0 100644 --- a/docs/syntax/classDiagram.md +++ b/docs/syntax/classDiagram.md @@ -285,8 +285,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function > _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type: > -> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` > - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$` +> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` +> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*` > _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end: > diff --git a/packages/mermaid/src/docs/syntax/classDiagram.md b/packages/mermaid/src/docs/syntax/classDiagram.md index 029d11b540..d856f90563 100644 --- a/packages/mermaid/src/docs/syntax/classDiagram.md +++ b/packages/mermaid/src/docs/syntax/classDiagram.md @@ -173,8 +173,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function > _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type: > -> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` > - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$` +> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` +> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*` > _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end: >