-
Notifications
You must be signed in to change notification settings - Fork 67
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
ISSUE-151 - Accept Readme Path and Section Name as parameters: #159
ISSUE-151 - Accept Readme Path and Section Name as parameters: #159
Conversation
Should we dogfood this feature and use it for the README.md in this project as well? |
Ohh, I like this idea! Let me pop it in now. |
4310293
to
0827975
Compare
I had a look at this, and it looks like generating a Safety Report for From a quick look, there seems to be two issues, one where how we handle files which are unused due to the feature flags for the dependency (like here, for serde_json-1.0.59/src/features_check/error.rs, a file which simply contains "serde_json requires that either As a first step, would it be worth landing an update the Thanks, |
Ahh, this actually looks to have been a bug I introduced with the first set of changes to write to a README. Thanks, |
53ae6f6
to
7e14223
Compare
Hmm, I've added this, but I think it needs a bit more work to get it looking nicely. |
7e14223
to
9c68aad
Compare
@anderejd, do you want to put this PR on hold, and let me land a separate one with a new Charset for GitHub markdown, with some better formatting for the report? |
Separating it into two PRs sounds good! |
* Update args to accept `--readme-path` and `section-name` values * Add logic to allow custom section names and custom README files * Add integration test for existing readme cases * Create new snapshots for README test cases Signed-off-by: joshmc <[email protected]>
9c68aad
to
8f3137f
Compare
Ready for merge? |
…admePathAndSectionName ISSUE-151 - Accept Readme Path and Section Name as parameters:
--readme-path
andsection-name
valuesSigned-off-by: joshmc [email protected]