docs: remove tests to avoid console output of exampleSite #612

This commit is contained in:
Sören Weber 2023-08-12 13:33:38 +02:00
parent 6e5ca298e7
commit 34951e25d2
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
74 changed files with 0 additions and 968 deletions

View file

@ -1,10 +0,0 @@
+++
archetype = "chapter"
hidden = true
title = "Tests"
weight = 5
+++
Some pages for internal testing of different styles
{{%children containerstyle="div" style="h2" description="true" %}}

View file

@ -1,7 +0,0 @@
+++
archetype = "chapter"
hidden = true
title = "Tests"
weight = 5
+++
{{< piratify >}}

View file

@ -1,8 +0,0 @@
+++
description = "Testing Attachments Shortcode"
title = "Attachments Shortcode Test"
+++
Our attachment shortcode is a source of pleasure...
{{%children containerstyle="div" style="h2" description="true" %}}

View file

@ -1,5 +0,0 @@
+++
description = "Test'n Attachments Shorrrtcode"
title = "Attachments Shorrrtcode Test"
+++
{{< piratify >}}

View file

@ -1 +0,0 @@
This is a small text

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Branch Test"
+++
{{% attachments /%}}

View file

@ -1 +0,0 @@
Harrr, nothn' to see herre

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Brrranch Test"
+++
{{% attachments /%}}

View file

@ -1 +0,0 @@
This is a small text

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Leaf Test"
+++
{{% attachments /%}}

View file

@ -1 +0,0 @@
Harrr, nothn' to see herre

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Leaf Test"
+++
{{% attachments /%}}

View file

@ -1 +0,0 @@
This is a small text

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Page Test"
+++
{{% attachments /%}}

View file

@ -1 +0,0 @@
Harrr, nothn' to see herre

View file

@ -1,5 +0,0 @@
+++
title = "Attachments Page Test"
+++
{{% attachments /%}}

View file

@ -1,3 +0,0 @@
+++
title = "1"
+++

View file

@ -1,3 +0,0 @@
+++
title = "1"
+++

View file

@ -1,3 +0,0 @@
+++
title = "10"
+++

View file

@ -1,3 +0,0 @@
+++
title = "11"
+++

View file

@ -1,3 +0,0 @@
+++
title = "11"
+++

View file

@ -1,3 +0,0 @@
+++
title = "12"
+++

View file

@ -1,3 +0,0 @@
+++
title = "13"
+++

View file

@ -1,3 +0,0 @@
+++
title = "14"
+++

View file

@ -1,3 +0,0 @@
+++
title = "15"
+++

View file

@ -1,3 +0,0 @@
+++
title = "16"
+++

View file

@ -1,3 +0,0 @@
+++
title = "17"
+++

View file

@ -1,3 +0,0 @@
+++
title = "18"
+++

View file

@ -1,3 +0,0 @@
+++
title = "19"
+++

View file

@ -1,3 +0,0 @@
+++
title = "2"
+++

View file

@ -1,3 +0,0 @@
+++
title = "2"
+++

View file

@ -1,3 +0,0 @@
+++
title = "20"
+++

View file

@ -1,3 +0,0 @@
+++
title = "21"
+++

View file

@ -1,3 +0,0 @@
+++
title = "22"
+++

View file

@ -1,3 +0,0 @@
+++
title = "23"
+++

View file

@ -1,3 +0,0 @@
+++
title = "24"
+++

View file

@ -1,3 +0,0 @@
+++
title = "25"
+++

View file

@ -1,3 +0,0 @@
+++
title = "26"
+++

View file

@ -1,3 +0,0 @@
+++
title = "27"
+++

View file

@ -1,3 +0,0 @@
+++
title = "28"
+++

View file

@ -1,3 +0,0 @@
+++
title = "29"
+++

View file

@ -1,3 +0,0 @@
+++
title = "3"
+++

View file

@ -1,3 +0,0 @@
+++
title = "3"
+++

View file

@ -1,3 +0,0 @@
+++
title = "30"
+++

View file

@ -1,3 +0,0 @@
+++
title = "4"
+++

View file

@ -1,3 +0,0 @@
+++
title = "4"
+++

View file

@ -1,3 +0,0 @@
+++
title = "5"
+++

View file

@ -1,3 +0,0 @@
+++
title = "5"
+++

View file

@ -1,3 +0,0 @@
+++
title = "6"
+++

View file

@ -1,3 +0,0 @@
+++
title = "6"
+++

View file

@ -1,3 +0,0 @@
+++
title = "7"
+++

View file

@ -1,3 +0,0 @@
+++
title = "7"
+++

View file

@ -1,3 +0,0 @@
+++
title = "8"
+++

