8000 GitHub - sambacha/go-natspec: generate html docs from solidity natspec
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sambacha/go-natspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Pygments installed.
  • Pygments solidity lexer available

macOS

brew install pygments

https://gitlab.com/veox/pygments-lexer-solidity/-/blob/master/pygments_lexer_solidity/lexer.py

Usage

wget https://github.com/sambacha/go-natspec/releases/download/v0.0.1/dappspec
chmod +x dappspec
./dappspec test.sol
> dappspec:  test.sol  ->  docs/test.html
serve docs/
--> http://localhost:3000/test

Download binary.
use binary on Solidity file.
documents generated to docs/ dir (make sure this exists).

About

generate html docs from solidity natspec

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
0