Skip to content
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

Add Deployments preprocessor to forge doc #5092

Merged
merged 2 commits into from
May 31, 2023

Conversation

clabby
Copy link
Contributor

@clabby clabby commented May 31, 2023

Overview

Adds a new preprocessor / flag to forge doc that allows for generating deployment documentation from hardhat-deploy or forge-deploy artifacts.

Screenshot from 2023-05-31 11-18-01

Usage

If there is a deployments artifact directory present from forge-deploy or hardhat-deploy, pass the --deployments / -d flag to forge doc to add a deployment table to all contracts with deployment artifacts.

Remove reference project

:broom:
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks code,

should be fine since this is opt-in change.

suggestion re argument

cli/src/cmd/forge/doc.rs Outdated Show resolved Hide resolved
cli/src/cmd/forge/doc.rs Outdated Show resolved Hide resolved
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattsse mattsse merged commit 680f2c6 into foundry-rs:master May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants