Skip to content

Compare to pandas accordian #11

Closed
Closed
@chrisjsewell

Description

@chrisjsewell

I quite like the accordion toggle in https://pandas.pydata.org/docs/getting_started/index.html#intro-to-pandas, and we are thinking of doing something similar in the AiiDA documentation.
They actually achieve this by using lots of raw HTML (https://github.com/pandas-dev/pandas/blob/master/doc/source/getting_started/index.rst), which isn't ideal, and I feel this might be handled by this package.

Aslo linking the minimal accordian tutorial: https://www.w3schools.com/howto/howto_js_accordion.asp

  1. One of the initial things that is "better" with their setup is that there is no space below the title, when collapsed.
  2. For this use case it might also be nice to have the option to have the button to the right of the text

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