Skip to content

Commit

Permalink
all: move items at root of docs/ to docs/welcome
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3-l committed Jun 13, 2024
1 parent 3e7c8e0 commit 0a2023f
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 37 deletions.
2 changes: 1 addition & 1 deletion config/_default/menus/menus.en.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[main]]
name = "Docs"
url = "/docs/getting-started/"
url = "/docs/welcome/introduction/"
weight = 10

[[social]]
Expand Down
3 changes: 0 additions & 3 deletions content/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion content/docs/core/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Core"
weight = 3
weight = 2
+++

Under the **Core** category of the control panel, you can configure access to
Expand Down
2 changes: 1 addition & 1 deletion content/docs/custom-commands/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Custom Commands"
weight = 4
weight = 3
+++

Custom commands (abbreviated **CCs**) allow you to develop your own commands and behaviors for your server. A command
Expand Down
2 changes: 1 addition & 1 deletion content/docs/fun/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Fun"
weight = 7
weight = 6
+++

Fun commands and systems provide engaging ways to enrich your server environment.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/moderation/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
+++
title = "Moderation"
weight = 5
weight = 4
+++
2 changes: 1 addition & 1 deletion content/docs/notifications/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = 'Notifications and Feeds'
weight = 6
weight = 5
+++

YAGPDB offers you a variety of ways to keep up with what's happening, such as users joining, leaving, new Reddit posts,
Expand Down
2 changes: 1 addition & 1 deletion content/docs/reference/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Reference"
weight = 8
weight = 7
+++

Reference documentation provides further information about advanced customization with YAGPDB, particularly focused
Expand Down
4 changes: 4 additions & 0 deletions content/docs/welcome/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
title = "Welcome"
weight = 1
+++
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = 'Getting Started'
weight = 1
title = "Getting Started"
weight = 2
+++

> The hardest thing about getting started, is getting started. - Guy Kawasaki
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = 'Introduction'
title = "Introduction"
weight = 1
+++

Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions content/docs/premium.md → content/docs/welcome/premium.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = 'Premium'
weight = 2
title = "Premium"
weight = 3
+++

YAGPDB provides added functionality to servers which are assigned a premium slot by a user. On the official instance of
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}introduction" role="button">Introduction</a>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}welcome/introduction" role="button">Introduction</a>
{{ .Content }}
</div>
</div>
Expand Down
21 changes: 0 additions & 21 deletions layouts/partials/menu-footer.html

This file was deleted.

0 comments on commit 0a2023f

Please sign in to comment.