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
Recognize every port's link syntax in the capability directory #231
The "What is on here" capability directory on a type page, with its guidance beside chips of the members it covers, renders only for TypeScript, Java, C#, Rust and Go. groupDirectory recognizes a reference only in four link syntaxes (REFERENCE: rustdoc [`name`], C# <see cref>, Javadoc and TSDoc {@link}, and Go [Name]), so a correctly shaped directory in any other port's doc comment falls back to plain prose.
Motivation
On libtmux.org the Server pages of Java and TypeScript draw the directory (ApiProse.astro), while the Server pages of PowerShell, Elixir, Scala, Kotlin, Swift, C++, Julia, Lua, Ruby and Python draw none, although nine of them already open their description with a "What is on here" section. A reader of those ports gets a long paragraph where the other ports get a scannable map of the type.
Proposal
Extend REFERENCE with each remaining port's own doc-comment reference syntax, as its extractor hands it to the shell: DocC ``Symbol``, Elixir `fun/arity` and `Module.fun/arity`, KDoc [name], Scaladoc [[name]], Doxygen \ref and @ref, YARD {name}, Julia [`name`](@ref), the LuaLS and PowerShell help forms, and Sphinx roles such as :meth:`name` for Python.
Keep the shape rule unchanged: three or more bold-led guidance paragraphs, each followed by a paragraph or a Label: ... list holding only references.
Add tests per syntax that fail without its pattern, and a test that prose mixing guidance and references still renders as prose.
References
Each port's own issue to restructure its Server doc comment into the directory shape links back here.
Activity
Servercapability directory in the shape the docs site draws libtmux-cxx#134Servercapability directory in the shape the docs site draws libtmux-elixir#58Servercapability directory in the shape the docs site draws libtmux-java#126Servercapability directory in the shape the docs site draws libtmux-julia#68Servercapability directory in the shape the docs site draws libtmux-lua#81Servercapability directory in the shape the docs site draws libtmux-powershell#66Servercapability directory in the shape the docs site draws libtmux-ruby#83Servercapability directory in the shape the docs site draws libtmux-swift#102Servercapability directory in the shape the docs site draws tmux-python/libtmux#812server(docs[directory]) Write "What is on here" as a capability direc…
Server(docs): Write the capability directory
Server(docs): Write the capability directory
Docs(server): Write the capability directory
Server(docs): Write the capability directory
Server(docs): Write the capability directory
Docs(server): Write the capability directory
Server(docs): Add the capability directory