Skip to content

Commit b30935b

Browse files
authored
feat: adds copy as markdown feature (#1298)
1 parent 1413af4 commit b30935b

File tree

15 files changed

+177
-36
lines changed

15 files changed

+177
-36
lines changed

site/config.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,26 @@ disqusShortname = "checkly"
1717
baseName = "llms"
1818
isPlainText = true
1919

20+
[outputFormats.markdown]
21+
baseName = 'index'
22+
isHTML = false
23+
isPlainText = true
24+
mediaType = 'text/markdown'
25+
noUgly = false
26+
notAlternative = false
27+
path = ''
28+
permalinkable = false
29+
protocol = ''
30+
rel = 'alternate'
31+
root = false
32+
ugly = false
33+
weight = 0
34+
2035
[outputs]
21-
home = ['html', 'rss', 'txt']
36+
home = ['html', 'rss', 'txt','markdown']
37+
page = ['html', 'markdown']
38+
section = ['html', 'markdown']
39+
2240

2341
[taxonomies]
2442
tag = "tags"

site/content/docs/ai/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ displayTitle: How Checkly uses AI
44
navTitle: How Checkly uses AI
55
weight: 1
66
slug: /
7+
beta: true
78
menu:
89
platform:
910
parent: "AI"

site/content/docs/ai/ai-assisted-features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: AI assisted features in Checkly - Checkly Docs
33
displayTitle: AI assisted Checkly features
44
navTitle: AI assisted features
55
weight: 2
6+
beta: true
67
menu:
78
platform:
89
parent: "AI"

site/content/docs/ai/use-checkly-with-ai-ide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ displayTitle: Use Checkly with AI IDEs & Copilots
44
navTitle: Use Checkly with AI IDEs & Copilots
55
weight: 3
66
draft: true
7+
beta: true
78
menu:
89
platform:
910
parent: "AI"

site/layouts/_default/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .RawContent }}

site/layouts/_default/list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .RawContent }}

site/layouts/_default/single.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .RawContent }}

site/layouts/docs/list.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "/" }}
88
{{ $homeURL := $url | absURL }}
99

10-
{{ partial "docs-breadcrumb" .}}
10+
<div class="d-flex flex-row">
11+
<div class="d-flex">
12+
{{ partial "docs-breadcrumb" .}}
13+
</div>
14+
<div class="d-flex align-items-center hidden-xs-down ml-auto">
15+
{{ partial "docs-markdown-helper" . }}
16+
</div>
17+
</div>
1118

1219
<h1 id="{{ anchorize .Title }}">{{ if .Params.displayTitle}}
1320
{{.Params.displayTitle}}

site/layouts/docs/single.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
{{ partial "docs-menu" .}}
44
<div class="docs-page">
55
<article class="markdown DocSearch-content">
6-
{{ partial "docs-breadcrumb" .}}
7-
6+
<div class="d-flex flex-row">
7+
<div class="d-flex">
8+
{{ partial "docs-breadcrumb" .}}
9+
</div>
10+
<div class="d-flex align-items-center hidden-xs-down ml-auto">
11+
{{ partial "docs-markdown-helper" . }}
12+
</div>
13+
</div>
814
<h1 id="{{ anchorize .Title }}">
915
{{ if .Params.displayTitle}}
1016
{{.Params.displayTitle}}

site/layouts/partials/docs-breadcrumb.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@
2424
{{ $.Scratch.Add "path" "/" }}
2525
{{ end }}
2626
{{ end }}
27-
<div class="ml-auto">
27+
<div class="ml-3">
2828
{{ if .Page.Params.beta }}
2929
<div class="badge badge-md badge-beta">BETA</div>
3030
{{ end}}
31-
{{ if .Page.Params.cli }}
32-
<div class="badge badge-md badge-cli">CLI Enabled</div>
33-
{{ end}}
3431
</div>
3532
</div>

0 commit comments

Comments
 (0)