remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/docs/index.md

29 lines
1.3 KiB

5 years ago
# Remix EthDoc Plugin
5 years ago
5 years ago
The Remix EthDoc plugin allow you to generate HTML documents from solidity smart contracts. It also gives you the capability to publish the generated HTML documents to IPFS.
5 years ago
5 years ago
## Activate
5 years ago
5 years ago
This plugin consist of 2 parts, what is call the EthDoc viewer and the EthdDoc generator. Internally the EthDoc Generator will activate the EthDoc viewer, so you only need to go to the plugins section and find EthDoc, then activate it and automatically EthDoc viewer will be active.
The following image illustrate both sections of the plugin.
![Screenshot](img/ethdoc.png)
The EthDoc viewer appears in a tab in the main area of the Remix Editor and the EthDoc generator will appear in the side panel.
5 years ago
5 years ago
## How to generate documentation
5 years ago
5 years ago
To generate HTML documents, the first thing you need to do is to compile smart contracts.
Once the contracts are compiled, go to the EthDoc plugin section and you can select and preview the HTML documents that were generated.
## How to publish
In order to publish an HTML document, you need to first select a generated HTML document and then click the "Publish" button.
Then, you should be redirected to the published version of the HTML document.
## Issues
If you have any issues, please feel free to create an issue in our [Github repository](https://github.com/Machinalabs/remix-ethdoc-plugin/issues).