Jenkins Pipeline: How to add help for Global Shared Library
<p>According to <a href="https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/README.md" rel="noreferrer">documentation</a>, it should be possible to include <code>*.txt</code> file with help/documentation:</p>

<blockquote>
<pre><code>(root)
 +- src                     # Groovy source files
 |   +- org
 |       +- foo
 |           +- Bar.groovy  # for org.foo.Bar class
 +- vars
 |   +- foo.groovy          # for global 'foo' variable/function
 |   +- foo.txt             # help for 'foo' variable/function
 +- resources               # resource files (external libraries only)
 |   +- org
 |       +- foo
 |           +- bar.json    # static helper data for org.foo.Bar
</code></pre>
  
  <p>...</p>
  
  <p>The vars directory hosts scripts that define global variables
  accessible from Pipeline scripts. The basename of each *.groovy file
  should be a Groovy (~ Java) identifier, conventionally camelCased. The
  matching *.txt, if present, can contain documentation, processed
  through the system’s configured markup formatter (so may really be
  HTML, Markdown, etc., though the txt extension is required).</p>
</blockquote>

<p>Unfortunately it hasn't worked for me by simply creating <code>*.txt</code> with some arbitrary content.</p>

<p>Am I missing something? Or does Global Shared Library doesn't shown documentation in usual Jenkins places: <a href="https://i.stack.imgur.com/ihrr6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ihrr6.png" alt="enter image description here"></a></p>