-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow section content to be function #1368
Conversation
Codecov Report
|
src/loaders/utils/getSections.js
Outdated
content: section.content(), | ||
}, | ||
], | ||
contentRelativePath, |
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.
You need to test that but looks like filepath
prop isn't used anywhere in sections. It's passed here but I don't see where it's used:
filepath: PropTypes.string, |
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.
Is this still work in progress? Looks good to me, except one minor suggestion.
Co-Authored-By: Artem Sapegin <artem@sapegin.ru>
Co-Authored-By: Artem Sapegin <artem@sapegin.ru>
@sapegin this PR is good to go, added your requested changes |
hey @sapegin , any more changes needed to this PR? |
Thanks! |
🎉 This PR is included in version 9.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Marking this PR as a WIP, as I am not sure how to refactor to maintain consistency across the project
Refers: #1224
Edit: Removing WIP status, this PR is good to go