reStructuredTextで書かれ、SphinxでHTMLにレンダリングされるプログラミング言語のドキュメントプロジェクトについては、文字列(すべての文字列関数)、Web(すべてWeb関連の関数)、List(リスト処理に関係するもの)など。関数はいくつかのグループのメンバーになることができるので、ブログ記事と同じように、何らかの方法でタグを追加したい。reStructuredTextにSphinxでブログスタイルタグを追加する方法
タグを追加するためにSphinx拡張機能(またはドメインを使用する方法など)があった場合、すべてのタグの概要、すべてのタグの概要、相互参照各機能ページの下部にあります。これは実現可能なのか、もしそうなら、どのように?
例:
---------
substring
---------
**substring (**\ *<string,number>* **text,** *number* **start,** *number* **end*)**
Description
-----------
Returns the substring of string ``text`` between integer positions ``start`` and position ``end``. The first character in the string is numbered 0. The last character returned by ``substring`` is the character before position ``end``. Optionally ``end`` can be left out, which means the returned string will end at the last position of ``text``.
Example
-------
-
Executing the following code:
::
log(substring("Welcome to our site!", 0, 7));
log(substring("Welcome to our site!", 0));
will print:
::
Welcome
Welcome to our site!
Tags
----
String
ねえ、答えのためのおかげで、我々はそれが望んでいたとして、これが機能するかどうかを確認する必要があります。しかし、非常に有望に見えます。 – titusn