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.

docs: fix typos and formatting issues across MDX files (#14072)

mintlify[bot]b226bcc2dde3
diff --git a/docs/developer/tutorial/testing.mdx b/docs/developer/tutorial/testing.mdx
index 99ec6f663e..fad5379794 100644
--- a/docs/developer/tutorial/testing.mdx
+++ b/docs/developer/tutorial/testing.mdx
@@ -1,4 +1,7 @@
-Learn how to write automated tests for the Brands feature
+---
+title: Testing
+description: Learn how to write automated tests for the Brands feature
+---
Automated testing is a crucial part of the development process. It helps you ensure that your code works as expected and catches bugs early.
Spree uses [RSpec](https://rspec.info), [Factory Bot](https://github.com/thoughtbot/factory_bot_rails), and [Capybara](https://github.com/teamcapybara/capybara) for testing.
diff --git a/docs/developer/upgrades/4.4-to-4.5.mdx b/docs/developer/upgrades/4.4-to-4.5.mdx
index bef1d91e1c..2382626699 100644
--- a/docs/developer/upgrades/4.4-to-4.5.mdx
+++ b/docs/developer/upgrades/4.4-to-4.5.mdx
@@ -51,7 +51,7 @@ uninitialized constant Spree::Preference (NameError)
#### Update other initializers
-Just like with `Spree::Config`, you may need to [update other intializers in your application, that use autoloadable constants](https://rubyonrails.org/2021/9/3/autoloading-in-rails-7-get-ready).
+Just like with `Spree::Config`, you may need to [update other initializers in your application, that use autoloadable constants](https://rubyonrails.org/2021/9/3/autoloading-in-rails-7-get-ready).
For example, if you use `spree_auth_devise`, you'll need to update `config/initializers/devise.rb` and wrap the configuration in `Rails.application.config.after_initialize` block:
diff --git a/docs/snippets/snippet-intro.mdx b/docs/snippets/snippet-intro.mdx
index c57e7c7564..e20fbb6fc9 100644
--- a/docs/snippets/snippet-intro.mdx
+++ b/docs/snippets/snippet-intro.mdx
@@ -1,4 +1,4 @@
One of the core principles of software development is DRY (Don't Repeat
-Yourself). This is a principle that apply to documentation as
+Yourself). This is a principle that applies to documentation as
well. If you find yourself repeating the same content in multiple places, you
should consider creating a custom snippet to keep your content in sync.