Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Mar 2016 at 14:19 UTC
Updated:
18 Apr 2016 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drummLink to the page: https://api.drupal.org/api/drupal/core%21modules%21rest%21src%21Plugin%2...
Comment #3
jhodgdonCould we possibly put api.drupal.org back to what it was before this update broke the site?
Comment #4
drummI'm not sure that this is Prism-related. I'm not quite familiar enough with the annotation parsing to know what it should look like. That annotation is being rendered without code tags and isn't being processed by Prism.
Comment #5
drummhttps://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Field%21P... has a well-formatted annotation. I don't see much of a difference between the two documentation comments. Maybe the presence of the second paragraph, “
The 'Default' formatter is different…” is the difference?Comment #6
jhodgdonAh. The problem is actually in the files. EntityResource has an @see after the annotation. The API module doesn't support that. EntityResource is violating the standard for order of docs elements in
https://www.drupal.org/node/1354#order
So moving this to a Core issue. Updated summary.
Comment #7
chgasparoto commentedComment #8
jhodgdonThanks! That should do it.
We should really have a Coder sniff for this...
Comment #10
jhodgdonWhoops, I guess the patch needs to be redone.
Comment #11
snehi commentedDone. Please review.
Comment #12
mradcliffeOh, good catch, @jhodgdon.
I also noticed the examples modules has the same issue so I'll create an issue in that queue too.
Patch looks good now.
Comment #13
jhodgdonThanks, that patch looks fine and applies.
Still not sure if we should have a code sniffer for this... and setting issue back to 8.0 since it can go into any 8.x branch.
Comment #17
catchCommitted/pushed to all three 8.x branches, thanks!
Added review credit post-commit.