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

30 lines
1.3 KiB

4 years ago
# Remix EthDoc Plugin
4 years ago
4 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.
4 years ago
4 years ago
## Activate
4 years ago
4 years ago
EthDoc consists of 2 plugins: the EthDoc Viewer and the EthdDoc Generator. The EthDoc Generator will activate the EthDoc Viewer, so to use EthDoc, you only need to activate EthDoc Generator.
4 years ago
4 years ago
The following image illustrates both sections of the plugin.
4 years ago
![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.
4 years ago
4 years ago
## How to generate documentation
4 years ago
4 years ago
To generate HTML documents, the first thing you need to do is to compile smart contracts.
4 years ago
Once the contracts are compiled, go to the EthDoc Generator in the side panel and click the button to generate the docs. To see the generated docs, click the EthDoc Viewer tab in Remix's Editor.
4 years ago
## 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
4 years ago
If you have any issues, please feel free to create an issue in our [Github repository](https://github.com/Machinalabs/remix-ethdoc-plugin/issues).