Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Support for arbitrary examples as "first class citizens" in the endpoint reference sidebar  #54

@irisli

Description

@irisli

Proposal: Let arbitrary example types occupy a space in the example

This would let multiple examples for a single language to exist on the bar. This could also allow us to introduce more complex examples (like multiple examples) with accompanying explanation text.

Quick example mockup

screen shot 2016-02-19 at 4 27 27 pm

## Why

There is a disparity between streaming examples and "regular" language examples. A language can only have at most one code example.

In accounts-all, the streaming example is displayed as if it were content:

image

While the other examples get to occupy a tab:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions