【文件属性】:
文件名称:sphinx-panels:sphinx扩展,用于在网格布局中创建面板
文件大小:405KB
文件格式:ZIP
更新时间:2021-01-29 22:59:08
bootstrap cards sphinx grid-layout panels
狮身人面像面板
一个sphinx扩展,用于创建针对HTML + CSS优化的文档组件。
panels指令利用Bootstrap 4和在网格布局中创建内容面板。
link-button伪指令创建一个可单击的按钮,链接到URL或引用,也可用于使整个面板可单击。
dropdown指令创建可切换的内容。
tabbed伪指令创建选项卡式内容。
opticon和fa (fontawesome)角色允许添加嵌入式图标。
.. panels ::
Content of the top-left panel
---
Content of the top-right panel
---
Content of the bottom-left panel
---
Content of the bottom-right panel
link-button伪指令可用于创建按钮,这些按钮链接到URL(默认)或引用。 可以通过设置样式:
.. panels ::
.. link-button :: https://example.com
【文件预览】:
sphinx-panels-master
----MANIFEST.in(549B)
----git_rebase_theme_branches.sh(218B)
----.flake8(47B)
----.github()
--------workflows()
----web-compile-config.yml(273B)
----.scss-lint.yml(223B)
----.circleci()
--------config.yml(766B)
----tox.ini(1KB)
----LICENSE(1KB)
----setup.py(2KB)
----README.md(3KB)
----.pre-commit-config.yaml(895B)
----docs()
--------conf.py(5KB)
--------index.rst(23KB)
--------Makefile(641B)
--------_static()
----tests()
--------test_icons.py(1KB)
--------test_sphinx()
--------sources()
--------test_panels.py(761B)
--------conftest.py(43B)
--------test_sphinx.py(1KB)
--------test_utils.py(643B)
----.readthedocs.yml(175B)
----.gitignore(2KB)
----sphinx_panels()
--------panels.py(9KB)
--------tabs.py(6KB)
--------_css()
--------scss()
--------utils.py(552B)
--------__init__.py(6KB)
--------icons.py(4KB)
--------button.py(4KB)
--------data()
--------dropdown.py(6KB)
----CHANGELOG.md(949B)