Page MenuHomePhabricator

Add PHP code examples and links to the specific php class documentation to the demo
Open, Needs TriagePublic

Description

One of the nice things of the demo is that you can see the code that generates the elements. Unless you pick php.. then you don't get examples, not even a link to the php documentation.

Event Timeline

@TheDJ I assume you'd like to see inline code examples, but the task description is wrong. The docs link in the header brings you to the OOUI PHP classes documentation.

Yeah, inline examples preferably, that show me how this button with progressive flag that i'm looking at was ACTUALLY written in php.

Or at least per component linking to the specific class in the php doc. Not one link in the header that is "he, here is the index for all the documents, good luck finding the classname (that we didn't tell you about) of the component you were looking at on the previous page and already forgot about"

TheDJ renamed this task from Add PHP code examples/doc links to the demo to Add PHP code examples and links to the specific php class documentation to the demo.Jun 4 2019, 11:44 AM