You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Write the Server capability directory in the shape the docs site draws #812
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 TypeScriptServer 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.
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.
Activity
tony commentedon Nov 21, 2026
Shipped on
masteron 2026-11-15 in #857 (d6a5444, post-v0.62.0 of 2026-07-12), adding the hierarchy header and grouped capability directories acrossServer,Session,Window, andPane.Serverreference,Sessionreference,Windowreference,Panereferencesrc/libtmux/server.pylines 90–215,src/libtmux/session.pylines 57–141,src/libtmux/window.pylines 58–137,src/libtmux/pane.pylines 55–147CHANGESlines 97–104