A sphinx extension for creating panels in a grid layout.
Project description
sphinx-panels
A sphinx extension for creating panels in a grid layout. utilising both the bootstrap 4 grid system, and cards layout.
.. 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
Also, the link-button
directive can be used to create buttons, which link to a URL (default) or reference.
They can be styled by Bootstrap button classes:
.. panels::
.. link-button:: https://example.com
:type: url
:tooltip: hallo
:classes: btn-success
---
This entire panel is clickable.
+++
.. link-button:: panels/usage
:type: ref
:text: Go To Reference
:classes: btn-outline-primary btn-block stretched-link
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx-panels-0.3.2.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_panels-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63266c6a9df335ddfed7e45ae32bcfd71db960bd775ef7f45f5e72266424c600 |
|
MD5 | e865b0db829cb6fd5a9c713cba3dbc26 |
|
BLAKE2b-256 | 90f1c18d05282ca5b99c6774b115c302687bf1cfd66cc4e340c238c73b97596b |