Skip to content

Commit

Permalink
fix: duplicate link out icon issue (#362)
Browse files Browse the repository at this point in the history
* fix issue with link out icon

* fix typos
  • Loading branch information
huijing authored Nov 2, 2023
1 parent 0105b9b commit 8d73e30
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 52 deletions.
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/grant-continue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ These code snippets enable an authorized client to issue a grant continuation re
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-continuation.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-continuation.ts'>View full source</LinkOut>
</p>

## References
Expand Down
15 changes: 6 additions & 9 deletions docs/src/content/docs/snippets/grant-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ When constructing a transaction, the client first requests a grant from the reci
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-incoming-payment.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-incoming-payment.ts'>View full source</LinkOut>
</p>

## Request a quote grant
Expand Down Expand Up @@ -95,10 +94,9 @@ When constructing a transaction, the client first requests a grant from the reci
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-quote.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-quote.ts'>View full source</LinkOut>
</p>

## Request an outgoing payment grant
Expand Down Expand Up @@ -135,10 +133,9 @@ When constructing a transaction, the client first requests a grant from the reci
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-outgoing-payment.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-outgoing-payment.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/grant-revoke.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ These code snippets enable a client to revoke (cancel) a grant that it was previ
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-revoke.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/grant/grant-revoke.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/incoming-complete.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets pass the wallet address and incoming payment URL to the reso
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-complete.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-complete.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/incoming-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets create an incoming payment of $10 USD at a given wallet addr
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-create.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-create.ts'>View full source</LinkOut>
</p>

## References
Expand Down
6 changes: 3 additions & 3 deletions docs/src/content/docs/snippets/incoming-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ These code snippets return the state and details of a specific incoming payment,
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-get.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-get.ts'>View full source</LinkOut>
</p>

## References

- [API specification](/apis/resource-server/operations/get-incoming-payment)
6 changes: 3 additions & 3 deletions docs/src/content/docs/snippets/incoming-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ These code snippets retrieve the first ten incoming payments on the given wallet
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-list.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/incoming-payment/incoming-payment-list.ts'>View full source</LinkOut>
</p>

## References

- [API specification](/apis/resource-server/operations/list-incoming-payments)
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/outgoing-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ These code snippets create an outgoing payment to a given wallet address. The am
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-create.ts'>
View Full Source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-create.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/outgoing-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets return the state and details of a specific outgoing payment,
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-get.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-get.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/outgoing-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets retrieve the first ten outgoing payments on the given wallet
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-list.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/outgoing-payment/outgoing-payment-list.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/quote-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets create a quote with a fixed receive amount of $10 USD, meani
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/quote/quote-create.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/quote/quote-create.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/quote-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ These code snippets return the state and details of a specific quote, if found.
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/quote/quote-get.ts'>
View full source
</LinkOut>
<LinkOut href='https://raw.githubusercontent.com/interledger/open-payments-snippets/main/quote/quote-get.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/token-revoke.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ These code snippets enable the client to call a management endpoint to revoke th
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/token/token-revoke.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/token/token-revoke.ts'>View full source</LinkOut>
</p>

## References
Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/token-rotate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ These code snippets enable the client to call a management endpoint to rotate th
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/token/token-rotate.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/token/token-rotate.ts'>View full source</LinkOut>
</p>

## References
Expand Down
6 changes: 5 additions & 1 deletion docs/src/content/docs/snippets/wallet-get-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ These code snippets enable an authenticated client to verify a wallet address, g

</TabItem>
</Tabs>
<p><LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/wallet-address/wallet-address-get.ts'>View full source</LinkOut></p>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/wallet-address/wallet-address-get.ts'>View full source</LinkOut>
</p>

## References

Expand Down
5 changes: 2 additions & 3 deletions docs/src/content/docs/snippets/wallet-get-keys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ These code snippets get the keys associated with the specified wallet address.
</TabItem>
</Tabs>

{/* prettier-ignore */}
<p>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/wallet-address/wallet-address-get-keys.ts'>
View full source
</LinkOut>
<LinkOut href='https://github.com/interledger/open-payments-snippets/blob/main/wallet-address/wallet-address-get-keys.ts'>View full source</LinkOut>
</p>

## References
Expand Down

0 comments on commit 8d73e30

Please sign in to comment.