Skip to content

Commit

Permalink
Testing content
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChinchilla committed Aug 13, 2020
1 parent 40d6f9f commit ce92f32
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 1 deletion.
42 changes: 42 additions & 0 deletions docs-beta/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
+++
title = "Home"
date = 2020-04-01T19:26:56-04:00
weight = 4
chapter = false
+++

{{< tabs name="tab_with_md" >}}
{{% tab name="Markdown" %}}
This is **some markdown.**
```bash
code
```
{{% /tab %}}
{{< tab name="HTML" >}}

HTML

{{< /tab >}}
{{< tab name="JSON" >}}

Include code from elsewhere.

{{% codeinclude file="/static/podtemplate.json" language="json" %}}

{{< /tab >}}
{{< /tabs >}}

{{< glossary_tooltip text="test" term_id="test" >}}

```go {hl_lines=[2]}
func GetTitleFunc(style string) func(s string) string {
switch strings.ToLower(style) {
case "go":
return strings.Title
case "chicago":
return transform.NewTitleConverter(transform.ChicagoStyle)
default:
return transform.NewTitleConverter(transform.APStyle)
}

```
1 change: 0 additions & 1 deletion docs-beta/content/getting_started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Getting Started"
date = 2020-04-01T19:26:56-04:00
weight = 4
chapter = true
pre = "<b>4. </b>"
+++

### Getting Started
Expand Down
22 changes: 22 additions & 0 deletions docs-beta/content/podtemplate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"apiVersion": "v1",
"kind": "PodTemplate",
"metadata": {
"name": "nginx"
},
"template": {
"metadata": {
"labels": {
"name": "nginx"
},
"generateName": "nginx-"
},
"spec": {
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{"containerPort": 80}]
}]
}
}
}
12 changes: 12 additions & 0 deletions docs-beta/content/reference/glossary/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Standardized Glossary
layout: glossary
noedit: true
default_active_tag: test
weight: 5
card:
name: reference
weight: 10
title: Glossary
---

17 changes: 17 additions & 0 deletions docs-beta/content/reference/glossary/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: test
id: test
date: 2019-06-15
full_link:
short_description: >
I am a test term.
aka:
tags:
- example
- illustration
---
An example.

<!--more-->
A much bigger example
22 changes: 22 additions & 0 deletions docs-beta/static/podtemplate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"apiVersion": "v1",
"kind": "PodTemplate",
"metadata": {
"name": "nginx"
},
"template": {
"metadata": {
"labels": {
"name": "nginx"
},
"generateName": "nginx-"
},
"spec": {
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{"containerPort": 80}]
}]
}
}
}

0 comments on commit ce92f32

Please sign in to comment.