Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Docusaurus v3 #138

Merged
merged 4 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/smart-contracts/data-types/complex-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ If you choose to use a map, take precautions and optimize your code.

Here is a table representing an example of a contract that uses two big-maps:

<table>
{<table>
<thead>
<tr>
<th>Storage</th>
Expand Down Expand Up @@ -268,7 +268,7 @@ Here is a table representing an example of a contract that uses two big-maps:
</td>
</tr>
</tbody>
</table>
</table>}

### Implementation details

Expand Down
4 changes: 2 additions & 2 deletions docs/smart-contracts/logic/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Contract A also has an entrypoint named "Add," which adds text to the storage st

This table shows the logic of the entrypoints:

<table>
{<table>
<caption>Entrypoint Logic</caption>
<tbody>
<tr>
Expand Down Expand Up @@ -86,7 +86,7 @@ This table shows the logic of the entrypoints:
</td>
</tr>
</tbody>
</table>
</table>}

## Operation Walkthrough

Expand Down
4 changes: 2 additions & 2 deletions docs/smart-contracts/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In particular, it doesn't modify the storage of its contract and doesn't generat
Here is an example that uses a view.
The following contract is a ledger that handles a fungible token and keeps track of how many tokens are owned by each user.

<table>
{<table>
<caption>Ledger contract</caption>
<thead>
<tr>
Expand Down Expand Up @@ -65,7 +65,7 @@ The following contract is a ledger that handles a fungible token and keeps track
</td>
</tr>
</tbody>
</table>
</table>}

Another contract might provide an `equalizeWith` entrypoint such that if they have more tokens than another user, they can make their balances equal (plus or minus one if the total amount is odd).
The following example code for this contract takes advantage of the `getBalance(user)` view of the first contract: to determine the balance of each user:
Expand Down
Loading