-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 generated event name #10932
fix generated event name #10932
Conversation
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.
I don't get it. What is the link between the doc title and the event names ?
Well, run |
See |
The change is already done in develop but not master where the current docs live and so the docs are atill wrong. |
I hereby propose to add another frontmatter variable which is used if it is set. But probably in another PR. |
I thought the names were generated from the inline names/comments. Such as here: https://github.com/zurb/foundation-sites/blob/1c6ce2d69e976b8d0ead214c2b2619548466c858/js/foundation.drilldown.js#L302 If this isn't the case, the recently merged PR (#10929) isn't correct. |
Unfortunately no. |
Eeeek. Definitely something we need to address in F7. Contributing to the docs should be one of the easier things to do. Waiting for feedback from @ncoden, as we may have to address previous PRs as well. |
I'm investigating for a solution a bit cleaner. |
... instead of the page title See: - foundation/foundation-sites#9151 - foundation/foundation-sites#10932 - foundation/foundation-sites#10555
See foundation/foundation-docs#24 |
See also: #10933 |
As a sidenote, using the title for event names is not a great idea. We should use some variable
fn-name
or similar.