-
Notifications
You must be signed in to change notification settings - Fork 125
Tool output not being substituted sometimes. #1930
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
Comments
Marking as P1 esp since it's not clear to me how common this is yet. |
It definitely doesn't happen all the time: most of the other examples I've looked at are correct, so maybe it's somethig odd with this one, but if so, it's not obvious: the dartdoc looks right to me. |
This seems to be a problem with how we are deciding to skip precaching for elements that will never be documented. Sometimes we are apparently guessing wrong. |
Narrowed this down further. In precacheLocalDocs we are missing a case where a documented canonical element inherits its documentation from an element that is not documented via any other means. ((not correct, see below)) |
I have a fix, working on tests for it now. |
The fix corrects 247 instances where we are not correctly executing tools and/or not substituting them properly. P1 seems appropriate for this scale. |
The problem has to do with Dartdoc's documentation inheritance. An |
Ahh. Sorry, I wasn't aware I needed to check that. |
@gspencergoog I think your code at least ran things once on everything. I think I introduced this when I tried to filter out duplicate or unnecessary runs. |
After some recent changes it appears that tool directives are not always being run, or at least the results of their run aren't being interpolated into the HTML.
An example is in Chip.onDeleted in the Flutter docs.
The snippet code there is being generated, so I think the tool is being run, but for some reason the output isn't being put back into the HTML.
The text was updated successfully, but these errors were encountered: