From b8b6ee67b6a452810e63079d341852eb35f2b801 Mon Sep 17 00:00:00 2001 From: Blackspirits Date: Tue, 27 May 2025 23:26:24 +0200 Subject: [PATCH 1/5] Update pt.yaml (#715) --- i18n/pt.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt.yaml b/i18n/pt.yaml index 96216a0..95523f9 100644 --- a/i18n/pt.yaml +++ b/i18n/pt.yaml @@ -1,5 +1,5 @@ - id: Search - translation: Buscar + translation: Pesquisar - id: Edit this page translation: Editar página From 0c86b5d29dcd0ae17b5e8509b51d3fe7d1c2e260 Mon Sep 17 00:00:00 2001 From: Blackspirits Date: Tue, 27 May 2025 23:26:53 +0200 Subject: [PATCH 2/5] Create pt-BR.yaml (#717) --- i18n/pt-BR.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 i18n/pt-BR.yaml diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml new file mode 100644 index 0000000..96216a0 --- /dev/null +++ b/i18n/pt-BR.yaml @@ -0,0 +1,14 @@ +- id: Search + translation: Buscar + +- id: Edit this page + translation: Editar página + +- id: Last modified by + translation: Última modificação por + +- id: Expand + translation: Expandir + +- id: bookSearchConfig + translation: '{ cache: true }' From 2acd86a6c2fb0ff8f15b8658a82f8cac749ce331 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 30 May 2025 21:15:31 +0200 Subject: [PATCH 3/5] Update versioning convention --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa0c304..3de9d52 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ If you are using `config.yaml` or `config.json`, consult the [configuration mark ## Versioning -This theme follows a simple incremental versioning. e.g. `v1`, `v2` and so on. There might be breaking changes between versions. +This theme follows a simple incremental versioning. e.g. `v1.0.0`, `v2.0.0` and so on. Releases will happen on breaking changes. If you want lower maintenance, use one of the released versions. If you want to live on the bleeding edge of changes, you can use the `master` branch and update your website when needed. From 24d3465980ec3e8645e560637605eef3bd183fd5 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 31 May 2025 00:54:49 +0200 Subject: [PATCH 4/5] Adjust styles to look like existing spacing --- assets/_main.scss | 16 +++++++++++----- layouts/partials/docs/languages.html | 4 ++-- layouts/partials/docs/menu-filetree.html | 4 ++-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/assets/_main.scss b/assets/_main.scss index 8b4e687..598523f 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -49,11 +49,11 @@ aside nav ul { list-style: none; li { - margin: 1em 0; position: relative; } - a { + a, span { + padding: .5em 0; display: block; } @@ -136,10 +136,12 @@ a .book-icon { input.toggle + label::after { content: "▸"; + align-self: center; } input.toggle:checked + label::after { content: "▾"; + align-self: center; } } @@ -155,7 +157,7 @@ body[dir="rtl"] .book-menu { } .book-section-flat { - margin: $padding-16 * 2 0; + margin: $padding-16 0; > a, > span, @@ -210,7 +212,7 @@ body[dir="rtl"] .book-menu { .book-search { position: relative; - margin: $padding-16 0; + margin: $padding-8 0; border-bottom: 1px solid transparent; input { @@ -244,6 +246,10 @@ body[dir="rtl"] .book-menu { @include spin(1s); } + ul a { + padding-bottom: 0; + } + small { opacity: 0.5; } @@ -280,7 +286,7 @@ body[dir="rtl"] .book-menu { } .book-languages { - margin-block-end: $padding-16 * 2; + margin-bottom: $padding-16; ul { padding-inline-start: 1.5em; diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html index 51aabdd..90d3f82 100644 --- a/layouts/partials/docs/languages.html +++ b/layouts/partials/docs/languages.html @@ -13,8 +13,8 @@
  • -
  • - {{ .Title | title }} + {{ .Title | title }}
      {{ range .Pages }}
    • diff --git a/layouts/partials/docs/title.html b/layouts/_partials/docs/title.html similarity index 100% rename from layouts/partials/docs/title.html rename to layouts/_partials/docs/title.html diff --git a/layouts/partials/docs/toc.html b/layouts/_partials/docs/toc.html similarity index 100% rename from layouts/partials/docs/toc.html rename to layouts/_partials/docs/toc.html diff --git a/layouts/shortcodes/button.html b/layouts/_shortcodes/button.html similarity index 100% rename from layouts/shortcodes/button.html rename to layouts/_shortcodes/button.html diff --git a/layouts/shortcodes/columns.html b/layouts/_shortcodes/columns.html similarity index 100% rename from layouts/shortcodes/columns.html rename to layouts/_shortcodes/columns.html diff --git a/layouts/shortcodes/details.html b/layouts/_shortcodes/details.html similarity index 100% rename from layouts/shortcodes/details.html rename to layouts/_shortcodes/details.html diff --git a/layouts/shortcodes/hint.html b/layouts/_shortcodes/hint.html similarity index 100% rename from layouts/shortcodes/hint.html rename to layouts/_shortcodes/hint.html diff --git a/layouts/shortcodes/html.html b/layouts/_shortcodes/html.html similarity index 100% rename from layouts/shortcodes/html.html rename to layouts/_shortcodes/html.html diff --git a/layouts/shortcodes/i18n.html b/layouts/_shortcodes/i18n.html similarity index 100% rename from layouts/shortcodes/i18n.html rename to layouts/_shortcodes/i18n.html diff --git a/layouts/shortcodes/katex.html b/layouts/_shortcodes/katex.html similarity index 100% rename from layouts/shortcodes/katex.html rename to layouts/_shortcodes/katex.html diff --git a/layouts/shortcodes/mermaid.html b/layouts/_shortcodes/mermaid.html similarity index 100% rename from layouts/shortcodes/mermaid.html rename to layouts/_shortcodes/mermaid.html diff --git a/layouts/shortcodes/section.html b/layouts/_shortcodes/section.html similarity index 100% rename from layouts/shortcodes/section.html rename to layouts/_shortcodes/section.html diff --git a/layouts/shortcodes/tab.html b/layouts/_shortcodes/tab.html similarity index 100% rename from layouts/shortcodes/tab.html rename to layouts/_shortcodes/tab.html diff --git a/layouts/shortcodes/tabs.html b/layouts/_shortcodes/tabs.html similarity index 100% rename from layouts/shortcodes/tabs.html rename to layouts/_shortcodes/tabs.html diff --git a/layouts/posts/list.html b/layouts/posts/list.html index aff32f5..dd0d76d 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -7,9 +7,6 @@ {{ partial "docs/post-meta" . }}
      {{- .Summary -}} - {{ if .Truncated }} - ... - {{ end }}
      {{ end }} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy.html similarity index 100% rename from layouts/taxonomy/list.html rename to layouts/taxonomy.html diff --git a/layouts/taxonomy/taxonomy.html b/layouts/term.html similarity index 82% rename from layouts/taxonomy/taxonomy.html rename to layouts/term.html index badf0f6..9800f62 100644 --- a/layouts/taxonomy/taxonomy.html +++ b/layouts/term.html @@ -7,9 +7,6 @@ {{ partial "docs/post-meta" . }}

      {{- .Summary -}} - {{ if .Truncated }} - ... - {{ end }}

      {{ end }}