dayhaysoos / use-shopping-cart

Shopping cart state and logic for Stripe
MIT License
907 stars 118 forks source link

Fixes "Edit this page" link in docs #305

Closed lmac-1 closed 1 year ago

lmac-1 commented 1 year ago

This PR fixes the "Edit this page" link at the bottom of the docs. I had a look at the docusaurus docs to see how to fix this.

For someone without a fork of the repository, it will look like this when they click to edit the docs:

image

If they already have a fork of the application, it will take them to edit the page on their fork:

image

It then makes a commit in your fork and takes you to the screen to open a pull request straight away:

image

I've tested this locally and seems to be working well.

netlify[bot] commented 1 year ago

Deploy request for useshoppingcart rejected.

Name Link
Latest commit f678e467f710144527dd3deca7f3a7515fea719b
dayhaysoos commented 1 year ago

@all-contributors please add @lmac-1 for docs, content, and example

allcontributors[bot] commented 1 year ago

@dayhaysoos

I've put up a pull request to add @lmac-1! :tada: