taquito icon indicating copy to clipboard operation
taquito copied to clipboard

Update live examples for more readability

Open Innkst opened this issue 1 year ago • 0 comments

A user commented on the following page, but we should look at this more generally if applicable: https://tezostaquito.io/docs/drain_account/#draining-originated-accounts-kt1 Lot of the examples use the promise.then(...).catch(...). This causes lots of nesting inside the examples and it is hard to read. Think it would be far more readable if the examples were with await promise

Acceptance criteria:

  • Discuss this change with the team
  • Review documentation and see if we have this approach throughout all of the live examples
  • Timebox and update live examples for the main documentation pages:
    • quick start, accounts-related pages, operations, local_forger, in-memory signer, etc.
  • Create issues for the rest of the live examples to tackle later for less visited pages (past v18)

NOTE: Currently, we can't make this change due to the website not supporting it.

Innkst avatar Jul 13 '23 21:07 Innkst