Skip to content

Commit

Permalink
Try docs generator
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGh committed Dec 4, 2023
1 parent 8ca483f commit c0271fa
Show file tree
Hide file tree
Showing 3 changed files with 3,324 additions and 366 deletions.
11 changes: 11 additions & 0 deletions docs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const solcOutput = require("./build/contracts/ERC721Baseline.json");
const { docgen } = require("solidity-docgen");

async function run() {
// @todo this won't work because Truffle's output isa subset of solc's
await docgen([{ output: solcOutput }], {
outputDir: "build/docs",
});
}

run();
Loading

0 comments on commit c0271fa

Please sign in to comment.