primitive-dodoc
primitive-dodoc copied to clipboard
☄️ Zero-config Hardhat plugin to generate documentation for all your Solidity contracts.
```typescript // Checks if the documentation has to be generated for this contract const includesPath = config.include.some((str) => filePath.includes(str)); ``` The above check in [index.ts#L40](https://github.com/primitivefinance/primitive-dodoc/blob/main/index.ts#L40), seems to be causing a...
getting `undefined` for the params on inherited events. Currently working around the issue by copy/pasting the events from the inherited interface over to the main contract docs, but wanted to...
The generated docs are having a lot of `undefined` for some ~function parameters~ function parameters descriptions, while for some function parameters they are are appearing good, even though the Natspec...
Simple functionality to support table of contents creation as `README.md` in output root.
For a function specification like this: ```solidity /// @notice Perform initial contract setup /// @dev The initializer modifier ensures this is only called once, the owner should confirm this was...
While the standard comment tags (`@notice`, `@dev`, ..) work great, Solidity also provides support for `@custom:`. Although everyone's use-case will be slightly different from custom tag, it would be super...
When using gitbook with dodoc, it seems the `@dev` is rendered improperly. For example: ``` /** * @dev Returns the address of the current owner. */ function owner() public view...
I noticed that structs do not render in the docs with a description. This can be seen in the docs for `set()` in `Bar.sol` found in this repo. ```md ###...
If an event is inherited it will not display anything in the description. After digging through this a bit I found that the `devdoc` and `userdoc` contain different sets of...