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

feat: Disable the dependencies part of the markdown docs. #2145

Merged
merged 3 commits into from
Feb 22, 2020

Conversation

eNepper
Copy link
Contributor

@eNepper eNepper commented Jan 17, 2020

I have added a dependencies: boolean property to OutputTargetDocsReadme, this allows the developer to disable the dependencies part of the markdown readme.md file.

If the property is undefined the dependencies will still be rendered.

…down.

Removed the footer: string argument from generateMarkdown.
Refactored generateMarkdown to check if the readmeOutput.dependencies property is set.
- For backwards compatibility the dependencies will still be generated if the property is undefined.
Copy link
Contributor

@manucorporat manucorporat left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! i think it makes a lot of sense

Co-Authored-By: Manu MA <manu.valladolid@gmail.com>
@markhougaard
Copy link

Disclosure: I'm on the same team as @eNepper.

@adamdbradley Any chance you can review this? We'd love to see this change merged. Thanks!

@adamdbradley adamdbradley merged commit 4e74f26 into ionic-team:master Feb 22, 2020
@adamdbradley
Copy link
Contributor

thanks!

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.

4 participants