Skip to content

Add mechanism for side-by-side comparison of setup.py and its equivalent setup.cfg #1699

@pganssle

Description

@pganssle

We have many documentation examples that are purely declarative and are either documented as setup.py or setup.cfg. It would be really awesome if, for each of these, we had the option to have either both versions side-by-side or, even better, in a sort of "tabbed container", like the one in the code sample at the bottom of this example.

Requirements for this:

  1. Cannot link to any third-party javascript dependencies. Ideally we wouldn't use any at all, but if you do they must be vendored in the documentation.
  2. If javascript is disabled, it has to fall back to something intelligible.

Ideally it would be implemented in pure CSS / HTML if that's at all possible.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions