Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Improve storefront docs SEO and added missing command

Damian Legawieccf2ccd36bf24
diff --git a/docs/developer/storefront/custom-css.mdx b/docs/developer/storefront/custom-css.mdx
index c94f7214fa..e63b18b2d4 100644
--- a/docs/developer/storefront/custom-css.mdx
+++ b/docs/developer/storefront/custom-css.mdx
@@ -1,5 +1,6 @@
---
-title: "Custom CSS"
+title: "Custom CSS for Spree Storefront"
+sidebarTitle: "Custom CSS"
description: "Learn how to add custom CSS stylesheets of your Spree storefront"
---
diff --git a/docs/developer/storefront/custom-javascript.mdx b/docs/developer/storefront/custom-javascript.mdx
index 85584f80c0..dbe7e4081d 100644
--- a/docs/developer/storefront/custom-javascript.mdx
+++ b/docs/developer/storefront/custom-javascript.mdx
@@ -1,5 +1,6 @@
---
-title: "Custom JavaScript"
+title: "Custom JavaScript for Spree Storefront"
+sidebarTitle: "Custom JavaScript"
description: "Learn how to add custom JavaScript to your Spree storefront"
---
diff --git a/docs/developer/storefront/images.mdx b/docs/developer/storefront/images.mdx
index 945351bbaa..b1435fa3ae 100644
--- a/docs/developer/storefront/images.mdx
+++ b/docs/developer/storefront/images.mdx
@@ -1,5 +1,6 @@
---
-title: Images & Assets
+title: Images & Assets in Spree Storefront
+sidebarTitle: "Images & Assets"
---
<Warning>
diff --git a/docs/developer/storefront/links.mdx b/docs/developer/storefront/links.mdx
index b38e92f8e3..2114ffc0c2 100644
--- a/docs/developer/storefront/links.mdx
+++ b/docs/developer/storefront/links.mdx
@@ -1,5 +1,6 @@
---
title: "Links"
+sidebarTitle: "Links"
---
Links are used to create the navigation of the storefront. They can be assigned to Sections and Blocks.
diff --git a/docs/developer/storefront/pages.mdx b/docs/developer/storefront/pages.mdx
index 1d488fbba7..bdb142f3c0 100644
--- a/docs/developer/storefront/pages.mdx
+++ b/docs/developer/storefront/pages.mdx
@@ -1,5 +1,6 @@
---
-title: "Pages"
+title: "Storefront Pages"
+sidebarTitle: "Pages"
description: "Learn how to create and use pages in your Spree storefront"
---
@@ -95,7 +96,9 @@ end
You will need to register the new page in the `config/initializers/spree.rb` file:
```ruby
-
+Rails.application.config.after_initialize do
+ Rails.application.config.spree.pages << Spree::Pages::PickupLocations
+end
```
Now, the controller:
diff --git a/docs/developer/storefront/storefront.mdx b/docs/developer/storefront/storefront.mdx
index 4ccce5e811..4e45f45bdf 100644
--- a/docs/developer/storefront/storefront.mdx
+++ b/docs/developer/storefront/storefront.mdx
@@ -1,5 +1,6 @@
---
-title: "Overview"
+title: "Storefront Overview"
+sidebarTitle: "Overview"
---
Spree 5 ships with a new mobile-first storefront that is fully customizable & themeable.
diff --git a/docs/developer/storefront/themes.mdx b/docs/developer/storefront/themes.mdx
index ed4590f3d7..b623348adf 100644
--- a/docs/developer/storefront/themes.mdx
+++ b/docs/developer/storefront/themes.mdx
@@ -1,5 +1,6 @@
---
-title: "Themes"
+title: "Storefront Themes"
+sidebarTitle: "Themes"
description: "Learn how to develop themes for your Spree storefront"
---