Skip to content

Commit

Permalink
test: update snapshots for Markdown generator
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed May 18, 2024
1 parent d5d6a92 commit 15c2354
Show file tree
Hide file tree
Showing 90 changed files with 127 additions and 127 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# :warning:{ title="Deprecated" } `#!sds annotation` MyAnnotation1 {#tests.generation.markdown.annotations.deprecated.MyAnnotation1 data-toc-label='MyAnnotation1'}
# :warning:{ title="Deprecated" } <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation1` {#tests.generation.markdown.annotations.deprecated.MyAnnotation1 data-toc-label='[annotation] MyAnnotation1'}

!!! warning "Deprecated"

This annotation is deprecated.
This declaration is deprecated.

**Targets:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation1 {#tests.generation.markdown.annotations.documented.MyAnnotation1 data-toc-label='MyAnnotation1'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation1` {#tests.generation.markdown.annotations.documented.MyAnnotation1 data-toc-label='[annotation] MyAnnotation1'}

Description of MyAnnotation1.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation2 {#tests.generation.markdown.annotations.documented.MyAnnotation2 data-toc-label='MyAnnotation2'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation2` {#tests.generation.markdown.annotations.documented.MyAnnotation2 data-toc-label='[annotation] MyAnnotation2'}

Description of MyAnnotation2.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation3 {#tests.generation.markdown.annotations.documented.MyAnnotation3 data-toc-label='MyAnnotation3'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation3` {#tests.generation.markdown.annotations.documented.MyAnnotation3 data-toc-label='[annotation] MyAnnotation3'}

Description of MyAnnotation3.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation4 {#tests.generation.markdown.annotations.documented.MyAnnotation4 data-toc-label='MyAnnotation4'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation4` {#tests.generation.markdown.annotations.documented.MyAnnotation4 data-toc-label='[annotation] MyAnnotation4'}

Description of MyAnnotation4.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds enum` MyEnum1 {#tests.generation.markdown.annotations.documented.MyEnum1 data-toc-label='MyEnum1'}
# <code class="doc-symbol doc-symbol-enum"></code> `MyEnum1` {#tests.generation.markdown.annotations.documented.MyEnum1 data-toc-label='[enum] MyEnum1'}

??? quote "Stub code in `main.sdsstub`"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :test_tube:{ title="Experimental" } `#!sds annotation` MyAnnotation1 {#tests.generation.markdown.annotations.experimental.MyAnnotation1 data-toc-label='MyAnnotation1'}
# :test_tube:{ title="Experimental" } <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation1` {#tests.generation.markdown.annotations.experimental.MyAnnotation1 data-toc-label='[annotation] MyAnnotation1'}

**Targets:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation1 {#tests.generation.markdown.annotations.undocumented.MyAnnotation1 data-toc-label='MyAnnotation1'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation1` {#tests.generation.markdown.annotations.undocumented.MyAnnotation1 data-toc-label='[annotation] MyAnnotation1'}

**Targets:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation2 {#tests.generation.markdown.annotations.undocumented.MyAnnotation2 data-toc-label='MyAnnotation2'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation2` {#tests.generation.markdown.annotations.undocumented.MyAnnotation2 data-toc-label='[annotation] MyAnnotation2'}

**Parameters:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds annotation` MyAnnotation3 {#tests.generation.markdown.annotations.undocumented.MyAnnotation3 data-toc-label='MyAnnotation3'}
# <code class="doc-symbol doc-symbol-annotation"></code> `MyAnnotation3` {#tests.generation.markdown.annotations.undocumented.MyAnnotation3 data-toc-label='[annotation] MyAnnotation3'}

**Targets:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ search:
boost: 0.5
---

# :warning:{ title="Deprecated" } `#!sds abstract class` MyClass1 {#tests.generation.markdown.classes.deprecated.MyClass1 data-toc-label='MyClass1'}
# :warning:{ title="Deprecated" } <code class="doc-symbol doc-symbol-class"></code> `MyClass1` {#tests.generation.markdown.classes.deprecated.MyClass1 data-toc-label='[class] MyClass1'}

!!! warning "Deprecated"

This class is deprecated.
This declaration is deprecated.

??? quote "Stub code in `main.sdsstub`"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass1 {#tests.generation.markdown.classes.documented.MyClass1 data-toc-label='MyClass1'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass1` {#tests.generation.markdown.classes.documented.MyClass1 data-toc-label='[class] MyClass1'}

Description of MyClass1.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds class` MyClass2 {#tests.generation.markdown.classes.documented.MyClass2 data-toc-label='MyClass2'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass2` {#tests.generation.markdown.classes.documented.MyClass2 data-toc-label='[class] MyClass2'}

Description of MyClass2.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass3 {#tests.generation.markdown.classes.documented.MyClass3 data-toc-label='MyClass3'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass3` {#tests.generation.markdown.classes.documented.MyClass3 data-toc-label='[class] MyClass3'}

Description of MyClass3.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds class` MyClass4 {#tests.generation.markdown.classes.documented.MyClass4 data-toc-label='MyClass4'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass4` {#tests.generation.markdown.classes.documented.MyClass4 data-toc-label='[class] MyClass4'}

Description of MyClass4.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass5 {#tests.generation.markdown.classes.documented.MyClass5 data-toc-label='MyClass5'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass5` {#tests.generation.markdown.classes.documented.MyClass5 data-toc-label='[class] MyClass5'}

Description of MyClass5.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds abstract class` MyClass6 {#tests.generation.markdown.classes.documented.MyClass6 data-toc-label='MyClass6'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass6` {#tests.generation.markdown.classes.documented.MyClass6 data-toc-label='[class] MyClass6'}

Description of MyClass6.

Expand Down Expand Up @@ -56,13 +56,13 @@ Description of MyClass6.
}
```

## `#!sds attr` myAttribute1 {#tests.generation.markdown.classes.documented.MyClass6.myAttribute1 data-toc-label='myAttribute1'}
## <code class="doc-symbol doc-symbol-attribute"></code> `myAttribute1` {#tests.generation.markdown.classes.documented.MyClass6.myAttribute1 data-toc-label='[attribute] myAttribute1'}

Description of myAttribute1.

**Type:** [`MyClass1`][tests.generation.markdown.classes.documented.MyClass1]

## `#!sds fun` myFunction1 {#tests.generation.markdown.classes.documented.MyClass6.myFunction1 data-toc-label='myFunction1'}
## <code class="doc-symbol doc-symbol-function"></code> `myFunction1` {#tests.generation.markdown.classes.documented.MyClass6.myFunction1 data-toc-label='[function] myFunction1'}

Description of myFunction1.

Expand All @@ -72,13 +72,13 @@ Description of myFunction1.
@Pure fun myFunction1()
```

## `#!sds static attr` myAttribute2 {#tests.generation.markdown.classes.documented.MyClass6.myAttribute2 data-toc-label='myAttribute2'}
## <code class="doc-symbol doc-symbol-static-attribute"></code> `myAttribute2` {#tests.generation.markdown.classes.documented.MyClass6.myAttribute2 data-toc-label='[static-attribute] myAttribute2'}

Description of myAttribute2.

**Type:** `#!sds Float`

## `#!sds static fun` myFunction2 {#tests.generation.markdown.classes.documented.MyClass6.myFunction2 data-toc-label='myFunction2'}
## <code class="doc-symbol doc-symbol-static-function"></code> `myFunction2` {#tests.generation.markdown.classes.documented.MyClass6.myFunction2 data-toc-label='[static-function] myFunction2'}

Description of myFunction2.

Expand All @@ -93,7 +93,7 @@ search:
boost: 0.5
---

## `#!sds abstract class` MyClass7 {#tests.generation.markdown.classes.documented.MyClass6.MyClass7 data-toc-label='MyClass7'}
## <code class="doc-symbol doc-symbol-class"></code> `MyClass7` {#tests.generation.markdown.classes.documented.MyClass6.MyClass7 data-toc-label='[class] MyClass7'}

Description of MyClass7.

Expand All @@ -114,13 +114,13 @@ Description of MyClass7.
}
```

### `#!sds attr` myAttribut4 {#tests.generation.markdown.classes.documented.MyClass6.MyClass7.myAttribut4 data-toc-label='myAttribut4'}
### <code class="doc-symbol doc-symbol-attribute"></code> `myAttribut4` {#tests.generation.markdown.classes.documented.MyClass6.MyClass7.myAttribut4 data-toc-label='[attribute] myAttribut4'}

Description of myAttribute4.

**Type:** `#!sds Int`

### `#!sds attr` myAttribute3 {#tests.generation.markdown.classes.documented.MyClass6.MyClass7.myAttribute3 data-toc-label='myAttribute3'}
### <code class="doc-symbol doc-symbol-attribute"></code> `myAttribute3` {#tests.generation.markdown.classes.documented.MyClass6.MyClass7.myAttribute3 data-toc-label='[attribute] myAttribute3'}

Description of myAttribute3.

Expand All @@ -132,7 +132,7 @@ Description of myAttribute3.
// Example of myAttribute3.
```

## `#!sds enum` MyEnum1 {#tests.generation.markdown.classes.documented.MyClass6.MyEnum1 data-toc-label='MyEnum1'}
## <code class="doc-symbol doc-symbol-enum"></code> `MyEnum1` {#tests.generation.markdown.classes.documented.MyClass6.MyEnum1 data-toc-label='[enum] MyEnum1'}

Description of MyEnum1.

Expand All @@ -147,6 +147,6 @@ Description of MyEnum1.
}
```

### MyVariant1 {#tests.generation.markdown.classes.documented.MyClass6.MyEnum1.MyVariant1 data-toc-label='MyVariant1'}
### <code class="doc-symbol doc-symbol-variant"></code> `MyVariant1` {#tests.generation.markdown.classes.documented.MyClass6.MyEnum1.MyVariant1 data-toc-label='[variant] MyVariant1'}

Description of MyVariant1.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass7 {#tests.generation.markdown.classes.documented.MyClass7 data-toc-label='MyClass7'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass7` {#tests.generation.markdown.classes.documented.MyClass7 data-toc-label='[class] MyClass7'}

Description of MyClass7.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass8 {#tests.generation.markdown.classes.documented.MyClass8 data-toc-label='MyClass8'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass8` {#tests.generation.markdown.classes.documented.MyClass8 data-toc-label='[class] MyClass8'}

Description of MyClass8.

Expand All @@ -20,13 +20,13 @@ Description of MyClass8.
}
```

## `#!sds attr` myAttribute1 {#tests.generation.markdown.classes.documented.MyClass8.myAttribute1 data-toc-label='myAttribute1'}
## <code class="doc-symbol doc-symbol-attribute"></code> `myAttribute1` {#tests.generation.markdown.classes.documented.MyClass8.myAttribute1 data-toc-label='[attribute] myAttribute1'}

Description of myAttribute1.

**Type:** [`MyClass1`][tests.generation.markdown.classes.documented.MyClass1]

## `#!sds fun` myFunction1 {#tests.generation.markdown.classes.documented.MyClass8.myFunction1 data-toc-label='myFunction1'}
## <code class="doc-symbol doc-symbol-function"></code> `myFunction1` {#tests.generation.markdown.classes.documented.MyClass8.myFunction1 data-toc-label='[function] myFunction1'}

Description of myFunction1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# :test_tube:{ title="Experimental" } `#!sds abstract class` MyClass1 {#tests.generation.markdown.classes.experimental.MyClass1 data-toc-label='MyClass1'}
# :test_tube:{ title="Experimental" } <code class="doc-symbol doc-symbol-class"></code> `MyClass1` {#tests.generation.markdown.classes.experimental.MyClass1 data-toc-label='[class] MyClass1'}

??? quote "Stub code in `main.sdsstub`"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` Int {#safeds.lang.Int data-toc-label='Int'}
# <code class="doc-symbol doc-symbol-class"></code> `Int` {#safeds.lang.Int data-toc-label='[class] Int'}

**Parent type:** `#!sds Number`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` Number {#safeds.lang.Number data-toc-label='Number'}
# <code class="doc-symbol doc-symbol-class"></code> `Number` {#safeds.lang.Number data-toc-label='[class] Number'}

**Inheritors:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass1 {#tests.generation.markdown.classes.undocumented.MyClass1 data-toc-label='MyClass1'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass1` {#tests.generation.markdown.classes.undocumented.MyClass1 data-toc-label='[class] MyClass1'}

**Inheritors:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds class` MyClass2 {#tests.generation.markdown.classes.undocumented.MyClass2 data-toc-label='MyClass2'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass2` {#tests.generation.markdown.classes.undocumented.MyClass2 data-toc-label='[class] MyClass2'}

??? quote "Stub code in `main.sdsstub`"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass3 {#tests.generation.markdown.classes.undocumented.MyClass3 data-toc-label='MyClass3'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass3` {#tests.generation.markdown.classes.undocumented.MyClass3 data-toc-label='[class] MyClass3'}

**Type parameters:**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds class` MyClass4 {#tests.generation.markdown.classes.undocumented.MyClass4 data-toc-label='MyClass4'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass4` {#tests.generation.markdown.classes.undocumented.MyClass4 data-toc-label='[class] MyClass4'}

**Parameters:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass5 {#tests.generation.markdown.classes.undocumented.MyClass5 data-toc-label='MyClass5'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass5` {#tests.generation.markdown.classes.undocumented.MyClass5 data-toc-label='[class] MyClass5'}

**Parent type:** [`MyClass1`][tests.generation.markdown.classes.undocumented.MyClass1]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `#!sds abstract class` MyClass6 {#tests.generation.markdown.classes.undocumented.MyClass6 data-toc-label='MyClass6'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass6` {#tests.generation.markdown.classes.undocumented.MyClass6 data-toc-label='[class] MyClass6'}

**Inheritors:**

Expand All @@ -21,23 +21,23 @@
}
```

## `#!sds attr` myAttribute1 {#tests.generation.markdown.classes.undocumented.MyClass6.myAttribute1 data-toc-label='myAttribute1'}
## <code class="doc-symbol doc-symbol-attribute"></code> `myAttribute1` {#tests.generation.markdown.classes.undocumented.MyClass6.myAttribute1 data-toc-label='[attribute] myAttribute1'}

**Type:** `#!sds Int`

## `#!sds fun` myFunction1 {#tests.generation.markdown.classes.undocumented.MyClass6.myFunction1 data-toc-label='myFunction1'}
## <code class="doc-symbol doc-symbol-function"></code> `myFunction1` {#tests.generation.markdown.classes.undocumented.MyClass6.myFunction1 data-toc-label='[function] myFunction1'}

??? quote "Stub code in `main.sdsstub`"

```sds linenums="17"
@Pure fun myFunction1()
```

## `#!sds static attr` myAttribute2 {#tests.generation.markdown.classes.undocumented.MyClass6.myAttribute2 data-toc-label='myAttribute2'}
## <code class="doc-symbol doc-symbol-static-attribute"></code> `myAttribute2` {#tests.generation.markdown.classes.undocumented.MyClass6.myAttribute2 data-toc-label='[static-attribute] myAttribute2'}

**Type:** `#!sds Float`

## `#!sds static fun` myFunction2 {#tests.generation.markdown.classes.undocumented.MyClass6.myFunction2 data-toc-label='myFunction2'}
## <code class="doc-symbol doc-symbol-static-function"></code> `myFunction2` {#tests.generation.markdown.classes.undocumented.MyClass6.myFunction2 data-toc-label='[static-function] myFunction2'}

??? quote "Stub code in `main.sdsstub`"

Expand All @@ -50,15 +50,15 @@ search:
boost: 0.5
---

## `#!sds abstract class` MyClass7 {#tests.generation.markdown.classes.undocumented.MyClass6.MyClass7 data-toc-label='MyClass7'}
## <code class="doc-symbol doc-symbol-class"></code> `MyClass7` {#tests.generation.markdown.classes.undocumented.MyClass6.MyClass7 data-toc-label='[class] MyClass7'}

??? quote "Stub code in `main.sdsstub`"

```sds linenums="20"
class MyClass7
```

## `#!sds enum` MyEnum1 {#tests.generation.markdown.classes.undocumented.MyClass6.MyEnum1 data-toc-label='MyEnum1'}
## <code class="doc-symbol doc-symbol-enum"></code> `MyEnum1` {#tests.generation.markdown.classes.undocumented.MyClass6.MyEnum1 data-toc-label='[enum] MyEnum1'}

??? quote "Stub code in `main.sdsstub`"

Expand All @@ -68,4 +68,4 @@ search:
}
```

### MyVariant1 {#tests.generation.markdown.classes.undocumented.MyClass6.MyEnum1.MyVariant1 data-toc-label='MyVariant1'}
### <code class="doc-symbol doc-symbol-variant"></code> `MyVariant1` {#tests.generation.markdown.classes.undocumented.MyClass6.MyEnum1.MyVariant1 data-toc-label='[variant] MyVariant1'}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ search:
boost: 0.5
---

# `#!sds abstract class` MyClass7 {#tests.generation.markdown.classes.undocumented.MyClass7 data-toc-label='MyClass7'}
# <code class="doc-symbol doc-symbol-class"></code> `MyClass7` {#tests.generation.markdown.classes.undocumented.MyClass7 data-toc-label='[class] MyClass7'}

Description of MyClass7.

Expand All @@ -17,11 +17,11 @@ Description of MyClass7.
}
```

## `#!sds attr` myAttribute1 {#tests.generation.markdown.classes.undocumented.MyClass7.myAttribute1 data-toc-label='myAttribute1'}
## <code class="doc-symbol doc-symbol-attribute"></code> `myAttribute1` {#tests.generation.markdown.classes.undocumented.MyClass7.myAttribute1 data-toc-label='[attribute] myAttribute1'}

**Type:** `#!sds Int`

## `#!sds fun` myFunction1 {#tests.generation.markdown.classes.undocumented.MyClass7.myFunction1 data-toc-label='myFunction1'}
## <code class="doc-symbol doc-symbol-function"></code> `myFunction1` {#tests.generation.markdown.classes.undocumented.MyClass7.myFunction1 data-toc-label='[function] myFunction1'}

??? quote "Stub code in `main.sdsstub`"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# :warning:{ title="Deprecated" } `#!sds schema` MySchema1 {#tests.generation.markdown.deprecated.MySchema1 data-toc-label='MySchema1'}
# :warning:{ title="Deprecated" } <code class="doc-symbol doc-symbol-schema"></code> `MySchema1` {#tests.generation.markdown.deprecated.MySchema1 data-toc-label='[schema] MySchema1'}

!!! warning "Deprecated"

This schema is deprecated.
This declaration is deprecated.

??? quote "Stub code in `main.sdsstub`"

Expand Down
Loading

0 comments on commit 15c2354

Please sign in to comment.