Skip to content

Commit 67341bf

Browse files
fix: do not display captions for nbgallery (#503)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 1c8dd78 commit 67341bf

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/changelog.d/503.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: do not display captions for nbgallery
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Overrides the default CSS for https://nbsphinx.readthedocs.io/ extension.
3+
*/
4+
5+
/*
6+
* Do not display the caption paragraph in the body content for 'nbgallery'
7+
*/
8+
.toctree-wrapper > p.caption {
9+
display: none;
10+
}

0 commit comments

Comments
 (0)