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.1.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_panels-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38918a6f7cd62f1a104526bd4a60d4c5b376ce89dc88fee8ea7ce6e3b20f86ab |
|
MD5 | 457b7b4a493a1b5143ebc3cf34d11c7a |
|
BLAKE2b-256 | d60c27b14d5d69ba23de47f0d896a77e61b9a38e85372b1e50aefaada122bb14 |