Describe the problem/need and solution
Context
We would like to add a Card that has a clickable download of the PDF for the website.
:ref: downloads/file.pdf
:link-ref: download
that would then support linking to a file for download
Problem / Idea
I have tried using the sphinx download role in the title but this doesn't seem to be passed through the sphinx
::::{grid} 2
:::{grid-item-card} {download}`PDF <downloads/file.pdf>`
:img-background: img/betweenness_centrality_1.pdf
but this approach doesn't look very nice. So it would be nice to have :link: support for download files for the whole card to be clickable
Solution
TBD
Benefit
Adds useful functionality to cards
Guide for implementation
No response
Tasks and updates
No response
Describe the problem/need and solution
Context
We would like to add a Card that has a clickable download of the PDF for the website.
that would then support linking to a file for download
Problem / Idea
I have tried using the
sphinxdownload role in the title but this doesn't seem to be passed through thesphinx::::{grid} 2 :::{grid-item-card} {download}`PDF <downloads/file.pdf>` :img-background: img/betweenness_centrality_1.pdfbut this approach doesn't look very nice. So it would be nice to have
:link:support for download files for the whole card to be clickableSolution
TBD
Benefit
Adds useful functionality to cards
Guide for implementation
No response
Tasks and updates
No response