View Source PhoenixStorybook.Stories.Doc (phoenix_storybook v0.6.4)
Functions to fetch component documentation and render it at HTML.
Summary
Functions
Fetch component documentation from component source and format it as HTML.
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.