View Source PhoenixStorybook.Stories.Doc (phoenix_storybook v0.5.2)
Functions to fetch component documentation and render it at HTML.
Link to this section Summary
Functions
Fetch component documentation from component source and format it as HTML.
Link to this section Functions
Fetch component documentation from component source and format it as HTML.
- For a live_component, fetches @moduledoc content
- For a function component, fetches @doc content of the relevant function
Output HTML is splitted in paragraphs and returned as a list of paragraphs.