Bläddra i källkod

book: add reference links section (#1345)

Paul 3 år sedan
förälder
incheckning
1a2fd38451
2 ändrade filer med 10 tillägg och 1 borttagningar
  1. 5 1
      book/src/SUMMARY.md
  2. 5 0
      book/src/reference_links.md

+ 5 - 1
book/src/SUMMARY.md

@@ -18,4 +18,8 @@
 - [Anchor Periphery](./chapter_4/anchor_periphery.md)
   - [CLI](./chapter_4/cli.md)
   - [IDL]()
-- [Anchor BTS]()
+- [Anchor BTS]()
+
+---
+
+- [Reference Links](./reference_links.md)

+ 5 - 0
book/src/reference_links.md

@@ -0,0 +1,5 @@
+# Reference Links
+
+- [Accounts Reference](https://docs.rs/anchor-lang/latest/anchor_lang/accounts/index.html)
+- [Constraints Reference](https://docs.rs/anchor-lang/latest/anchor_lang/derive.Accounts.html)
+- [Error Codes](https://docs.rs/anchor-lang/latest/anchor_lang/__private/enum.ErrorCode.html)