Przeglądaj źródła

Add Contracts Wizard docs page (#2624)

Francisco Giordano 4 lat temu
rodzic
commit
5ecd2b850c
2 zmienionych plików z 16 dodań i 0 usunięć
  1. 1 0
      docs/modules/ROOT/nav.adoc
  2. 15 0
      docs/modules/ROOT/pages/wizard.adoc

+ 1 - 0
docs/modules/ROOT/nav.adoc

@@ -1,4 +1,5 @@
 * xref:index.adoc[Overview]
+* xref:wizard.adoc[Wizard]
 * xref:extending-contracts.adoc[Extending Contracts]
 * xref:upgradeable.adoc[Using with Upgrades]
 

+ 15 - 0
docs/modules/ROOT/pages/wizard.adoc

@@ -0,0 +1,15 @@
+= Contracts Wizard
+:page-notoc:
+
+Not sure where to start? Use the interactive generator below to bootstrap your
+contract and learn about the components offered in OpenZeppelin Contracts.
+
+TIP: Place the resulting contract in your `contracts` directory in order to compile it with a tool like Hardhat or Truffle. Consider reading our guide on xref:learn::developing-smart-contracts.adoc[Developing Smart Contracts] for more guidance!
+
+++++
+<script async defer src="https://openzeppelin-contracts-wizard.netlify.app/build/embed.js"></script>
+
+<oz-wizard style="display: block; min-height: 40rem;"></oz-wizard>
+++++
+
+