Skip to content

Commit a31a0dc

Browse files
author
Josh Sager
committed
Many changes as final cleanup before Phase 1 production launch
* Removed old libs/tools repo .md files * Refactored sections of changelog and guides into partials and removed from their respective pages until Phase 2 * Removed test changelog files * Changed docs and changelog header nav labels * Fixed community text on guides page * Href link button fixed for platform guides
1 parent 47ead5a commit a31a0dc

File tree

15 files changed

+51
-134
lines changed

15 files changed

+51
-134
lines changed

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ changelog = "changelog"
1616

1717
[[menu.main]]
1818
weight = 1
19-
name = "Documentation"
19+
name = "APIv4 Documentation"
2020
url = "/api/v4"
2121

2222
[[menu.main]]
@@ -31,7 +31,7 @@ url = "/libraries-tools/"
3131

3232
[[menu.main]]
3333
weight = 4
34-
name = "API Changelog"
34+
name = "Changelog"
3535
url = "/changelog/apiV4/"
3636

3737
# params

content/changelog/2018/test-community.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

content/changelog/2018/test-manager.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

content/guides/block-storage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ last_updated: 2018-08-13T08:55:08-04:00
1212
template: guides
1313
external_url: https://www.linode.com/docs/platform/api/create-block-storage-volumes-with-the-linode-api/
1414
---
15-
content
15+
The Linode API allows you to create, delete, attach, detach, clone, and resize
16+
Block Storage Volumes.

content/guides/monitoring.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

content/guides/recovering.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

content/libraries-tools/go-linode-api.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

content/libraries-tools/linode-haskell.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

content/libraries-tools/linode-php-krmdrms.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

themes/dlc/layouts/_default/changelog.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@
1313
{{ end }}
1414
</nav>
1515

16-
<div class="mb-4">
17-
<div class="w-full">
18-
<p>We follow semantic versioning according to the <a href="https://semver.org" target="_blank">Semantic Versioning 2.0.0 Guidelines</a>.</p>
19-
</div>
20-
<div class="bg-d-cell p-8 mt-4">
21-
<div class="font-semibold mb-4">Unreleased changes</div>
22-
<ul>
23-
<li>Petierunt uti sibi concilium totius Galliae in diem certam indicere.</li>
24-
<li>Phasellus laoreet lorem vel dolor tempus vehicula.</li>
25-
<li>Contra legem facit qui id facit quod lex prohibet.</li>
26-
<li>Paullum deliquit, ponderibus modulisque suis ratio utitur.</li>
27-
</ul>
28-
</div>
29-
</div>
30-
3116
{{ range .Paginator.Pages }}
3217
{{ partial "2_molecules/changelogs.html" . }}
3318
{{ end }}

themes/dlc/layouts/_default/guides.html

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,9 @@ <h3 class="mt-0 font-normal text-2xl"><a href="{{ .Params.external_url }}" class
1818
</article>
1919
{{ end }}
2020
</div>
21-
<div class="text-center mb-12"><button class="btn mx-auto">View All Platform Guides</button></div>
22-
</div>
23-
24-
<h2 class="text-center">Recently Updated Guides</h2>
25-
26-
<div class="flex flex-wrap my-8 -mx-4 pb-8">
27-
{{ range last 3 (.Pages.ByParam "last_updated").Reverse }}
28-
{{ if isset .Params "last_updated" }}
29-
<article class="w-full md:w-1/3 px-4 mb-4 md:mb-8">
30-
<div class="p-8 h-full bg-d-cell cell-border">
31-
<header>
32-
<h3 class="mt-0"><a href="{{ .Params.external_url }}" class="text-black" target="_blank">{{ .Title | markdownify }}</a></h3>
33-
{{ partial "2_molecules/post-categories" . }}
34-
</header>
35-
<p><strong class="mr-1">Updated:</strong><span class="timeago" datetime='{{ .Date.Format "2006-01-02T15:04:05-07:00" }}'>{{ .Params.last_updated }}</span></p>
36-
<p class="mt-0">
37-
{{ $name := .Params.name }}
38-
{{ if .Params.author.name }}
39-
by {{.Params.author.name}}
40-
{{ if .Params.author.company }}
41-
({{.Params.author.company}})
42-
{{ end }}
43-
{{ end }}
44-
</p>
45-
</div>
46-
</article>
47-
{{ end }}
48-
{{ end }}
21+
<div class="text-center mb-12">
22+
<a href="https://linode.com/docs/platform" target="_blank" class="btn mx-auto">View All Platform Guides</a>
23+
</div>
4924
</div>
5025

