From 24954704f9618904d4415ee12468a01cd5391b50 Mon Sep 17 00:00:00 2001 From: nevfy Date: Mon, 8 Jul 2024 02:40:37 +0300 Subject: [PATCH 1/2] fix: clean-up --- layouts/partials/page-meta-links.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/page-meta-links.html b/layouts/partials/page-meta-links.html index 16e5a74..defb851 100644 --- a/layouts/partials/page-meta-links.html +++ b/layouts/partials/page-meta-links.html @@ -5,7 +5,7 @@ {{ $gh_subdir := ($.Param "github_subdir") -}} {{ $gh_project_repo := ($.Param "github_project_repo") -}} {{ $gh_branch := (default "main" ($.Param "github_branch")) -}} -
+
{{ if $gh_url -}} {{ warnf "Warning: use of `github_url` is deprecated. For details see https://www.docsy.dev/docs/adding-content/repository-links/#github_url-optional" -}} {{ T "post_edit_this" }} From dd17ab3d37ba133020c65b1ed27bf56f4fbb85cc Mon Sep 17 00:00:00 2001 From: nevfy Date: Wed, 10 Jul 2024 15:01:25 +0300 Subject: [PATCH 2/2] fix: remove h3 from toc --- _vendor/github.com/google/docsy/assets/scss/_sidebar-toc.scss | 3 --- config.toml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_vendor/github.com/google/docsy/assets/scss/_sidebar-toc.scss b/_vendor/github.com/google/docsy/assets/scss/_sidebar-toc.scss index 02ba556..65d49c3 100644 --- a/_vendor/github.com/google/docsy/assets/scss/_sidebar-toc.scss +++ b/_vendor/github.com/google/docsy/assets/scss/_sidebar-toc.scss @@ -4,8 +4,6 @@ .td-sidebar-toc { @include link-decoration; - border-left: 1px solid $border-color; - @supports (position: sticky) { position: sticky; top: 4rem; @@ -15,7 +13,6 @@ order: 2; padding-top: 0.75rem; - padding-bottom: 1.5rem; vertical-align: top; .td-page-meta a { diff --git a/config.toml b/config.toml index 388d819..414d9bb 100644 --- a/config.toml +++ b/config.toml @@ -60,6 +60,10 @@ time_format_default = "02.01.2006" time_format_blog = "02.01.2006" [markup] + [markup.tableOfContents] + startLevel = 2 + endLevel = 2 + ordered = false [markup.goldmark] [markup.goldmark.renderer] unsafe = true