Skip to content

Write the Server capability directory in the shape the docs site draws #812

Closed

Description

@tony

Summary

The libtmux.Server docstring has no "What is on here" section yet. It is also the natural place to show the object hierarchy a reader navigates from it: Server, Session, Window, Pane. On libtmux.org (py) it therefore renders as prose, while the Java and TypeScript Server pages draw a capability directory: each group's guidance beside chips of the members it covers.

Motivation

Server is the type a new reader lands on first, and it has the most members. The directory lets them find the group they need (connecting, checking the server, finding one thing, listing everything, querying, acting) without reading every method.

Proposal

  • Add a "What is on here" section to the Server docstring, led by the Server → Session → Window → Pane hierarchy, then restructure it "What is on here" section into the directory shape: per group, a bold-led paragraph of guidance, then a paragraph or a Label: ... list that holds only references to the members it covers, three groups or more.
  • Keep the introduction that already leads into the groups, and keep every linked sentence of the existing guidance; move references out of the guidance only where they are what the chips will show.
  • Use the Python documentation's own reference syntax, so the native docs keep linking.
  • Apply the same shape to the other large types (Session, Window, Pane) where their docs already group members.

References

Activity

  1. tony commented on Nov 21, 2026

    @tony
    MemberAuthor

    Shipped on master on 2026-11-15 in #857 (d6a5444, post-v0.62.0 of 2026-07-12), adding the hierarchy header and grouped capability directories across Server, Session, Window, and Pane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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