"details" 指令用于Sphinx
项目描述
details 指令用于Sphinx
它使 details 指令作为一个元素来表示HTML输出中的 <details> 元素。在其他输出格式中,它将被转换为简单的段落。
## 安装
通过pip安装包 ` $ pip install sphinxcontrib-details-directive `
并将 sphinxcontrib.details.directive 添加到conf.py中的扩展列表。 ` extensions = ['sphinxcontrib.details.directive'] `
## 指令
details
details 指令创建一个包含以下内容的 <details> 块
.. details:: summary of the detail block description of the details block. blah blah blah It will be rendered with ``<details>`` tag in HTML output. On the other hand, for other output formats, it will be rendered as mere paragraphs. ``:open:`` flag is allowed to indicate the details block is opened by default.
项目详情
关闭
sphinxcontrib_details_directive-0.1.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 78bd6a67f786a21868abf0e6a5973340d7e7a6fd71b1890de9c856f92877b38b |
|
MD5 | 10305183fcc0c1cd52defcb5e2dffec4 |
|
BLAKE2b-256 | 620a2de87a4f6e0e33415692ed4b03e0b7dfde7d91a691d1486c1577191f875c |
关闭
sphinxcontrib_details_directive-0.1.0-py2.py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ed4d4f47b36e3e905601d425945cbe9d50d4cbcf9964bbf9c863d5a983fb7bf6 |
|
MD5 | 3872f2af0a908ddde00e3983b443e78b |
|
BLAKE2b-256 | 109e9cb96fbdca829ba3eb094d966d0f48bb018215e73f96c8750088e73f2f19 |