-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] extensions/cards: add an extension to implement cards
The extension adds two new directive: - `cards` is the row container for one or more `card` directives. - `card` is the implementation of a Bootstrap card that accepts a `target` argument for the href of the card, a `large` option to render the card on two columns, a `tag` option to display a single arbitrary tag on the card, and arbitrary content that is shown in the card body. task-3141419 closes #3688 X-original-commit: 34bc63d Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
- Loading branch information
1 parent
07d64e3
commit 8c0dbd5
Showing
5 changed files
with
268 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,6 +165,9 @@ | |
# Content tabs | ||
'sphinx_tabs.tabs', | ||
|
||
# Cards | ||
'cards', | ||
|
||
# Spoilers | ||
'spoilers', | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.