From 4f7e6da24682153d3d783a907a1e95e36724abf1 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Wed, 17 Oct 2018 22:04:16 +0200 Subject: [PATCH] Give code block captions same permalink as other elems --- sass/_theme_rst.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 458722c8..5752ce56 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -165,7 +165,7 @@ @extend h2 // This is the #href that shows up on hover. Sphinx's is terrible so I hack it away. - h1, h2, h3, h4, h5, h6, dl dt, p.caption, table > caption + h1, h2, h3, h4, h5, h6, dl dt, p.caption, table > caption, .code-block-caption .headerlink visibility: hidden font-size: 14px