5126
<div class="flex flex-wrap my-8 -mx-4">
@@ -58,8 +33,8 @@ <h3 class="mt-0"><a href="{{ .Params.external_url }}" class="text-black" target=
5833
<header>
5934
<h2 class="mt-0">Want more help?</h2>
6035
</header>
61-
<p class="text-xl mt-2">We're happy to answer any other qustions you might have.</p>
62-
<a href="https://linode.com/community/questions" target="_blank" class="btn mt-4">Get your questions answered</a>
36+
<p class="text-xl mt-2">Find answers, ask questions, and help others.</p>
37+
<a href="https://linode.com/community/questions" target="_blank" class="btn mt-4">Join our Community</a>
6338
</div>
6439
</article>
6540
</div>

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img src="http://via.placeholder.com/350x150" />
77
</div>
88
<div class="w-full md:w-1/2 px-4">
9-
<h2>Linode Cli</h2>
9+
<h2>Linode CLI</h2>
1010
<div class="text-2xl my-3">An easy way to get up and running with the Linode API</div>
1111
</div>
1212
</div>

themes/dlc/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>How easily can you create a Linode?</h2>
2424
<div class="flex flex-wrap my-8 -mx-4 pb-8">
2525
<article class="w-full md:w-1/2 px-4 mb-4 md:mb-8">
2626
<div class="px-8 py-20 h-full bg-d-cell flex flex-col justify-center items-center">
27-
<h2 class="mt-0 font-normal"><a href="https://developers.linode.com/" class="text-black">Documentation</a></h3>
27+
<h2 class="mt-0 font-normal"><a href="https://developers.linode.com/" class="text-black">APIv4 Documentation</a></h3>
2828
<p class="text-xl mt-2 text-center">Reference Documentation for the linode API</p>
2929
<a href="https://developers.dev.linode.com/api/v4" target="_blank" class="btn mt-6">View API docs</a>
3030
</div>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="mb-4">
2+
<div class="w-full">
3+
<p>We follow semantic versioning according to the <a href="https://semver.org" target="_blank">Semantic Versioning 2.0.0 Guidelines</a>.</p>
4+
</div>
5+
<div class="bg-d-cell p-8 mt-4">
6+
<div class="font-semibold mb-4">Unreleased changes</div>
7+
<ul>
8+
<li>Petierunt uti sibi concilium totius Galliae in diem certam indicere.</li>
9+
<li>Phasellus laoreet lorem vel dolor tempus vehicula.</li>
10+
<li>Contra legem facit qui id facit quod lex prohibet.</li>
11+
<li>Paullum deliquit, ponderibus modulisque suis ratio utitur.</li>
12+
</ul>
13+
</div>
14+
</div>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h2 class="text-center">Recently Updated Guides</h2>
2+
3+
<div class="flex flex-wrap my-8 -mx-4 pb-8">
4+
{{ range last 3 (.Pages.ByParam "last_updated").Reverse }}
5+
{{ if isset .Params "last_updated" }}
6+
<article class="w-full md:w-1/3 px-4 mb-4 md:mb-8">
7+
<div class="p-8 h-full bg-d-cell cell-border">
8+
<header>
9+
<h3 class="mt-0"><a href="{{ .Params.external_url }}" class="text-black" target="_blank">{{ .Title | markdownify }}</a></h3>
10+
{{ partial "2_molecules/post-categories" . }}
11+
</header>
12+
<p><strong class="mr-1">Updated:</strong><span class="timeago" datetime='{{ .Date.Format "2006-01-02T15:04:05-07:00" }}'>{{ .Params.last_updated }}</span></p>
13+
<p class="mt-0">
14+
{{ $name := .Params.name }}
15+
{{ if .Params.author.name }}
16+
by {{.Params.author.name}}
17+
{{ if .Params.author.company }}
18+
({{.Params.author.company}})
19+
{{ end }}
20+
{{ end }}
21+
</p>
22+
</div>
23+
</article>
24+
{{ end }}
25+
{{ end }}
26+
</div>

0 commit comments

Comments
 (0)