From 84072f20f8f208f110323983eb25270cd66c7d56 Mon Sep 17 00:00:00 2001 From: Jesse Vickery Date: Fri, 9 Aug 2024 15:35:07 +0000 Subject: [PATCH] feat(dev): icons and lists; - Better support for markdown lists. - Added type icons for the change log titles. --- docs/source/_static/css/canada_theme.css | 42 ++++++++++++++++++++++++ docs/source/_templates/layout.html | 2 +- docs/source/conf.py | 29 ++++++++++++++-- 3 files changed, 70 insertions(+), 3 deletions(-) diff --git a/docs/source/_static/css/canada_theme.css b/docs/source/_static/css/canada_theme.css index bb14fe9..d587596 100644 --- a/docs/source/_static/css/canada_theme.css +++ b/docs/source/_static/css/canada_theme.css @@ -249,6 +249,36 @@ ul.changes-list li span{ } +ul.changes-list ul{ + + list-style: disc; + padding-left: 30px; + margin-top: 5px !important; + margin-bottom: 5px !important; + +} + +ul.changes-list ul li{ + + list-style: disc; + +} + +ul.changes-list ol{ + + list-style: decimal; + padding-left: 30px; + margin-top: 5px !important; + margin-bottom: 5px !important; + +} + +ul.changes-list ol li{ + + list-style: decimal; + +} + span.change-sub-note{ font-weight: 600; @@ -268,6 +298,18 @@ span.change-backport{ } +.change-canada-type-title{ + + position: relative; + +} + +.change-canada-type-icon::before{ + + color: rgba(0, 0, 0, 0.525); + +} + a.headerlink{ text-decoration: none !important; diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index c3e61a5..bad9924 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -97,7 +97,7 @@

 This repository is only tracked from upstream.

{% elif info.change_logs %} {% for type, changes in info.change_logs.items() %} -

{{ type }}

+

  {{ type }}