* Remove MD from editor config. Prettier handles formatting.

* Resave docs

* Update MD files
This commit is contained in:
Mike Jolley 2022-12-19 12:06:48 +00:00 committed by GitHub
parent ebe05700ab
commit 0e1b05b92a
3 changed files with 21 additions and 20 deletions

View File

@ -22,6 +22,3 @@ trim_trailing_whitespace = false
trim_trailing_whitespace = false trim_trailing_whitespace = false
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.md]
indent_style = space

View File

@ -7,9 +7,9 @@
- [Third-party developers](#third-party-developers) - [Third-party developers](#third-party-developers)
- [Designers](#designers) - [Designers](#designers)
- [Developer Resources](#developer-resources) - [Developer Resources](#developer-resources)
- [Tools](#tools) - [Tools](#tools)
- [Articles](#articles) - [Articles](#articles)
- [Tutorials](#tutorials) - [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. 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) - [Coupons](internal-developers/testing/cart-checkout/coupons.md)
- [Compatibility](internal-developers/testing/cart-checkout/compatibility.md) - [Compatibility](internal-developers/testing/cart-checkout/compatibility.md)
- [Releases](internal-developers/testing/releases/README.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) - [Translation basics](internal-developers/translations/translation-basics.md)
- [Translations in PHP files](internal-developers/translations/translations-in-PHP-files.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) - [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/) - [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/) - [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/)
<!-- FEEDBACK --> <!-- FEEDBACK -->
@ -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) 🐞 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)
<!-- /FEEDBACK --> <!-- /FEEDBACK -->

View File

@ -2,17 +2,22 @@
## Table of Contents <!-- omit in toc --> ## Table of Contents <!-- omit in toc -->
- [Responses](#responses) - [Responses](#responses)
- [Cart Response](#cart-response) - [Cart Response](#cart-response)
- [Error Response](#error-response) - [Error Response](#error-response)
- [Get Cart](#get-cart) - [Get Cart](#get-cart)
- [Add Item](#add-item) - [Add Item](#add-item)
- [Remove Item](#remove-item) - [Remove Item](#remove-item)
- [Update Item](#update-item) - [Update Item](#update-item)
- [Apply Coupon](#apply-coupon) - [Apply Coupon](#apply-coupon)
- [Remove Coupon](#remove-coupon) - [Remove Coupon](#remove-coupon)
- [Update Customer](#update-customer) - [Update Customer](#update-customer)
- [Select Shipping Rate](#select-shipping-rate) - [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. The cart API returns the current state of the cart for the current session or logged in user.