From e21c5ab2fbab8ec21e6415d83bc42b8600cf909b Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 7 May 2018 13:09:54 +0200 Subject: [PATCH 1/5] Give one paragraph dd same lineheight as multiple paragraph ones --- sass/_theme_rst.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 9293dc16..775c4ae9 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -288,6 +288,7 @@ // rST seems to want dds to be treated as the browser would, indented. dd margin: 0 0 $base-line-height / 2 $base-line-height + line-height: $base-line-height // This is what Sphinx spits out for it's autodocs. Depending upon what language the person is referencing // these things usually have a class of "method" or "class" or something similar, but really who knows. // Sphinx doesn't give me a generic class on these, so unfortunately I have to apply it to the root dl. From 302f4c31588d08b5220c69446824b5ba046c2938 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 7 May 2018 13:10:03 +0200 Subject: [PATCH 2/5] Increase spacing beneath dt --- sass/_theme_rst.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 775c4ae9..66515431 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -282,6 +282,7 @@ margin-bottom: $base-line-height dt font-weight: bold + margin-bottom: $base-line-height / 2 // Most of the content within these dls are one liners, so I halve the normal margins. p, table, ul, ol margin-bottom: $base-line-height / 2 !important From fe9214040c9004869e395fa1d53554d6392d7f48 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 7 May 2018 13:18:17 +0200 Subject: [PATCH 3/5] Update changelog --- docs/changelog.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 57af405b..7ff79b15 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,21 @@ Changelog ********* +master +====== + +New Features +------------- + +Fixes +----- + +* Fix small styling issues + +Other Changes +-------------- + + v0.3.1 ====== From f17c94cb0ff718aaaf161446c5b426a44bef224f Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 7 May 2018 13:40:44 +0200 Subject: [PATCH 4/5] Give line blocks the same line height as regular text --- sass/_theme_rst.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 9293dc16..7f7a415b 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -132,6 +132,7 @@ .line-block margin-left: 0px margin-bottom: $base-line-height + line-height: $base-line-height .line-block .line-block margin-left: $base-line-height margin-bottom: 0px From 45949bf3390ebd52f25632cc4e4e052ecab836a5 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Tue, 8 May 2018 20:23:41 +0200 Subject: [PATCH 5/5] Make disablig sticky nav work again (#634) --- js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/theme.js b/js/theme.js index af2d4f01..f0cbedf6 100644 --- a/js/theme.js +++ b/js/theme.js @@ -22,7 +22,7 @@ function ThemeNav () { // out from the RTD assets. This just ensures old projects that are // calling `enable()` get the sticky menu on by default. All other cals // to `enable` should include an argument for enabling the sticky menu. - if (typeof(withStickNav) == 'undefined') { + if (typeof(withStickyNav) == 'undefined') { withStickyNav = true; }