Skip to content

Conversation

@PowerPlop
Copy link

Description

Additional docs.
Didn't validate the styling since I don't know how to build the docs

@archiewood
Copy link
Member

Apologies for the slow review, this works, builds etc. We'd typically add the example in a DocTab like this:

<DocTab>
    <div slot='preview'>
        <BoxPlot 
            data={sales_distribution_by_channel}
            title="Daily Sales Distribution by Channel"
            name=channel
            intervalBottom=first_quartile
            midpoint=median
            intervalTop=third_quartile
            yFmt=usd0
        />
    </div>

```markdown
<BoxPlot 
    data={sales_distribution_by_channel}
    name=channel
    intervalBottom=first_quartile
    midpoint=median
    intervalTop=third_quartile
    yFmt=usd0
/>
```
</DocTab>

This allows the viewer to see both the rendered example, and the code that rendered it if they toggle the tab

@PowerPlop PowerPlop had a problem deploying to Approval required to run action on external PR July 29, 2025 06:52 — with GitHub Actions Failure
@PowerPlop PowerPlop had a problem deploying to Approval required to run action on external PR July 29, 2025 06:52 — with GitHub Actions Failure
@PowerPlop
Copy link
Author

@archiewood updated

@hughess hughess requested a deployment to Approval required to run action on external PR November 4, 2025 03:27 — with GitHub Actions Waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants