diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs
index 0efbec0..872d299 100644
--- a/docs/.vitepress/config.mjs
+++ b/docs/.vitepress/config.mjs
@@ -21,6 +21,16 @@ export default defineConfig({
themeConfig: {
sidebar: sidebar(),
},
+ collections: {
+ guide: {
+ frontmatter: {
+ collection: 'guide',
+ },
+ icon: '',
+ iconLink: '/guides',
+ patterns: ['guides/**/*.md'],
+ },
+ }
});
function sidebar() {
@@ -36,14 +46,7 @@ function sidebar() {
{text: 'Syncing', link: '/sync'},
],
},
- {
- text: 'Guides',
- collapsed: true,
- items: [
- {text: 'Connecting to your database', link: '/connecting-database'},
- {text: 'Manually importing databases and files', link: '/manually-importing-databases'},
- ],
- },
+ {text: 'Guides', link: '/guides', activeMatch: '/guides'},
{
text: 'Contribution',
collapsed: true,
diff --git a/docs/guides.md b/docs/guides.md
new file mode 100644
index 0000000..898adb6
--- /dev/null
+++ b/docs/guides.md
@@ -0,0 +1,26 @@
+---
+description: Home helpful guides for the VitePress Default Theme Plus.
+layout: page
+title: Guides
+sidebar: false
+---
+
+
+
+
+
+
+ Guides
+
+
+ Helpful tutorial-like content!
+
+
+
+
diff --git a/docs/connecting-database.md b/docs/guides/connecting-database.md
similarity index 97%
rename from docs/connecting-database.md
rename to docs/guides/connecting-database.md
index 9a23677..c378829 100644
--- a/docs/connecting-database.md
+++ b/docs/guides/connecting-database.md
@@ -8,6 +8,8 @@ mailchimp:
button: Sign me up!
---
+# Connecting to Your Database
+
Just like on Acquia, Lando will automatically configure your application to connect to its local database and cache. Note that in some cases, such as when the user has purposefully removed the sourcing of the `${project}-settings.inc` file, this will not work.
If you find yourself in this situation and need to manually connect to the database or cache credentials for each are below:
diff --git a/docs/manually-importing-databases.md b/docs/guides/manually-importing-databases.md
similarity index 95%
rename from docs/manually-importing-databases.md
rename to docs/guides/manually-importing-databases.md
index 3204363..a81ab7d 100644
--- a/docs/manually-importing-databases.md
+++ b/docs/guides/manually-importing-databases.md
@@ -1,7 +1,6 @@
---
title: Manually importing databases and files
description: Learn how to manually import other databases into your Lando Acquia site.
-guide: true
mailchimp:
action: https://dev.us12.list-manage.com/subscribe/post?u=59874b4d6910fa65e724a4648&id=613837077f
title: Want more Acquia guide content?
@@ -9,6 +8,8 @@ mailchimp:
button: Sign me up!
---
+# Manually Importing Databases and Files
+
In the event that `lando pull` is not working as expected you have a few other things you can try out to grab your database and files.
## Database