View file

@ -1,3 +0,0 @@
+++
title = "8"
+++

View file

@ -1,3 +0,0 @@
+++
title = "9"
+++

View file

@ -1,3 +0,0 @@
+++
title = "9"
+++

View file

@ -1,6 +0,0 @@
+++
alwaysopen = false
title = "Chapters"
+++
Start your success story. Now!

View file

@ -1,5 +0,0 @@
+++
alwaysopen = false
title = "Chapters"
+++
{{< piratify >}}

View file

@ -1,6 +0,0 @@
+++
hidden = true
title = "The one and only hidden child"
+++
Placeholder...

View file

@ -1,5 +0,0 @@
+++
hidden = true
title = "Th' one an' only hidden child"
+++
{{< piratify >}}

View file

@ -1,279 +0,0 @@
+++
description = "Some testing for different styles used in syntax highlighting and preformatted blocks"
title = "Code"
+++
Some testing for different styles used in syntax highlighting and preformatted blocks.
## Inline Code
`This is some very long inline code. Where does it wrap?`
What about wrapping short inline code if multiple sections are written `side` `by` `side`?
What about wrapping short inline code if multiple sections are written `side`/`by`/`side`?
What about wrapping long inline code if multiple sections are written `side567` `by34567` `side567`?
What about wrapping long inline code if multiple sections are written `side567`/`by34567`/`side567`?
Can we just use a <code>simple HTML element </code>?
## Block Code
````
Code fences without any selected language
````
````json
{
"well": "some JSON in codefences in here"
}
````
<pre><code>{
"well": "some JSON in HTML elements here"
}
</code></pre>
````jsonxmylmsl
{
"well": "Code fences with non existing language"
}
````
## Block Preformatted
Some preformatted stuff with markdown indentation
<pre>
Some preformatted stuff in HTML elements
</pre>
## Nested Shortcode
### 1 Shortcode
#### %%
{{% highlight json "linenos=inline,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
#### <>
{{< highlight json "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
### 2 Shortcodes
#### %% %%
{{% tab title="json" %}}
{{% highlight html "hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{% /tab %}}
#### %% <>
{{% tab title="json" %}}
{{< highlight html "hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{% /tab %}}
#### <> %%
{{< tab title="json" >}}
{{% highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{< /tab >}}
#### <> <>
{{< tab title="json" >}}
{{< highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{< /tab >}}
### 3 Shortcodes
#### %% %% %%
{{% tabs %}}
{{% tab title="json" %}}
{{% highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{% /tab %}}
{{% /tabs %}}
#### %% %% <>
{{% tabs %}}
{{% tab title="json" %}}
{{< highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{% /tab %}}
{{% /tabs %}}
#### %% <> %%
{{% tabs %}}
{{< tab title="json" >}}
{{% highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{< /tab >}}
{{% /tabs %}}
#### %% <> <>
{{% tabs %}}
{{< tab title="json" >}}
{{< highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{< /tab >}}
{{% /tabs %}}
#### <> %% %%
{{< tabs >}}
{{% tab title="json" %}}
{{% highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{% /tab %}}
{{< /tabs >}}
#### <> %% <>
{{< tabs >}}
{{% tab title="json" %}}
{{< highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{% /tab %}}
{{< /tabs >}}
#### <> <> %%
{{< tabs >}}
{{< tab title="json" >}}
{{% highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" %}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{% /highlight %}}
{{< /tab >}}
{{< /tabs >}}
#### <> <> <>
{{< tabs >}}
{{< tab title="json" >}}
{{< highlight html "linenos=true,hl_lines=1 2,anchorlinenos=true" >}}
{
"Hello": "World" "Hello": "World" "Hello": "World"
}
{{< /highlight >}}
{{< /tab >}}
{{< /tabs >}}
## With Wrap
### LineNo Table
{{< highlight lineNos="table" type="py" wrap="true" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### LineNo Inline
{{< highlight lineNos="inline" type="py" wrap="true" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### No LineNo
{{< highlight type="py" wrap="true" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### No Type
{{< highlight wrap="true" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
## Without Wrap
### LineNo Table
{{< highlight lineNos="table" type="py" wrap="false" hl_lines="2">}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### LineNo Inline
{{< highlight lineNos="inline" type="py" wrap="false" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### No LineNo
{{< highlight type="py" wrap="false" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}
### No Type
{{< highlight wrap="false" hl_lines="2" >}}
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff
{{< /highlight >}}

View file

@ -1,5 +0,0 @@
+++
description = "Some test'n fer different styles used 'n rules highlightn'n an' preformatted blocks"
title = "Code"
+++
{{< piratify >}}

View file

@ -1,43 +0,0 @@
+++
description = "Test default settings for snippets of the VSCode Front Matter extension"
title = "VSCode Front Matter"
+++
## Empty Properties
{{< attachments title="" pattern="" sort="" style="" color="" icon="" />}}
{{< badge title="" style="" color="" icon="" >}}{{< /badge >}}
{{< button href="" target="" type="" style="" color="" icon="" iconposition="" >}}{{< /button >}}
{{< children description="" depth="" sort="" showhidden="" containerstyle="" style="" >}}
{{% expand title="" open="" %}}{{% /expand %}}
a{{< icon >}}a
{{< include file="" hidefirstheading="" >}}
````math align=""
````
````mermaid align="" zoom=""
````
{{% notice title="" style="" color="" icon="" %}}{{% /notice %}}
{{< siteparam >}}
{{< openapi src="" >}}
{{< tabs groupid="" >}}
{{% tab name="" %}}
{{% /tab %}}
{{% tab name="" %}}
{{% /tab %}}
{{< /tabs >}}

View file

@ -1,5 +0,0 @@
+++
description = "Test default settings for snippets of the VSCode Front Matter extension"
title = "VSCode Front Matter"
+++
{{< piratify >}}

View file

@ -1,66 +0,0 @@
+++
description = "Some testing for different styles of image links"
title = "Images"
+++
Some testing for different styles of image links.
## Markdown
### Resource SVG
![Magic](test.svg?classes=shadow)
### Relative to page
![Magic](magic.gif?classes=shadow)
### Relative to page up level
![Magic](../images/magic.gif?classes=shadow&height=50px)
### Static SVG
![Logo](/images/logo.svg?classes=shadow&height=50px)
### External fully qualified
![Minion](https://octodex.github.com/images/minion.png?classes=shadow&height=50px)
### External without scheme
![Minion](//octodex.github.com/images/minion.png?classes=shadow&height=50px)
### External without scheme and scheme separator
![Minion](octodex.github.com/images/minion.png?classes=shadow&height=50px)
## HTML
### Resource SVG
<p><img src="test.svg?classes=shadow"></p>
### Relative to page
<p><img src="magic.gif?classes=shadow"></p>
### Relative to page up level
<p><img src="../images/magic.gif?classes=shadow&height=50px"></p>
### Static SVG
<p><img src="/images/logo.svg?classes=shadow&height=50px"></p>
### External fully qualified
<p><img src="https://octodex.github.com/images/minion.png?classes=shadow&height=50px"></p>
### External without scheme
<p><img src="//octodex.github.com/images/minion.png?classes=shadow&height=50px"></p>
### External without scheme and scheme separator
<p><img src="octodex.github.com/images/minion.png?classes=shadow&height=50px"></p>

View file

@ -1,5 +0,0 @@
+++
description = "Some test'n fer different styles o' image links"
title = "Images"
+++
{{< piratify >}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,172 +0,0 @@
+++
description = "Test shortcodes inside of list items"
title = "Lists"
+++
## Plain
- one
- two
- two
and a half
- three
## Attachments
- one
- two
- {{% attachments style="blue" /%}}
{{% attachments style="blue" /%}}
- three
## Badge
- one
- two
- {{% badge color="fuchsia" icon="fab fa-hackerrank" %}}Awesome{{% /badge %}}&nbsp;
{{% badge color="fuchsia" icon="fab fa-hackerrank" %}}Awesome{{% /badge %}}
- three
## Button
- one
- two
- {{% button href="https://gohugo.io/" style="warning" icon="dragon" %}}Get Hugo{{% /button %}}&nbsp;
{{% button href="https://gohugo.io/" style="warning" icon="dragon" %}}Get Hugo{{% /button %}}
- three
## Children
- one
- two
- {{% children sort="weight" %}}
{{% children sort="weight" %}}
- three
## Expand
- one
- two
- {{% expand title="Expand me..." %}}Thank you!{{% /expand %}}
{{% expand title="Expand me..." %}}Thank you!{{% /expand %}}
- three
## Icon
- one
- two
- {{% icon icon="exclamation-triangle" %}}&nbsp;
{{% icon icon="exclamation-triangle" %}}
- three
## Include
- one
- two
- {{% include file="shortcodes/INCLUDE_ME.md" %}}
{{% include file="shortcodes/INCLUDE_ME.md" %}}
- three
## Math
- one
- two
- {{< math align="center" >}}
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
{{< /math >}}
{{< math align="center" >}}
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
{{< /math >}}
- three
## Mermaid
- one
- two
- {{< mermaid align="center" zoom="true" >}}
graph LR;
If --> Then
Then --> Else
{{< /mermaid >}}
{{< mermaid align="center" zoom="true" >}}
graph LR;
If --> Then
Then --> Else
{{< /mermaid >}}
- three
## Notice
- one
- two
- {{% notice style="primary" title="There may be pirates" icon="skull-crossbones" %}}
It is all about the boxes.
{{% /notice %}}
{{% notice style="primary" title="There may be pirates" icon="skull-crossbones" %}}
It is all about the boxes.
{{% /notice %}}
- three
## Siteparam
- one
- two
- {{% siteparam name="editURL" %}}
{{% siteparam name="editURL" %}}
- three
## Tabs
- one
- two
- {{< tabs >}}
{{% tab title="python" %}}
```python
print("Hello World!")
```
{{% /tab %}}
{{% tab title="bash" %}}
```bash
echo "Hello World!"
```
{{% /tab %}}
{{< /tabs >}}
{{< tabs >}}
{{% tab title="python" %}}
```python
print("Hello World!")
```
{{% /tab %}}
{{% tab title="bash" %}}
```bash
echo "Hello World!"
```
{{% /tab %}}
{{< /tabs >}}
- three

View file

@ -1,5 +0,0 @@
+++
description = "Test shortcodes inside of list items"
title = "Lists"
+++
{{< piratify >}}

View file

@ -1,157 +0,0 @@
+++
description = "Testing different markdown constructs inside of tables"
title = "Tables"
+++
## Lines and Paragraphs
| i |
|---|
| <p>HTML Paragraph I</p><p>HTML Paragraph II</p> |
| i |
|---|
| HTML Line I<br>HTML Line II |
| i |
|---|
| HTML Line I<br><br>HTML Line II |
| i |
|---|
| Markdown Multicell I |
| Markdown Multicell II |
## Headings
| i |
|---|
| <h1>HTML h1</h1> |
| i |
|---|
| <h2>HTML h2</h2> |
| i |
|---|
| <h3>HTML h3</h3> |
| i |
|---|
| <h4>HTML h4</h4> |
| i |
|---|
| <h5>HTML h5</h5> |
| i |
|---|
| <h6>HTML h6</h6> |
## Lists
| i |
|---|
| <ul><li>HTML List Item I</li><li>HTML List Item II</li></ul> |
## Code
| i |
|---|
| `Markdown Inline` |
| i |
|---|
| <code>HTML Inline</code> |
| i |
|---|
| <pre><code>HTML Block</code></pre> |
## Links & Images
| i |
|---|
| [Markdown Link](https://example.com) |
| i |
|---|
| https://example.com |
| i |
|---|
| ![Spock](https://octodex.github.com/images/spocktocat.png?classes=shadow&width=24px) |
## Other
| i |
|---|
| <blockquote>HTML Blockquote</blockquote> |
| i |
|---|
| <blockquote><p>HTML Blockquote with nested Paragraph</p></blockquote> |
| i |
|---|
| <hr> |
## Shortcodes
| i |
|---|
| {{% badge %}}Important{{% /badge %}} |
| i |
|---|
| {{% button href="https://gohugo.io/" %}}Get Hugo{{% /button %}} |
| i |
|---|
| {{% expand title="Expand me..." %}}Thank you!{{% /expand %}} |
| i |
|---|
| {{% icon heart %}} |
| i |
|---|
| {{% include file="/shortcodes/INCLUDE_ME.md" %}} |
| i |
|---|
| {{< math align="center" >}}
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
{{< /math >}} |
| i |
|---|
| {{< math >}}$\sqrt{3}${{< /math >}} |
| i |
|---|
| {{< mermaid align="center" >}}
graph LR;
If --> Then
Then --> Else
{{< /mermaid >}} |
| i |
|---|
| {{% siteparam name="editURL" %}} |
| i |
|---|
| {{< tabs >}}
{{% tab title="python" %}}
```python
print("Hello World!")
```
{{% /tab %}}
{{% tab title="bash" %}}
```bash
echo "Hello World!"
```
{{% /tab %}}
{{< /tabs >}} |

View file

@ -1,5 +0,0 @@
+++
description = "Testing different markdown constructs inside of tables"
title = "Tables"
+++
{{< piratify >}}

View file

@ -1,12 +0,0 @@
+++
description = "Test dynamic width resizing of content if scrollbar is present"
title = "Width"
+++
{{% notice primary %}}
Make a visible block
{{% /notice %}}
{{% notice primary %}}
And another one
{{% /notice %}}

View file

@ -1,5 +0,0 @@
+++
description = "Test dynamic width rrresizing o' content if scrrrollbar 's present"
title = "Width"
+++
{{< piratify >}}