-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(contracts): fails gracefully when building contracts docs + removing unwanted docstring #15494
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
@@ -2842,7 +2842,7 @@ interface IUnlock { | |||
* @notice This function can be called by anyone (not only the contract owner) as a way to ensure decentralization. | |||
* @param token the address of the token (zero address for native) to swap and burn | |||
* @param amount the amount of tokens to swap and burn | |||
* @param poolFee the poolFee of the token <> WETH/Wrapped Native asset to use for the swap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the <>
characters were interpreted as a html tag by the docgen, so had to replace it
@@ -258,7 +258,6 @@ interface IPublicLock { | |||
* @param referrer the referrer that will be granted the governance tokens | |||
* @param keyManager the manager of the key (can cancel, transfer, burn the key) | |||
* @param data additional data to be used by jooks or other 3rd part contracts | |||
* @return tokenIds the ids of the created tokens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a struct actually returns nothing, leading the docgen to exit 1
@@ -42,7 +42,7 @@ library MerkleProof { | |||
} | |||
|
|||
/** | |||
* @dev Calldata version of {verify} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove brackets as docusaurus will consider that an mdx template tag
Description
This makes sure the script to build contracts docs fails correctly. Also it removes an unwanted docstring that prevents docs from building (see #15493)
Issues
Fixes #
Refs #
Checklist:
Release Note Draft Snippet