diff --git a/plugins/woocommerce-blocks/.editorconfig b/plugins/woocommerce-blocks/.editorconfig index 227bdbd85fa..e71bb8db345 100644 --- a/plugins/woocommerce-blocks/.editorconfig +++ b/plugins/woocommerce-blocks/.editorconfig @@ -22,6 +22,3 @@ trim_trailing_whitespace = false trim_trailing_whitespace = false indent_style = space indent_size = 2 - -[*.md] -indent_style = space diff --git a/plugins/woocommerce-blocks/docs/README.md b/plugins/woocommerce-blocks/docs/README.md index 9adcafc8545..1fc571e7fd1 100644 --- a/plugins/woocommerce-blocks/docs/README.md +++ b/plugins/woocommerce-blocks/docs/README.md @@ -7,9 +7,9 @@ - [Third-party developers](#third-party-developers) - [Designers](#designers) - [Developer Resources](#developer-resources) - - [Tools](#tools) - - [Articles](#articles) - - [Tutorials](#tutorials) + - [Tools](#tools) + - [Articles](#articles) + - [Tutorials](#tutorials) The WooCommerce Blocks Handbook provides documentation for designers and developers on how to extend or contribute to blocks, and how internal developers should handle new releases. @@ -66,7 +66,7 @@ The WooCommerce Blocks Handbook provides documentation for designers and develop - [Coupons](internal-developers/testing/cart-checkout/coupons.md) - [Compatibility](internal-developers/testing/cart-checkout/compatibility.md) - [Releases](internal-developers/testing/releases/README.md) -- [Translations](internal-developers/translations/README.md) +- [Translations](internal-developers/translations/README.md) - [Translation basics](internal-developers/translations/translation-basics.md) - [Translations in PHP files](internal-developers/translations/translations-in-PHP-files.md) - [Translations in JS/TS files](internal-developers/translations/translations-in-JS-TS-files.md) @@ -140,7 +140,7 @@ The following tutorials from [developer.woocommerce.com](https://developer.wooco - [Hiding Shipping and Payment Options in the Cart and Checkout Blocks](https://developer.woocommerce.com/2022/05/20/hiding-shipping-and-payment-options-in-the-cart-and-checkout-blocks/) - [Integrating your Payment Method with Cart and Checkout Blocks](https://developer.woocommerce.com/2021/03/15/integrating-your-payment-method-with-cart-and-checkout-blocks/) -- [Exposing Payment Options in the Checkout Block](https://developer.woocommerce.com/2022/07/07/exposing-payment-options-in-the-checkout-block/) +- [Exposing Payment Options in the Checkout Block](https://developer.woocommerce.com/2022/07/07/exposing-payment-options-in-the-checkout-block/) @@ -151,4 +151,3 @@ The following tutorials from [developer.woocommerce.com](https://developer.wooco 🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md) - diff --git a/plugins/woocommerce-blocks/src/StoreApi/docs/cart.md b/plugins/woocommerce-blocks/src/StoreApi/docs/cart.md index 7f0ad522806..20196360968 100644 --- a/plugins/woocommerce-blocks/src/StoreApi/docs/cart.md +++ b/plugins/woocommerce-blocks/src/StoreApi/docs/cart.md @@ -2,17 +2,22 @@ ## Table of Contents -- [Responses](#responses) - - [Cart Response](#cart-response) - - [Error Response](#error-response) -- [Get Cart](#get-cart) -- [Add Item](#add-item) -- [Remove Item](#remove-item) -- [Update Item](#update-item) -- [Apply Coupon](#apply-coupon) -- [Remove Coupon](#remove-coupon) -- [Update Customer](#update-customer) -- [Select Shipping Rate](#select-shipping-rate) +- [Responses](#responses) + - [Cart Response](#cart-response) + - [Error Response](#error-response) +- [Get Cart](#get-cart) +- [Add Item](#add-item) +- [Remove Item](#remove-item) +- [Update Item](#update-item) +- [Apply Coupon](#apply-coupon) +- [Remove Coupon](#remove-coupon) +- [Update Customer](#update-customer) +- [Select Shipping Rate](#select-shipping-rate) + +Test: + +- Hello +- Hello 2 The cart API returns the current state of the cart for the current session or logged in user.