Skip to content

Add indentation to API docs #736

Closed
Closed
@Eric-Arellano

Description

@Eric-Arellano

See https://www.figma.com/file/sNXucK1uMaZ8XXyLTZrdrs/OneDocs?type=design&node-id=4918-32646&mode=design&t=eQXKiDCRAEETmXbh-0

Screenshot 2024-01-31 at 2 20 59 PM Screenshot 2024-01-31 at 2 20 48 PM

There are a few levels of indentation going on:

  • code objects like methods and attributes are indented relative to their containing class
  • within each code object, like a method, the specific contents are indented.

--

Pay attention to how we implement #735, using a <div> vs MDX component. We'll need to auto-compute the indentation levels I think and set the appropriate HTML class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions