diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 2d8ed34148..9ae05d8c5b 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,4 +1,4 @@
-blank_issues_enabled: false
+blank_issues_enabled: true
contact_links:
- name: SUPPORT, ISSUES, and TROUBLESHOOTING
url: https://github.com/google/docsy/discussions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index e94081f037..18c2711b37 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -25,4 +25,7 @@ jobs:
cache: npm
cache-dependency-path: package.json
- run: npm install --omit=optional
- - run: npm run test:all
+ - if: runner.os != 'Windows'
+ run: npm run test:all
+ - if: runner.os == 'Windows'
+ run: npm run ci:prepare && npm run cd:docs build && npm run ci:post
diff --git a/.markdown-link-check.json b/.markdown-link-check.json
deleted file mode 100644
index 9dfad0352c..0000000000
--- a/.markdown-link-check.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "ignorePatterns": [
- {
- "pattern": "^http://localhost"
- },
- {
- "pattern": "^https://badges.netlify.com/api/docsydocs.svg\\?branch=main"
- },
- {
- "pattern": "^https://docs.npmjs.com/cli/v10/using-npm/scripts#prepare-and-prepublish"
- },
- {
- "pattern": "^#070$"
- }
- ],
- "timeout": "3s",
- "retryOn429": true,
- "aliveStatusCodes": [200, 206]
-}
diff --git a/.prettierignore b/.prettierignore
index f112941105..e69de29bb2 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,6 +0,0 @@
-.editorconfig
-.gitattributes
-.gitignore
-.nvmrc
-.prettierignore
-.s3deploy.yml
diff --git a/.s3deploy.yml b/.s3deploy.yml
deleted file mode 100644
index c8985e0279..0000000000
--- a/.s3deploy.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-routes:
- - route: "^.+\\.(js|css|svg|ttf)$"
- # cache static assets for 20 years
- headers:
- Cache-Control: "max-age=630720000, no-transform, public"
- gzip: true
- - route: "^.+\\.(png|jpg)$"
- headers:
- Cache-Control: "max-age=630720000, no-transform, public"
- gzip: true
- - route: "^.+\\.(html|xml|json)$"
- gzip: true
-
-
\ No newline at end of file
diff --git a/.vscode/cspell.json b/.vscode/cspell.json
index 3e4a324385..a4fedb3a9e 100644
--- a/.vscode/cspell.json
+++ b/.vscode/cspell.json
@@ -2,5 +2,15 @@
{
"version": "0.2",
"caseSensitive": true,
- "words": ["Docsy", "hugo", "shortcode", "shortcodes", "warnf"]
+ "words": [
+ "Docsy",
+ "errorf",
+ "hugo",
+ "shortcode",
+ "shortcodes",
+ "tabpane",
+ "upvote",
+ "warnf",
+ "relref"
+ ]
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e751b5c6e3..7172e349b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,16 +18,15 @@ Useful links:
[releases]: https://github.com/google/docsy/releases
[tags]: https://github.com/google/docsy/tags
-## 0.9.2 or 0.10.0
+## 0.12.1 or 0.13.0
-> ### UNRELEASED: this planned version is still under development
+> **UNRELEASED: this planned version is still under development**
For the full list of changes, see the [0.x.y] release notes.
**Breaking changes**:
-- Removed shortcode `card-code` that was [deprecated in 0.7.0](#070); use
- shortcode `card` with named parameter `code=true` instead.
+- ...
**New**:
@@ -35,6 +34,122 @@ For the full list of changes, see the [0.x.y] release notes.
[0.x.y]: https://github.com/google/docsy/releases/latest?FIXME=v0.X.Y
+## 0.12.0
+
+For the full list of changes, see the [0.12.0] release notes.
+
+**Breaking changes**:
+
+- Renames the default Docsy heading render hook and heading self-link partials.
+ This is a breaking change only if your project uses this feature. For details,
+ see [Heading self links][] ([#2223]).
+- Relocates and adapts layouts in response to Hugo's [new template system][].
+ For details, see [Adapt to new template system in Hugo v0.146.0 #2243][#2243].
+- **IMPORTANT**: if your project overrides any of the layout files mentioned in
+ [#2243], then apply the same name changes in your project files. In
+ particular, note that:
+ - Taxonomy-related layout files: names have been _swapped_, and `terms.html`
+ is now singular ([#2257]):
+ - Renames `_default/taxonomy.html` to `term.html` (singular)
+ - Renames `_default/terms.html` to `taxonomy.html`
+ - Renames `layouts/**/content.html` by adding a `_td-` filename prefix
+ ([#2259]).
+
+[#2257]: https://github.com/google/docsy/pull/2257
+[#2259]: https://github.com/google/docsy/pull/2259
+[new template system]: https://gohugo.io/templates/new-templatesystem-overview/
+
+**Potential breaking changes**:
+
+- Removes shortcode `figure`, hugo's built-in shortcode `figure` can/will be
+ used instead.
+
+**New**:
+
+- **[Breadcrumb navigation]** support has been enhanced and adjusted:
+ - You can now disable breadcrumbs for an entire project, or individual pages
+ or sections by setting `ui.breadcrumb_disable` to true. For details, see
+ [Breadcrumb navigation][].
+ - **Blog** pages now also have breadcrumbs by default ([#1788]).
+ - Index-page single-element breadcrumb lists are hidden by default ([#2160]).
+- Support for a [_td-content-after-header.html] page-content render hook, which
+ can be [content type][] specific ([#2192]). For details, see the [User
+ Guide][before-page-content].
+
+**Other changes**:
+
+- **Blog** section index page content and title used to be ignored, they are now
+ displayed ([#1787]). To recover the old behavior use the following style
+ override: `.td-section.td-blog .td-content { display: none; }`.
+- Adds a `comment` shortcode, as a drop-in replacement for the one removed from
+ Hugo.
+
+[0.12.0]: https://github.com/google/docsy/releases/v0.12.0
+[#1787]: https://github.com/google/docsy/issues/1787
+[#1788]: https://github.com/google/docsy/issues/1788
+[#2160]: https://github.com/google/docsy/pull/2160
+[#2192]: https://github.com/google/docsy/pull/2192
+[#2223]: https://github.com/google/docsy/pull/2223
+[#2243]: https://github.com/google/docsy/pull/2243
+[before-page-content]:
+ https://www.docsy.dev/docs/adding-content/lookandfeel/#before-page-content
+[Breadcrumb navigation]:
+ https://www.docsy.dev/docs/adding-content/navigation/#breadcrumb-navigation
+[content type]: https://gohugo.io/quick-reference/glossary/#content-type
+[Heading self links]:
+ https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links
+[_td-content-after-header.html]:
+ https://github.com/google/docsy/blob/main/layouts/_td-content-after-header.html
+
+## 0.11.0
+
+For the full list of changes, see the [0.11.0] release notes.
+
+**New**:
+
+- Support for Right-To-Left (RLT) languages is reintroduced via [Bootstrap's
+ support for RTL][bs-rtl]. For details, see [Right-to-left languages][rtl].
+- The URL to your project's contribution guidelines is configurable. For
+ details, see [Adding a community page].
+- When a section's sidebar entries are truncated because there are more than
+ [params.ui.sidebar_menu_truncate] section entries, a warning is issued.
+
+[0.11.0]: https://github.com/google/docsy/releases/v0.11.0
+[bs-rtl]: https://getbootstrap.com/docs/5.3/getting-started/rtl/
+[Adding a community page]:
+ https://www.docsy.dev/docs/adding-content/content/#adding-a-community-page
+[params.ui.sidebar_menu_truncate]:
+ https://www.docsy.dev/docs/adding-content/navigation/#section-menu-options
+[rtl]: https://www.docsy.dev/docs/language/#right-to-left-languages
+
+## 0.10.0
+
+For an introduction to this release, see the [0.10.0 release report]. For the
+full list of changes, see the [0.10.0] release notes.
+
+**New**: color themes and dark-mode support! For details, see [Color themes and
+dark-mode support][dark-mode].
+
+**Breaking changes**:
+
+- Removes shortcode `card-code` that was [deprecated in 0.7.0](#070); use
+ shortcode `card` with named parameter `code=true` instead.
+- The following SCSS variables are inlined in favor of dark-mode compatible
+ styling: `$border-color`, `$td-sidebar-tree-root-color`,
+ `$td-sidebar-bg-color`, `$td-sidebar-border-color` ([#1952])
+
+**Style changes** (potentially breaking):
+
+- The style of various shortcode and elements have been adjusted so that they
+ are compatible with light/dark mode. For details see, **Important style
+ changes** in [Color themes and dark-mode support][dark-mode].
+
+[#1952]: https://github.com/google/docsy/pull/1952
+[0.10.0]: https://github.com/google/docsy/releases/v0.10.0
+[0.10.0 release report]: https://www.docsy.dev/blog/2024/0.10.0/
+[dark-mode]:
+ https://www.docsy.dev/blog/2024/0.10.0/#color-themes-and-dark-mode-support
+
## 0.9.1
Patch release. For details, see [0.9.1].
@@ -64,7 +179,8 @@ this release are listed next.
form `--KIND`. The new suffix is `__KIND`. For details, see [Disabling links].
- **Heading self-link** support has been reimplemented and projects must now
- explicitly enable the feature. For details, see [Heading self links].
+ explicitly enable the feature. For details, see [Heading self
+ links][0.9.0:hsl].
**Footer changes**: refactoring, for easier customization, and simplification.
For details concerning all footer changes, see [#1818].
@@ -92,7 +208,7 @@ For details concerning all footer changes, see [#1818].
[Footer layout]: https://www.docsy.dev/blog/2024/0.9.0/#footer-layout
[Footer copyright]: https://www.docsy.dev/blog/2024/0.9.0/#footer-copyright
[Footer streamlined]: https://www.docsy.dev/blog/2024/0.9.0/#footer-streamlined
-[Heading self links]: https://www.docsy.dev/blog/2024/0.9.0/#heading-self-links
+[0.9.0:hsl]: https://www.docsy.dev/blog/2024/0.9.0/#heading-self-links
[look and feel]: https://www.docsy.dev/blog/2024/0.9.0/#look-and-feel
[mermaid]:
https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#diagrams-with-mermaid
@@ -109,10 +225,11 @@ For the full list of changes, see the [0.8.0] release notes.
**Breaking changes**:
-- Docsy is packaged as a **single Hugo module** ([#1120]).
- - For details, see [Use Docsy as a Hugo Module].
-- **Important**: non-Hugo-module projects should read the [Docsy NPM install
- side-effect] note.
+- Docsy is packaged as a **single Hugo module** ([#1120]). For details, see [Use
+ Docsy as a Hugo Module].
+- **Important**: non-Hugo-module projects should be aware of the [Docsy NPM
+ install side-effect]. Also, for guidance on Hugo-reported "failed to load
+ modules" error, see [Docsy as an NPM package].
- **Page feedback**, or [User feedback]:
- In support of projects configuring analytics outside of Docsy, feedback
functionality is enabled regardless of whether
@@ -131,6 +248,8 @@ For the full list of changes, see the [0.8.0] release notes.
[#1726]: https://github.com/google/docsy/pull/1726
[#1727]: https://github.com/google/docsy/pull/1727
[0.8.0]: https://github.com/google/docsy/releases/v0.8.0
+[Docsy as an NPM package]:
+ https://docsy.dev/docs/get-started/other-options/#option-3-docsy-as-an-npm-package
[Docsy NPM install side-effect]:
https://docsy.dev/docs/get-started/other-options/#docsy-npm-install-side-effect
[Use Docsy as a Hugo Module]:
@@ -206,7 +325,8 @@ For the full list of changes, see the [0.7.0] release notes.
- **Shortcodes**:
- Now using Hugo's native support for processing HTML & markdown, not file
extension testing. ([#906])
- - Dropped support for pre-Hugo-0.54.x behavior of `{{% %}}`. ([#939])
+ - Dropped support for pre-Hugo-0.54.x behavior of [shortcodes with markdown],
+ `{{%/*...*/%}}`. ([#939])
- `blocks/section`: **default** and accepted values of the `type` argument
have changed! For details, see [blocks/section] ([#1472]).
- **Card shortcodes** ([#1376])]:
@@ -219,6 +339,8 @@ For the full list of changes, see the [0.7.0] release notes.
[chroma-docsy]:
https://www.docsy.dev/docs/adding-content/lookandfeel/#code-highlighting-with-chroma
+[shortcodes with markdown]:
+ https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown
- **Detection of draw.io diagrams** is now **disabled** by default [#1185]
@@ -419,9 +541,10 @@ For the full list of changes, see the [0.2.0] release notes.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1177c58f41..5c62f72695 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -51,10 +51,10 @@ repo.
the end of the file. (Note that change details are autogenerated by GitHub
in a later step.)
3. **Update Docsy version** to v0.X.Y for:
- - `version` key in [package.json](package.json)
- - `version` key in [userguide/hugo.yaml][]
-4. Run `npm install` to have vendor assets and [go.mod](go.mod) updated for
- dependencies.
+ - `version` key in [package.json]
+ - `version` key in [userguide/hugo.yaml]
+4. Run `npm run ci:prepare` to ensure that vendor assets and [go.mod]
+ dependencies are up-to-date.
5. **Submit a PR with your changes**, using a title like "Release v0.X.Y
preparation".
6. **Test the PR** branch from selected sites, and push any required
@@ -117,19 +117,22 @@ Assuming that Docsy release v0.X.Y has been successfully deployed and use by at
least one downstream project, then perform the following actions before any
further changes are merged into the default branch:
-1. Set `version` in [package.json](package.json) to the next planned (or the
- next dot) release with a dev suffix, such as `v0.X.Z-dev.0-unreleased`.
+1. Set `version` in [package.json] to the next planned (or the next dot) release
+ with a dev suffix, such as `v0.X.Z-dev-unreleased`.
2. In the [CHANGELOG]:
- **Create a new entry** for the next release by copying the ENTRY TEMPLATE
at the end of the file.
- **Pin the 0.X.Y release URL**, which ends with `latest?FIXME=...`, to the
v0.X.Y release at `https://github.com/google/docsy/releases/v0.x.y`.
3. **Submit a PR with your changes**, using a title like "Set NPM package
- version to next unreleased dev vers".
+ version to next unreleased dev version".
4. **Get PR approved and merged**.
-[CHANGELOG]: CHANGELOG.md
+[CHANGELOG]: https://github.com/google/docsy/blob/main/CHANGELOG.md
[contribution guidelines]: https://www.docsy.dev/docs/contribution-guidelines/
[docsy-example]: https://github.com/google/docsy-example
[Draft a new release]: https://github.com/google/docsy/releases/new
-[userguide/hugo.yaml]: userguide/hugo.yaml
+[go.mod]: https://github.com/google/docsy/blob/main/go.mod
+[package.json]: https://github.com/google/docsy/blob/main/package.json
+[userguide/hugo.yaml]:
+ https://github.com/google/docsy/blob/main/userguide/hugo.yaml
diff --git a/README.md b/README.md
index a68147e22d..34baee170c 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,7 @@
# Docsy
-[](https://www.repostatus.org/#active)
-[](https://github.com/google/docsy/releases)
-[](https://app.netlify.com/sites/docsydocs/deploys)
-[](https://github.com/google/docsy/graphs/contributors)
-[](https://github.com/google/docsy/blob/main/LICENSE)
-
-## 🚧 WARNING 🚧 : `main` is under development and potentially unstable! Use official Docsy [releases].
+> **🚧 WARNING 🚧 : `main` is under development and potentially unstable! Use
+> official Docsy [releases].**
Docsy is a [Hugo](https://gohugo.io) theme for technical documentation sets,
providing simple navigation, site structure, and more.
@@ -95,8 +90,8 @@ requests, see [CONTRIBUTING.md]. Thank you to all past, present, and future
## License
-This project is licensed under the Apache License 2.0 - see the
-[LICENSE.md](https://github.com/google/docsy/blob/main/LICENSE) file for details
+This project is licensed under the Apache License 2.0 - see
+[LICENSE](https://github.com/google/docsy/blob/main/LICENSE) for details
[code of conduct]:
https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md
diff --git a/assets/scss/_boxes.scss b/assets/scss/_boxes.scss
index c33316099f..6c27d4394f 100644
--- a/assets/scss/_boxes.scss
+++ b/assets/scss/_boxes.scss
@@ -116,3 +116,21 @@
@each $color, $value in $grays {
@include box-variant(".td-box", $color, $value);
}
+
+// Single dark-mode compatibility override for white boxes:
+@include color-mode(dark) {
+ .td-box--white {
+ color: var(--bs-body-color);
+ background-color: var(--bs-body-bg);
+ p > a, span > a {
+ color: var(--bs-link-color);
+ &:focus,
+ &:hover {
+ color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
+ }
+ }
+ .td-arrow-down::before {
+ border-color: var(--bs-body-bg) transparent transparent transparent;
+ }
+ }
+}
diff --git a/assets/scss/_breadcrumb.scss b/assets/scss/_breadcrumb.scss
index 0d32ab7554..387026f70f 100644
--- a/assets/scss/_breadcrumb.scss
+++ b/assets/scss/_breadcrumb.scss
@@ -2,7 +2,11 @@
.td-breadcrumbs {
@media print {
- display: none !important;
+ display: none;
+ }
+
+ &__single {
+ display: none;
}
.breadcrumb {
diff --git a/assets/scss/_code.scss b/assets/scss/_code.scss
index f6d6747077..43a2fc70d6 100644
--- a/assets/scss/_code.scss
+++ b/assets/scss/_code.scss
@@ -25,7 +25,7 @@
button.td-click-to-copy {
position: absolute;
- color: $gray-400;
+ color: var(--bs-tertiary-color);
border-width: 0;
background-color: transparent;
background-image: none;
@@ -35,12 +35,12 @@
top: 2px;
&:hover {
- color: $dark;
- background-color: $gray-400;
+ color: var(--bs-secondary-color);
+ background-color: var(--bs-dark-bg-subtle);
}
&:active {
- color: $dark;
- background-color: $gray-400;
+ color: var(--bs-secondary-color);
+ background-color: var(--bs-dark-bg-subtle);
transform: translateY(2px);
}
}
diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss
index 364aff2421..165aab8a08 100644
--- a/assets/scss/_content.scss
+++ b/assets/scss/_content.scss
@@ -47,8 +47,8 @@
blockquote {
padding: 0 0 0 1rem;
margin-bottom: $spacer;
- color: $gray-600;
- border-left: 6px solid $secondary;
+ color: var(--bs-secondary-color);
+ border-left: 6px solid var(--bs-primary);
}
ul li,
@@ -96,7 +96,7 @@
}
.td-heading-self-link {
- &:before {
+ &::before {
content: '#';
}
diff --git a/assets/scss/_drawio.scss b/assets/scss/_drawio.scss
index 0bbafe6342..6dd735e269 100644
--- a/assets/scss/_drawio.scss
+++ b/assets/scss/_drawio.scss
@@ -23,7 +23,7 @@ div.drawioframe {
height: 100%;
width: 100%;
top: 0;
- left: 0px;
+ left: 0;
z-index: 1000;
background: #000b;
border: 0;
diff --git a/assets/scss/_nav.scss b/assets/scss/_nav.scss
index dde0e276ce..8087f906e4 100644
--- a/assets/scss/_nav.scss
+++ b/assets/scss/_nav.scss
@@ -114,7 +114,7 @@
li i {
padding-right: 0.5em;
- &:before {
+ &::before {
display: inline-block;
text-align: center;
min-width: 1em;
@@ -127,7 +127,7 @@
border: 0;
font-weight: inherit;
- &:before {
+ &::before {
display: inline-block;
font-style: normal;
font-variant: normal;
@@ -182,7 +182,7 @@ nav.foldable-nav {
padding-left: 1.5em;
}
- .ul-1 .with-child > label:before {
+ .ul-1 .with-child > label::before {
display: inline-block;
font-style: normal;
font-variant: normal;
@@ -196,15 +196,15 @@ nav.foldable-nav {
padding-left: 0.4em;
padding-right: 0.4em;
font-size: 1em;
- color: $gray-900;
+ color: var(--bs-secondary-color);
transition: all 0.5s;
&:hover {
transform: rotate(90deg);
}
}
- .ul-1 .with-child > input:checked ~ label:before {
- color: $primary;
+ .ul-1 .with-child > input:checked ~ label::before {
+ color: var(--bs-secondary-color);
transform: rotate(90deg);
transition: transform 0.5s;
}
@@ -216,13 +216,13 @@ nav.foldable-nav {
@media (hover: hover) and (pointer: fine) {
nav.foldable-nav {
- .ul-1 .with-child > label:hover:before {
- color: $primary;
+ .ul-1 .with-child > label:hover::before {
+ color: var(--bs-link-color);
transition: color 0.3s;
}
- .ul-1 .with-child > input:checked ~ label:hover:before {
- color: $primary;
+ .ul-1 .with-child > input:checked ~ label:hover::before {
+ color: var(--bs-link-color);
transition: color 0.3s;
}
}
diff --git a/assets/scss/_search.scss b/assets/scss/_search.scss
index ad97201966..3df37e55ad 100644
--- a/assets/scss/_search.scss
+++ b/assets/scss/_search.scss
@@ -19,7 +19,7 @@
// Click-through to the underlying input.
pointer-events: none;
- &:before {
+ &::before {
@extend .fa;
content: fa-content($fa-var-search);
}
@@ -67,7 +67,7 @@
}
.td-search-input {
- text-indent: 0px;
+ text-indent: 0;
}
}
@@ -114,7 +114,7 @@
// cursor: pointer;
float: right;
- &:after {
+ &::after {
@extend .fas;
content: fa-content($fa-var-times);
}
diff --git a/assets/scss/_sidebar-toc.scss b/assets/scss/_sidebar-toc.scss
index dd7def1ec5..1b13966010 100644
--- a/assets/scss/_sidebar-toc.scss
+++ b/assets/scss/_sidebar-toc.scss
@@ -4,7 +4,7 @@
.td-sidebar-toc {
@include link-decoration;
- border-left: 1px solid $border-color;
+ border-left: 1px solid var(--bs-border-color);
@supports (position: sticky) {
position: sticky;
diff --git a/assets/scss/_sidebar-tree.scss b/assets/scss/_sidebar-tree.scss
index 6c1825aa0c..07eb74185b 100644
--- a/assets/scss/_sidebar-tree.scss
+++ b/assets/scss/_sidebar-tree.scss
@@ -39,7 +39,8 @@
list-style: none;
}
- &.ul-0, ul {
+ &.ul-0,
+ ul {
padding: 0;
margin: 0;
}
@@ -62,7 +63,7 @@
}
a {
- color: var(--bs-emphasis-color);
+ color: var(--bs-secondary-color);
}
}
@@ -79,7 +80,7 @@
a {
&:focus,
&:hover {
- color: $link-color;
+ color: var(--bs-link-color);
}
&.active {
@@ -87,14 +88,9 @@
}
}
- .dropdown {
- a {
- color: $gray-700;
- }
-
- .nav-link {
- padding: 0 0 1rem;
- }
+ .dropdown .nav-link {
+ padding-left: 1.5rem;
+ margin-bottom: 0.5rem;
}
& > .td-sidebar-nav__section {
@@ -104,7 +100,7 @@
li i {
// Layout of icons
padding-right: 0.5em;
- &:before {
+ &::before {
display: inline-block;
text-align: center;
min-width: 1em;
@@ -113,8 +109,7 @@
.td-sidebar-link.tree-root {
font-weight: $font-weight-bold;
- color: $td-sidebar-tree-root-color;
- border-bottom: 1px $td-sidebar-tree-root-color solid;
+ border-bottom: 1px solid var(--bs-tertiary-color);
margin-bottom: 1rem;
}
}
@@ -124,16 +119,15 @@
@include media-breakpoint-up(md) {
padding-top: 4rem;
- background-color: $td-sidebar-bg-color;
padding-right: 1rem;
- border-right: 1px solid $td-sidebar-border-color;
+ border-right: 1px solid var(--bs-border-color);
}
padding-bottom: 1rem;
&__toggle {
line-height: 1;
- color: var(--bs-emphasis-color);
+ color: var(--bs-body-color);
margin: 1rem;
}
diff --git a/assets/scss/_taxonomy.scss b/assets/scss/_taxonomy.scss
index c1ff998f9a..2af00fe202 100644
--- a/assets/scss/_taxonomy.scss
+++ b/assets/scss/_taxonomy.scss
@@ -24,9 +24,9 @@
display: inline-block;
width: 100%;
font-size: 1rem;
- font-weight: 700;
- color: $primary;
- border-bottom: 1px $primary solid;
+ font-weight: $font-weight-bold;
+ color: var(--bs-primary-text-emphasis);
+ border-bottom: 1px solid var(--bs-tertiary-color);
margin-bottom: 1em;
padding-bottom: 0.375rem;
margin-top: 1em;
@@ -105,14 +105,14 @@
margin-left: 0.6em;
text-align: center;
border-radius: 1em;
- background-color: $white;
+ background-color: var(--bs-body-bg);
}
.taxonomy-term {
- background: $gray-200;
+ background: var(--bs-secondary-bg);
border-width: 0;
border-radius: 0 3px 3px 0;
- color: $gray-600;
+ color: var(--bs-body-color);
display: inline-block;
font-size: 1em;
line-height: 1.5em;
@@ -127,11 +127,11 @@
clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0);
&:hover {
- background-color: $primary;
- color: $white;
+ background-color: var(--bs-primary-bg-subtle);
+ color: var(--bs-body-color-dark);
.taxonomy-count {
- color: $dark !important;
+ color: var(--bs-body-color-dark);
}
}
@@ -288,7 +288,7 @@
margin-bottom: 1.5rem;
}
-.article-teaser.article-type-docs h3 a:before {
+.article-teaser.article-type-docs h3 a::before {
display: inline-block;
font-style: normal;
font-variant: normal;
@@ -299,7 +299,7 @@
padding-right: 0.5em;
}
-.article-teaser.article-type-blog h3 a:before {
+.article-teaser.article-type-blog h3 a::before {
display: inline-block;
font-style: normal;
font-variant: normal;
@@ -315,7 +315,7 @@
line-height: 1.2;
font-size: 1.5rem;
- &:before {
+ &::before {
display: inline-block;
font-style: normal;
font-variant: normal;
@@ -334,11 +334,11 @@
}
.breadcrumb {
- margin-bottom: 0em;
+ margin-bottom: 0;
font-size: 0.85rem;
}
.article-meta {
- margin-bottom: 0em;
+ margin-bottom: 0;
}
}
diff --git a/assets/scss/_tocbot.scss b/assets/scss/_tocbot.scss
new file mode 100644
index 0000000000..4e58a92b3e
--- /dev/null
+++ b/assets/scss/_tocbot.scss
@@ -0,0 +1,4 @@
+// Override active link color
+.is-active-link::before {
+ background-color: $primary !important;
+}
\ No newline at end of file
diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss
index 8fda832333..434d40ff2f 100644
--- a/assets/scss/_variables.scss
+++ b/assets/scss/_variables.scss
@@ -26,11 +26,6 @@ $code-color: shade-color($secondary, 40%) !default;
// UI element colors
-$border-color: $gray-300 !default;
-$td-sidebar-tree-root-color: $primary !default;
-$td-sidebar-bg-color: rgba($primary, 0.03) !default;
-$td-sidebar-border-color: $border-color !default;
-
// Background colors for the sections on home page etc. It is a paint by number
// system, starting at 0, where the number is taken from the shortcode's ordinal
// if not provided by the user. These colors are all part of the theme palette,
diff --git a/assets/scss/main.scss b/assets/scss/main.scss
index 710c943991..51af0beffb 100644
--- a/assets/scss/main.scss
+++ b/assets/scss/main.scss
@@ -8,9 +8,9 @@
@import "../vendor/bootstrap/scss/bootstrap";
@import "support/bootstrap_vers_test";
-@import "../vendor/Font-Awesome/scss/fontawesome.scss";
-@import "../vendor/Font-Awesome/scss/solid.scss";
-@import "../vendor/Font-Awesome/scss/brands.scss";
+@import "../vendor/Font-Awesome/scss/fontawesome";
+@import "../vendor/Font-Awesome/scss/solid";
+@import "../vendor/Font-Awesome/scss/brands";
@import "variables_project_after_bs";
@@ -34,8 +34,10 @@
@import "taxonomy";
@import "drawio";
@import "shortcodes";
+@import "tocbot";
@import "swagger";
-
+@import "support/rtl";
+@import "tocbot";
@if $td-enable-google-fonts {
@import url($web-font-path);
@@ -101,10 +103,10 @@
visibility: hidden;
}
- h2[id]:before,
- h3[id]:before,
- h4[id]:before,
- h5[id]:before {
+ h2[id]::before,
+ h3[id]::before,
+ h4[id]::before,
+ h5[id]::before {
display: block;
content: " ";
margin-top: -5rem;
diff --git a/assets/scss/rtl/_main.scss b/assets/scss/rtl/_main.scss
deleted file mode 100644
index 6ea131e314..0000000000
--- a/assets/scss/rtl/_main.scss
+++ /dev/null
@@ -1,55 +0,0 @@
-body:lang(fa),
-body:lang(ar),
-body:lang(az),
-body:lang(dv),
-body:lang(he),
-body:lang(ku),
-body:lang(ur) {
- @import "spacing";
-
- direction: rtl;
- text-align: right;
-
- .dropdown-menu {
- text-align: right;
- }
-
- .text-right {
- text-align: left !important;
- }
-
- pre {
- text-align: left;
- direction: ltr;
- }
-
- .td-rss-button {
- left: 1rem !important;
- right: auto !important;
- }
-}
-
-body:lang(fa) {
- @import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v27.0.1/dist/font-face.css");
- font-family: "Vazir", "Open Sans", -apple-system, BlinkMacSystemFont,
- "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
- "Segoe UI Emoji", "Segoe UI Symbol";
-}
-
-body:lang(he) {
- @if $td-enable-google-fonts {
- @import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap");
- }
- font-family: "Rubik", "Open Sans", -apple-system, BlinkMacSystemFont,
- "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
- "Segoe UI Emoji", "Segoe UI Symbol";
-}
-
-body:lang(ar) {
- @if $td-enable-google-fonts {
- @import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap");
- }
- font-family: "Tajawal", "Open Sans", -apple-system, BlinkMacSystemFont,
- "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
- "Segoe UI Emoji", "Segoe UI Symbol";
-}
diff --git a/assets/scss/rtl/_spacing.scss b/assets/scss/rtl/_spacing.scss
deleted file mode 100644
index 6ead6b0dd9..0000000000
--- a/assets/scss/rtl/_spacing.scss
+++ /dev/null
@@ -1,87 +0,0 @@
-@each $breakpoint in map-keys($grid-breakpoints) {
- @include media-breakpoint-up($breakpoint) {
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
-
- @each $prop, $abbrev in (margin: m, padding: p) {
- @each $size, $length in $spacers {
- .#{$abbrev}#{$infix}-#{$size} {
- #{$prop}: $length !important;
- }
-
- .#{$abbrev}t#{$infix}-#{$size},
- .#{$abbrev}y#{$infix}-#{$size} {
- #{$prop}-top: $length !important;
- }
-
- .#{$abbrev}r#{$infix}-#{$size},
- .#{$abbrev}x#{$infix}-#{$size} {
- #{$prop}-inline-end: $length !important;
- }
-
- .#{$abbrev}b#{$infix}-#{$size},
- .#{$abbrev}y#{$infix}-#{$size} {
- #{$prop}-bottom: $length !important;
- }
-
- .#{$abbrev}l#{$infix}-#{$size},
- .#{$abbrev}x#{$infix}-#{$size} {
- #{$prop}-inline-start: $length !important;
- }
- }
- }
-
- // Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
- @each $size, $length in $spacers {
- @if $size !=0 {
- .m#{$infix}-n#{$size} {
- margin: -$length !important;
- }
-
- .mt#{$infix}-n#{$size},
- .my#{$infix}-n#{$size} {
- margin-top: -$length !important;
- }
-
- .mr#{$infix}-n#{$size},
- .mx#{$infix}-n#{$size} {
- margin-right: -$length !important;
- }
-
- .mb#{$infix}-n#{$size},
- .my#{$infix}-n#{$size} {
- margin-bottom: -$length !important;
- }
-
- .ml#{$infix}-n#{$size},
- .mx#{$infix}-n#{$size} {
- margin-left: -$length !important;
- }
- }
- }
-
- // Some special margin utils
- .m#{$infix}-auto {
- margin: auto !important;
- }
-
- .mt#{$infix}-auto,
- .my#{$infix}-auto {
- margin-top: auto !important;
- }
-
- .mr#{$infix}-auto,
- .mx#{$infix}-auto {
- margin-right: auto !important;
- }
-
- .mb#{$infix}-auto,
- .my#{$infix}-auto {
- margin-bottom: auto !important;
- }
-
- .ml#{$infix}-auto,
- .mx#{$infix}-auto {
- margin-left: auto !important;
- }
- }
-}
diff --git a/assets/scss/section-index.scss b/assets/scss/section-index.scss
index c34d699768..bda9a11209 100644
--- a/assets/scss/section-index.scss
+++ b/assets/scss/section-index.scss
@@ -7,7 +7,7 @@
margin-bottom: 0;
a {
- font-weight: 700;
+ font-weight: $font-weight-bold;
}
}
diff --git a/assets/scss/shortcodes.scss b/assets/scss/shortcodes.scss
index 517d3e8225..eb05199821 100644
--- a/assets/scss/shortcodes.scss
+++ b/assets/scss/shortcodes.scss
@@ -1,2 +1,2 @@
-@import "shortcodes/tabbed-pane.scss";
-@import "shortcodes/cards-pane.scss";
+@import "shortcodes/tabbed-pane";
+@import "shortcodes/cards-pane";
diff --git a/assets/scss/shortcodes/tabbed-pane.scss b/assets/scss/shortcodes/tabbed-pane.scss
index 680a965539..7d8647e833 100644
--- a/assets/scss/shortcodes/tabbed-pane.scss
+++ b/assets/scss/shortcodes/tabbed-pane.scss
@@ -10,7 +10,7 @@
border: none;
max-width: 100%;
}
- margin-top: 0rem;
+ margin-top: 0;
margin-bottom: 1.5rem;
border-left: $nav-tabs-border-width solid $nav-tabs-border-color;
border-right: $nav-tabs-border-width solid $nav-tabs-border-color;
diff --git a/layouts/partials/hooks/body-end.html b/assets/scss/support/_rtl.scss
similarity index 100%
rename from layouts/partials/hooks/body-end.html
rename to assets/scss/support/_rtl.scss
diff --git a/assets/scss/support/_utilities.scss b/assets/scss/support/_utilities.scss
index c691c3b355..245c2bb9d5 100644
--- a/assets/scss/support/_utilities.scss
+++ b/assets/scss/support/_utilities.scss
@@ -25,10 +25,7 @@
&::after {
content: "";
position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
+ inset: 0;
}
&--dark::after {
diff --git a/assets/scss/td/_code-dark.scss b/assets/scss/td/_code-dark.scss
new file mode 100644
index 0000000000..e411099bad
--- /dev/null
+++ b/assets/scss/td/_code-dark.scss
@@ -0,0 +1,10 @@
+[data-bs-theme="light"] {
+ @import 'td/chroma/light';
+}
+
+[data-bs-theme="dark"] {
+ @import 'td/chroma/dark';
+ .chroma {
+ background-color: var(--td-pre-bg);
+ }
+}
diff --git a/assets/scss/td/chroma/_dark.scss b/assets/scss/td/chroma/_dark.scss
new file mode 100644
index 0000000000..5e34333e04
--- /dev/null
+++ b/assets/scss/td/chroma/_dark.scss
@@ -0,0 +1,89 @@
+/* Chroma style: onedark */
+/* Generated using: hugo gen chromastyles --style=onedark */
+
+/* Background */ .bg { color:#abb2bf;background-color:#282c34; }
+/* PreWrapper */ .chroma { color:#abb2bf;background-color:#282c34; }
+/* Other */ .chroma .x { }
+/* Error */ .chroma .err { }
+/* CodeLine */ .chroma .cl { }
+/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
+/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
+/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
+/* LineHighlight */ .chroma .hl { background-color:#3d4148 }
+/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#55595f }
+/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#55595f }
+/* Line */ .chroma .line { display:flex; }
+/* Keyword */ .chroma .k { color:#c678dd }
+/* KeywordConstant */ .chroma .kc { color:#e5c07b }
+/* KeywordDeclaration */ .chroma .kd { color:#c678dd }
+/* KeywordNamespace */ .chroma .kn { color:#c678dd }
+/* KeywordPseudo */ .chroma .kp { color:#c678dd }
+/* KeywordReserved */ .chroma .kr { color:#c678dd }
+/* KeywordType */ .chroma .kt { color:#e5c07b }
+/* Name */ .chroma .n { color:#e06c75 }
+/* NameAttribute */ .chroma .na { color:#e06c75 }
+/* NameClass */ .chroma .nc { color:#e5c07b }
+/* NameConstant */ .chroma .no { color:#e06c75 }
+/* NameDecorator */ .chroma .nd { color:#61afef }
+/* NameEntity */ .chroma .ni { color:#e06c75 }
+/* NameException */ .chroma .ne { color:#e06c75 }
+/* NameLabel */ .chroma .nl { color:#e06c75 }
+/* NameNamespace */ .chroma .nn { color:#e06c75 }
+/* NameOther */ .chroma .nx { color:#e06c75 }
+/* NameProperty */ .chroma .py { color:#e06c75 }
+/* NameTag */ .chroma .nt { color:#e06c75 }
+/* NameBuiltin */ .chroma .nb { color:#e5c07b }
+/* NameBuiltinPseudo */ .chroma .bp { color:#e5c07b }
+/* NameVariable */ .chroma .nv { color:#e06c75 }
+/* NameVariableClass */ .chroma .vc { color:#e06c75 }
+/* NameVariableGlobal */ .chroma .vg { color:#e06c75 }
+/* NameVariableInstance */ .chroma .vi { color:#e06c75 }
+/* NameVariableMagic */ .chroma .vm { color:#e06c75 }
+/* NameFunction */ .chroma .nf { color:#61afef;font-weight:bold }
+/* NameFunctionMagic */ .chroma .fm { color:#56b6c2;font-weight:bold }
+/* Literal */ .chroma .l { }
+/* LiteralDate */ .chroma .ld { }
+/* LiteralString */ .chroma .s { color:#98c379 }
+/* LiteralStringAffix */ .chroma .sa { color:#98c379 }
+/* LiteralStringBacktick */ .chroma .sb { color:#98c379 }
+/* LiteralStringChar */ .chroma .sc { color:#98c379 }
+/* LiteralStringDelimiter */ .chroma .dl { color:#98c379 }
+/* LiteralStringDoc */ .chroma .sd { color:#98c379 }
+/* LiteralStringDouble */ .chroma .s2 { color:#98c379 }
+/* LiteralStringEscape */ .chroma .se { color:#98c379 }
+/* LiteralStringHeredoc */ .chroma .sh { color:#98c379 }
+/* LiteralStringInterpol */ .chroma .si { color:#98c379 }
+/* LiteralStringOther */ .chroma .sx { color:#98c379 }
+/* LiteralStringRegex */ .chroma .sr { color:#98c379 }
+/* LiteralStringSingle */ .chroma .s1 { color:#98c379 }
+/* LiteralStringSymbol */ .chroma .ss { color:#98c379 }
+/* LiteralNumber */ .chroma .m { color:#d19a66 }
+/* LiteralNumberBin */ .chroma .mb { color:#d19a66 }
+/* LiteralNumberFloat */ .chroma .mf { color:#d19a66 }
+/* LiteralNumberHex */ .chroma .mh { color:#d19a66 }
+/* LiteralNumberInteger */ .chroma .mi { color:#d19a66 }
+/* LiteralNumberIntegerLong */ .chroma .il { color:#d19a66 }
+/* LiteralNumberOct */ .chroma .mo { color:#d19a66 }
+/* Operator */ .chroma .o { color:#56b6c2 }
+/* OperatorWord */ .chroma .ow { color:#56b6c2 }
+/* Punctuation */ .chroma .p { }
+/* Comment */ .chroma .c { color:#7f848e }
+/* CommentHashbang */ .chroma .ch { color:#7f848e }
+/* CommentMultiline */ .chroma .cm { color:#7f848e }
+/* CommentSingle */ .chroma .c1 { color:#7f848e }
+/* CommentSpecial */ .chroma .cs { color:#7f848e }
+/* CommentPreproc */ .chroma .cp { color:#7f848e }
+/* CommentPreprocFile */ .chroma .cpf { color:#7f848e }
+/* Generic */ .chroma .g { }
+/* GenericDeleted */ .chroma .gd { color:#e06c75 }
+/* GenericEmph */ .chroma .ge { }
+/* GenericError */ .chroma .gr { }
+/* GenericHeading */ .chroma .gh { }
+/* GenericInserted */ .chroma .gi { color:#98c379;font-weight:bold }
+/* GenericOutput */ .chroma .go { }
+/* GenericPrompt */ .chroma .gp { }
+/* GenericStrong */ .chroma .gs { }
+/* GenericSubheading */ .chroma .gu { }
+/* GenericTraceback */ .chroma .gt { }
+/* GenericUnderline */ .chroma .gl { }
+/* TextWhitespace */ .chroma .w { }
diff --git a/assets/scss/td/chroma/_light.scss b/assets/scss/td/chroma/_light.scss
new file mode 100644
index 0000000000..45e1a454f9
--- /dev/null
+++ b/assets/scss/td/chroma/_light.scss
@@ -0,0 +1,89 @@
+/* Chroma style: tango */
+/* Generated using: hugo gen chromastyles --style=tango */
+
+/* Background */ .bg { background-color:#f8f8f8; }
+/* PreWrapper */ .chroma { background-color:#f8f8f8; }
+/* Other */ .chroma .x { color:#000 }
+/* Error */ .chroma .err { color:#a40000 }
+/* CodeLine */ .chroma .cl { }
+/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
+/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
+/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
+/* LineHighlight */ .chroma .hl { background-color:#dfdfdf }
+/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
+/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
+/* Line */ .chroma .line { display:flex; }
+/* Keyword */ .chroma .k { color:#204a87;font-weight:bold }
+/* KeywordConstant */ .chroma .kc { color:#204a87;font-weight:bold }
+/* KeywordDeclaration */ .chroma .kd { color:#204a87;font-weight:bold }
+/* KeywordNamespace */ .chroma .kn { color:#204a87;font-weight:bold }
+/* KeywordPseudo */ .chroma .kp { color:#204a87;font-weight:bold }
+/* KeywordReserved */ .chroma .kr { color:#204a87;font-weight:bold }
+/* KeywordType */ .chroma .kt { color:#204a87;font-weight:bold }
+/* Name */ .chroma .n { color:#000 }
+/* NameAttribute */ .chroma .na { color:#c4a000 }
+/* NameClass */ .chroma .nc { color:#000 }
+/* NameConstant */ .chroma .no { color:#000 }
+/* NameDecorator */ .chroma .nd { color:#5c35cc;font-weight:bold }
+/* NameEntity */ .chroma .ni { color:#ce5c00 }
+/* NameException */ .chroma .ne { color:#c00;font-weight:bold }
+/* NameLabel */ .chroma .nl { color:#f57900 }
+/* NameNamespace */ .chroma .nn { color:#000 }
+/* NameOther */ .chroma .nx { color:#000 }
+/* NameProperty */ .chroma .py { color:#000 }
+/* NameTag */ .chroma .nt { color:#204a87;font-weight:bold }
+/* NameBuiltin */ .chroma .nb { color:#204a87 }
+/* NameBuiltinPseudo */ .chroma .bp { color:#3465a4 }
+/* NameVariable */ .chroma .nv { color:#000 }
+/* NameVariableClass */ .chroma .vc { color:#000 }
+/* NameVariableGlobal */ .chroma .vg { color:#000 }
+/* NameVariableInstance */ .chroma .vi { color:#000 }
+/* NameVariableMagic */ .chroma .vm { color:#000 }
+/* NameFunction */ .chroma .nf { color:#000 }
+/* NameFunctionMagic */ .chroma .fm { color:#000 }
+/* Literal */ .chroma .l { color:#000 }
+/* LiteralDate */ .chroma .ld { color:#000 }
+/* LiteralString */ .chroma .s { color:#4e9a06 }
+/* LiteralStringAffix */ .chroma .sa { color:#4e9a06 }
+/* LiteralStringBacktick */ .chroma .sb { color:#4e9a06 }
+/* LiteralStringChar */ .chroma .sc { color:#4e9a06 }
+/* LiteralStringDelimiter */ .chroma .dl { color:#4e9a06 }
+/* LiteralStringDoc */ .chroma .sd { color:#8f5902;font-style:italic }
+/* LiteralStringDouble */ .chroma .s2 { color:#4e9a06 }
+/* LiteralStringEscape */ .chroma .se { color:#4e9a06 }
+/* LiteralStringHeredoc */ .chroma .sh { color:#4e9a06 }
+/* LiteralStringInterpol */ .chroma .si { color:#4e9a06 }
+/* LiteralStringOther */ .chroma .sx { color:#4e9a06 }
+/* LiteralStringRegex */ .chroma .sr { color:#4e9a06 }
+/* LiteralStringSingle */ .chroma .s1 { color:#4e9a06 }
+/* LiteralStringSymbol */ .chroma .ss { color:#4e9a06 }
+/* LiteralNumber */ .chroma .m { color:#0000cf;font-weight:bold }
+/* LiteralNumberBin */ .chroma .mb { color:#0000cf;font-weight:bold }
+/* LiteralNumberFloat */ .chroma .mf { color:#0000cf;font-weight:bold }
+/* LiteralNumberHex */ .chroma .mh { color:#0000cf;font-weight:bold }
+/* LiteralNumberInteger */ .chroma .mi { color:#0000cf;font-weight:bold }
+/* LiteralNumberIntegerLong */ .chroma .il { color:#0000cf;font-weight:bold }
+/* LiteralNumberOct */ .chroma .mo { color:#0000cf;font-weight:bold }
+/* Operator */ .chroma .o { color:#ce5c00;font-weight:bold }
+/* OperatorWord */ .chroma .ow { color:#204a87;font-weight:bold }
+/* Punctuation */ .chroma .p { color:#000;font-weight:bold }
+/* Comment */ .chroma .c { color:#8f5902;font-style:italic }
+/* CommentHashbang */ .chroma .ch { color:#8f5902;font-style:italic }
+/* CommentMultiline */ .chroma .cm { color:#8f5902;font-style:italic }
+/* CommentSingle */ .chroma .c1 { color:#8f5902;font-style:italic }
+/* CommentSpecial */ .chroma .cs { color:#8f5902;font-style:italic }
+/* CommentPreproc */ .chroma .cp { color:#8f5902;font-style:italic }
+/* CommentPreprocFile */ .chroma .cpf { color:#8f5902;font-style:italic }
+/* Generic */ .chroma .g { color:#000 }
+/* GenericDeleted */ .chroma .gd { color:#a40000 }
+/* GenericEmph */ .chroma .ge { color:#000;font-style:italic }
+/* GenericError */ .chroma .gr { color:#ef2929 }
+/* GenericHeading */ .chroma .gh { color:#000080;font-weight:bold }
+/* GenericInserted */ .chroma .gi { color:#00a000 }
+/* GenericOutput */ .chroma .go { color:#000;font-style:italic }
+/* GenericPrompt */ .chroma .gp { color:#8f5902 }
+/* GenericStrong */ .chroma .gs { color:#000;font-weight:bold }
+/* GenericSubheading */ .chroma .gu { color:#800080;font-weight:bold }
+/* GenericTraceback */ .chroma .gt { color:#a40000;font-weight:bold }
+/* GenericUnderline */ .chroma .gl { color:#000;text-decoration:underline }
+/* TextWhitespace */ .chroma .w { color:#f8f8f8;text-decoration:underline }
diff --git a/go.mod b/go.mod
index e03bbb426a..17a7b2eade 100644
--- a/go.mod
+++ b/go.mod
@@ -5,6 +5,6 @@ go 1.12
// AUTO-GENERATED using `npm run get:hugo-modules`
require (
- github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7 // indirect
- github.com/twbs/bootstrap v5.3.3+incompatible // indirect
+ github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect
+ github.com/twbs/bootstrap v5.3.6+incompatible // indirect
)
diff --git a/go.sum b/go.sum
index aa8b4c3d49..fd58ba038d 100644
--- a/go.sum
+++ b/go.sum
@@ -1,4 +1,4 @@
-github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7 h1:2aWEKCRLqQ9nPyXaz4/IYtRrDr3PzEiX0DUSUr2/EDs=
-github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
-github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
-github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
+github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w=
+github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
+github.com/twbs/bootstrap v5.3.6+incompatible h1:efmXVyq839m5QQ0+JBUdQQ1TrmoBqvQ5kRhUueKsH+4=
+github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
diff --git a/hugo.yaml b/hugo.yaml
index 3930bcf3ef..3909f196bf 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -18,7 +18,7 @@ outputFormats:
module:
hugoVersion:
extended: true
- min: 0.110.0
+ min: 0.146.0
mounts:
- source: assets
target: assets
@@ -44,7 +44,7 @@ module:
target: static/webfonts
# Mounts for module installations,
# needed to work around a known bug in Go’s module management.
- - source: assets/_vendor/bootstrap/scss/
+ - source: assets/_vendor/bootstrap/scss
target: assets/vendor/bootstrap/scss/vendor
imports:
- path: github.com/twbs/bootstrap
diff --git a/i18n/ar.toml b/i18n/ar.toml
index 8035bd935c..0fa45dd871 100644
--- a/i18n/ar.toml
+++ b/i18n/ar.toml
@@ -1,80 +1,89 @@
# UI strings. Buttons and similar.
-
[ui_pager_prev]
-other = "السابق"
+other = "السَّابق"
[ui_pager_next]
-other = "التالي"
+other = "التَّالي"
[ui_read_more]
-other = "إقرأ المزيد"
+other = "اِقْرأ اَلمزِيد"
[ui_search]
-other = "ابحث في هذا الموقع"
+other = "اِبْحث فِي هذَا اَلموْقِع"
# Used in sentences such as "Posted in News"
[ui_in]
-other = "في"
+other = "فِي"
+
# Used in sentences such as "All Tags"
[ui_all]
-other = "كل"
+other = "كُلَّ"
# Footer text
[footer_all_rights_reserved]
-other = "كافة الحقوق محفوظة"
+other = "كَافَّة اَلحُقوق مَحفُوظة"
[footer_privacy_policy]
-other = "سياسة الخصوصية"
+other = "سِياسة الخصوصيَّة"
-
-# Post (blog, articles etc.)
+# Post (blog , articles etc.)
[post_byline_by]
other = "الكاتب"
[post_created]
-other = "منشئة"
+other = "مُنْشِئة"
[post_last_mod]
-other = "اخر تعديل"
+other = "آخر تَعدِيل"
[post_edit_this]
-other = "عدل هذه الصفحة"
+other = "عدل هَذِه الصَّفْحة"
[post_view_this]
-other = "أنظر مصدر الصفحة"
+other = "أَنظُر مَصدَر الصَّفْحة"
[post_create_child_page]
-other = " أنشئ صفحة فرعية"
+other = "أُنْشِئ صَفحَة فَرعِية"
[post_create_issue]
-other = "أنشئ مسألة حول الوثائق"
+other = "أُنْشِئ مَسْأَلة حَوْل الوثائق"
[post_create_project_issue]
-other = "أنشئ مسألة حول المشروع"
+other = "أُنْشِئ مَسْأَلة حَوْل المشْروع"
[post_posts_in]
-other = "منشور في"
+other = "مَنشُور فِي"
[post_reading_time]
-other = "دقيقة للقراءة"
+other = "دَقِيقَة لِلْقراءة"
[post_less_than_a_minute_read]
-other = "أقل من دقيقة"
+other = "أقلَّ مِن دَقِيقَة"
# Print support
[print_printable_section]
-other = "هذا العرض يتضمن عدة صفحات للطباعة ضمن هذا القسم."
+other = "هذَا العرْض يَتَضمَّن عِدَّة صَفَحات لِلطِّباعة ضِمْن هذَا القسْم."
[print_click_to_print]
-other = "اضغط هنا للطباعة"
+other = "اِضْغط هُنَا لِلطِّباعة"
[print_show_regular]
-other = "العودة للعرض العادي"
+other = "اَلْعَودة لِلْعرْض العاديِّ"
[print_entire_section]
-other = "اطبع القسم كاملا"
+other = "اِطْبع القسْم كاملا"
# Community
[community_join]
-other = "انضم الي مجتمع {{ .Site.Title }}"
+other = "اِنْضمَّ إِلى مُجتَمَع {{ .Site.Title }}"
[community_introduce]
-other = "{{ .Site.Title }} هو مشروع مفتوح المصدر يمكن لأي شخص في المجتمع استخدامه وتحسينه والاستمتاع به. يسعدنا أن تنضم إلينا! إليك بعض الطرق للمشاركة و معرفة ما يحدث."
+other = "{{ .Site.Title }} هُو مَشرُوع مَفتُوح المصْدر يُمْكِن لِأيِّ شَخْص فِي المجْتمع اِسْتخْدامه وتحْسينه والاسْتمْتاع بِه. يُسْعدنَا أن تَنضَم إِليْنَا! إِلَيك بَعْض الطُّرق لِلْمشاركة ومتابعة آخر التَّحْديثات."
[community_learn]
-other = "تعلم وتواصل"
+other = "تَعلُّم وتواصل"
[community_using]
-other = "تستخدام أو تريد استخدام {{ .Site.Title }}؟ اكتشف المزيد هنا:"
+other = "تِسْتخْدام أو تُريد اِسْتخْدام {{ .Site.Title }} ؟ اِكتشَف اَلمزِيد هُنَا:"
[community_develop]
-other = "طور و ساهم"
+other = "طَوَّر وساهم "
[community_contribute]
-other = "إذا كنت ترغب في المشاركة بشكل أكبر من خلال المساهمة في {{ .Site.Title }}, انضم إلينا هنا:"
+other = "إِذَا كُنْت تَرغَب فِي المشاركة بِشَكل أَكبَر مِن خِلَال المساهمة فِي {{ .Site.Title }} ،اِنْضمَّ إِليْنَا هُنَا:"
[community_how_to]
-other = "يمكنك معرفة كيفية المساهمة في {{ .Site.Title }} من خلال"
+other = "يُمْكِنك مَعرِفة كَيفِية المساهمة فِي {{ .Site.Title }} مِن خِلَال"
[community_guideline]
-other = "إرشادات المساهمة"
+other = "إِرْشادات المساهمة"
+
+# Feedback
+[feedback_title]
+other = "تَقيِيم الأدَاء"
+[feedback_question]
+other = "هل كَانَت هَذِه الصَّفْحة مُفيدَة"
+[feedback_positive]
+other = "نعم"
+[feedback_negative]
+other = "لََا"
diff --git a/i18n/fa.toml b/i18n/fa.toml
index 70956fce9f..c7cbe76e37 100644
--- a/i18n/fa.toml
+++ b/i18n/fa.toml
@@ -1,5 +1,3 @@
-
-
# UI strings. Buttons and similar.
[ui_pager_prev]
@@ -35,6 +33,8 @@ other = "ساخته شده"
other = "آخرین تغییرات"
[post_edit_this]
other = "این صفحه را ویرایش کنید"
+[post_view_this]
+other = "مشاهده منبع صفحه"
[post_create_child_page]
other = "ایجاد زیر صفحه در این صفحه"
[post_create_issue]
@@ -76,3 +76,13 @@ other = "If you want to get more involved by contributing to {{ .Site.Title }},
other = "You can find out how to contribute to {{ .Site.Title }} in our"
[community_guideline]
other = "Contribution Guidelines"
+
+# Feedback
+[feedback_title]
+other = "بازخورد"
+[feedback_question]
+other = "این صفحه به شما کمک کرد؟"
+[feedback_positive]
+other = "آره"
+[feedback_negative]
+other = "نه"
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 035f0e9313..b2e6a3c997 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -77,3 +77,14 @@ other = "Si vous voulez vous impliquer davantage en contribuant à {{ .Site.Titl
other = "Vous pouvez trouver comment contribuer à {{ .Site.Title }} dans nos"
[community_guideline]
other = "Règles de contribution"
+
+# Feedback
+[feedback_title]
+other = "Feedback"
+[feedback_question]
+other = "Cette page est-elle utile?"
+[feedback_positive]
+other = "Oui"
+[feedback_negative]
+other = "Non"
+
diff --git a/i18n/ja.toml b/i18n/ja.toml
index 5c714c9d29..9bf803cbb8 100644
--- a/i18n/ja.toml
+++ b/i18n/ja.toml
@@ -77,3 +77,13 @@ other = "If you want to get more involved by contributing to {{ .Site.Title }},
other = "You can find out how to contribute to {{ .Site.Title }} in our"
[community_guideline]
other = "Contribution Guidelines"
+
+# Feedback
+[feedback_title]
+other = "フィードバック"
+[feedback_question]
+other = "このページは役に立ちましたか?"
+[feedback_positive]
+other = "役に立った"
+[feedback_negative]
+other = "役に立たなかった"
diff --git a/i18n/no.toml b/i18n/no.toml
index 19f51445d4..b2b79fe454 100644
--- a/i18n/no.toml
+++ b/i18n/no.toml
@@ -20,10 +20,10 @@ other = "i"
# Footer text
[footer_all_rights_reserved]
-other = "Alle retter er reservert"
+other = "Alle rettigheter er reservert"
[footer_privacy_policy]
-other = "Privacy Policy"
+other = "Personvernpolicy"
# Post (blog, articles etc.)
@@ -36,42 +36,44 @@ other = "Sist endret"
[post_edit_this]
other = "Endre denne siden"
[post_create_child_page]
-other = "Create child page"
+other = "Lag underside"
[post_create_issue]
other = "Opprett dokumentasjon sak"
[post_create_project_issue]
other = "Opprett prosjekt sak"
[post_posts_in]
-other = "Poster i"
+other = "Poster til"
[post_reading_time]
other = "minute read"
[post_less_than_a_minute_read]
other = "less than a minute"
+[post_view_this]
+other = "Vis kildekoden"
# Print support
[print_printable_section]
-other = "This is the multi-page printable view of this section."
+other = "Dette er flersidevisningen av denne seksjonen."
[print_click_to_print]
-other = "Click here to print"
+other = "Klikk her for å skrive ut"
[print_show_regular]
-other = "Return to the regular view of this page"
+other = "Gå tilbake til vanlig sidevisning"
[print_entire_section]
-other = "Print entire section"
+other = "Skriv ut hele seksjonen"
# Community
[community_join]
-other = "Join the {{ .Site.Title }} community"
+other = "Bli med i {{ .Site.Title }} fellesskapet"
[community_introduce]
-other = "{{ .Site.Title }} is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved."
+other = "{{ .Site.Title }} er et åpen kildekodeprosjekt som alle kan bruke, forbedre og glede seg over. Bli med - her er noen måter du kan holde deg oppdatert på og bidra."
[community_learn]
-other = "Learn and Connect"
+other = "Lær og få kontakt"
[community_using]
-other = "Using or want to use {{ .Site.Title }}? Find out more here:"
+other = "Bruker du, eller har du lyst til å bruke {{ .Site.Title }}? Lær mer her:"
[community_develop]
-other = "Develop and Contribute"
+other = "Bidra og videreutvikle"
[community_contribute]
-other = "If you want to get more involved by contributing to {{ .Site.Title }}, join us here:"
+other = "Dersom du vil involvere deg mer ved å bidra til {{ .Site.Title }}, bli med oss her:"
[community_how_to]
-other = "You can find out how to contribute to {{ .Site.Title }} in our"
+other = "Du kan finne ut hvordan du bidrar til {{ .Site.Title }} i vår"
[community_guideline]
-other = "Contribution Guidelines"
+other = "Retningslinjer for bidrag"
diff --git a/i18n/oc.toml b/i18n/oc.toml
new file mode 100644
index 0000000000..7ac7f70b8b
--- /dev/null
+++ b/i18n/oc.toml
@@ -0,0 +1,90 @@
+# UI strings. Buttons and similar.
+
+[ui_pager_prev]
+other = "Precedent"
+
+[ui_pager_next]
+other = "Seguent"
+
+[ui_read_more]
+other = "Ne legir mai"
+
+[ui_search]
+other = "Cercar dins lo site…"
+
+# Used in sentences such as "Posted in News"
+[ui_in]
+other = "Dins"
+
+# Used in sentences such as "All Tags"
+[ui_all]
+other = "Totas"
+
+# Footer text
+[footer_all_rights_reserved]
+other = "Tot drech reservat"
+
+[footer_privacy_policy]
+other = "Politica de confidencialitat"
+
+# Post (blog, articles etc.)
+[post_byline_by]
+other = "Per"
+[post_created]
+other = "Creacion"
+[post_last_mod]
+other = "Darrièra modificacion"
+[post_edit_this]
+other = "Modificar aquesta pagina"
+[post_view_this]
+other = "Veire la pagina font"
+[post_create_child_page]
+other = "Crear una pagina enfant"
+[post_create_issue]
+other = "Crear una anomalia de documentacion"
+[post_create_project_issue]
+other = "Crear una anomalia de projècte"
+[post_posts_in]
+other = "Publicacions dins"
+[post_reading_time]
+other = "minutas de lectura"
+[post_less_than_a_minute_read]
+other = "mens d'una minuta de lectura"
+
+# Print support
+[print_printable_section]
+other = "Aquò es una vista multipagina imprimibla de la seccion."
+[print_click_to_print]
+other = "Clicar aquí per imprimir"
+[print_show_regular]
+other = "Tornar a la vista normala d'aquesta pagina"
+[print_entire_section]
+other = "Imprimir la seccion complèta"
+
+# Community
+[community_join]
+other = "Rejónher la comunitat {{ .Site.Title }}"
+[community_introduce]
+other = "{{ .Site.Title }} es un projècte liure que totòm dins la comunitat pòt utilizar, melhorar e n'aprofichar. Nos agradariá que nos rejonguèssetz ! Vaquí d'unas etapas per saber çò que se passa e s'implicar."
+[community_learn]
+other = "Aprendre e se connectar"
+[community_using]
+other = "Utilizatz o volètz utilizar {{ .Site.Title }} ? Aprenètz-ne mai aquí :"
+[community_develop]
+other = "Desvelopar e contribuir"
+[community_contribute]
+other = "Se volètz vos implicar en contribuissent a {{ .Site.Title }}, retrobatz-nos :"
+[community_how_to]
+other = "Podètz trobar cossí contribuir a {{ .Site.Title }} dins nòstra"
+[community_guideline]
+other = "Guida de contribucion"
+
+# Feedback
+[feedback_title]
+other = "Feedback"
+[feedback_question]
+other = "Èra utila aquesta pagina ?"
+[feedback_positive]
+other = "Oc"
+[feedback_negative]
+other = "Non"
diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml
index 282b5f7126..c40800a995 100644
--- a/i18n/pt-br.toml
+++ b/i18n/pt-br.toml
@@ -1,5 +1,3 @@
-
-
# UI strings. Buttons and similar.
[ui_pager_prev]
@@ -18,6 +16,10 @@ other = "Buscar no site…"
[ui_in]
other = "em"
+# Used in sentences such as "All Tags"
+[ui_all]
+other = "todos"
+
# Footer text
[footer_all_rights_reserved]
other = "Todos os direitos reservados"
@@ -25,7 +27,6 @@ other = "Todos os direitos reservados"
[footer_privacy_policy]
other = "Política de Privacidade"
-
# Post (blog, articles etc.)
[post_byline_by]
other = "Por"
@@ -35,6 +36,8 @@ other = "Criado"
other = "Última modificação"
[post_edit_this]
other = "Editar essa página"
+[post_view_this]
+other = "Ver origem da página"
[post_create_child_page]
other = "Criar uma subpágina"
[post_create_issue]
@@ -75,3 +78,13 @@ other = "If you want to get more involved by contributing to {{ .Site.Title }},
other = "You can find out how to contribute to {{ .Site.Title }} in our"
[community_guideline]
other = "Contribution Guidelines"
+
+# Feedback
+[feedback_title]
+other = "Feedback"
+[feedback_question]
+other = "Esta página foi útil?"
+[feedback_positive]
+other = "Sim"
+[feedback_negative]
+other = "Não"
diff --git a/i18n/sr-cyrl.toml b/i18n/sr-cyrl.toml
new file mode 100644
index 0000000000..0dfcf865a0
--- /dev/null
+++ b/i18n/sr-cyrl.toml
@@ -0,0 +1,90 @@
+# UI strings. Buttons and similar.
+
+[ui_pager_prev]
+other = "Претходно"
+
+[ui_pager_next]
+other = "Наредно"
+
+[ui_read_more]
+other = "Прочитајте више"
+
+[ui_search]
+other = "Претражите сајт…"
+
+# Used in sentences such as "Posted in News"
+[ui_in]
+other = "у"
+
+# Used in sentences such as "All Tags"
+[ui_all]
+other = "све"
+
+# Footer text
+[footer_all_rights_reserved]
+other = "Сва права задржана"
+
+[footer_privacy_policy]
+other = "Политика приватности"
+
+# Post (blog, articles etc.)
+[post_byline_by]
+other = "Аутор"
+[post_created]
+other = "Креирано"
+[post_last_mod]
+other = "Последњи пут измењено"
+[post_edit_this]
+other = "Уредите ову страницу"
+[post_view_this]
+other = "Погледајте извор странице"
+[post_create_child_page]
+other = "Креирајте подстраницу"
+[post_create_issue]
+other = "Креирајте issue за документацију"
+[post_create_project_issue]
+other = "Креирајте issue за пројекат"
+[post_posts_in]
+other = "Објава у"
+[post_reading_time]
+other = "минута за читање"
+[post_less_than_a_minute_read]
+other = "мање од минута за читање"
+
+# Print support
+[print_printable_section]
+other = "Ово је вишестрани преглед за штампање ове секције."
+[print_click_to_print]
+other = "Кликните овде за штампање"
+[print_show_regular]
+other = "Повратак на обичан преглед ове странице"
+[print_entire_section]
+other = "Одштампајте читаву секцију"
+
+# Community
+[community_join]
+other = "Придружите се {{ .Site.Title }} заједници"
+[community_introduce]
+other = "{{ .Site.Title }} је open source пројекат којег свако у заједници може да користи, унапређује и да ужива у њему. Волели бисмо да нам се придружите! Овде се можете укључити како бисте сазнали шта се дешава."
+[community_learn]
+other = "Научите и повежите се"
+[community_using]
+other = "Већ користите или желите да почнете користити {{ .Site.Title }}? Сазнајте више:"
+[community_develop]
+other = "Развој и допринос"
+[community_contribute]
+other = "Ако желите да се више укључите у допринос на {{ .Site.Title }}, придружите нам се:"
+[community_how_to]
+other = "Можете сазнати како да допринесете на {{ .Site.Title }} у нашим"
+[community_guideline]
+other = "Смерницама за допринос"
+
+# Feedback
+[feedback_title]
+other = "Feedback"
+[feedback_question]
+other = "Да ли вам је ова страница била од помоћи?"
+[feedback_positive]
+other = "Да"
+[feedback_negative]
+other = "Не"
diff --git a/i18n/sr-latn.toml b/i18n/sr-latn.toml
new file mode 100644
index 0000000000..c64ae0541b
--- /dev/null
+++ b/i18n/sr-latn.toml
@@ -0,0 +1,90 @@
+# UI strings. Buttons and similar.
+
+[ui_pager_prev]
+other = "Prethodno"
+
+[ui_pager_next]
+other = "Naredno"
+
+[ui_read_more]
+other = "Pročitajte više"
+
+[ui_search]
+other = "Pretražite sajt…"
+
+# Used in sentences such as "Posted in News"
+[ui_in]
+other = "u"
+
+# Used in sentences such as "All Tags"
+[ui_all]
+other = "sve"
+
+# Footer text
+[footer_all_rights_reserved]
+other = "Sva prava zadržana"
+
+[footer_privacy_policy]
+other = "Politika privatnosti"
+
+# Post (blog, articles etc.)
+[post_byline_by]
+other = "Autor"
+[post_created]
+other = "Kreirano"
+[post_last_mod]
+other = "Poslednji put izmenjeno"
+[post_edit_this]
+other = "Uredite ovu stranicu"
+[post_view_this]
+other = "Pogledajte izvor stranice"
+[post_create_child_page]
+other = "Kreirajte podstranicu"
+[post_create_issue]
+other = "Kreirajte issue za dokumentaciju"
+[post_create_project_issue]
+other = "Kreirajte issue za projekat"
+[post_posts_in]
+other = "Objava u"
+[post_reading_time]
+other = "minuta za čitanje"
+[post_less_than_a_minute_read]
+other = "manje od minuta za čitanje"
+
+# Print support
+[print_printable_section]
+other = "Ovo je višestrani pregled za štampanje ove sekcije."
+[print_click_to_print]
+other = "Kliknite ovde za štampanje"
+[print_show_regular]
+other = "Povratak na običan pregled ove stranice"
+[print_entire_section]
+other = "Odštampajte čitavu sekciju"
+
+# Community
+[community_join]
+other = "Pridružite se {{ .Site.Title }} zajednici"
+[community_introduce]
+other = "{{ .Site.Title }} je open source projekat kojeg svako u zajednici može da koristi, unapređuje i da uživa u njemu. Voleli bismo da nam se pridružite! Ovde se možete uključiti kako biste saznali šta se dešava."
+[community_learn]
+other = "Naučite i povežite se"
+[community_using]
+other = "Već koristite ili želite da počnete koristiti {{ .Site.Title }}? Saznajte više:"
+[community_develop]
+other = "Razvoj i doprinos"
+[community_contribute]
+other = "Ako želite da se više uključite u doprinos na {{ .Site.Title }}, pridružite nam se:"
+[community_how_to]
+other = "Možete saznati kako da doprinesete na {{ .Site.Title }} u našim"
+[community_guideline]
+other = "Smernicama za doprinos"
+
+# Feedback
+[feedback_title]
+other = "Feedback"
+[feedback_question]
+other = "Da li vam je ova stranica bila od pomoći?"
+[feedback_positive]
+other = "Da"
+[feedback_negative]
+other = "Ne"
diff --git a/i18n/uk.toml b/i18n/uk.toml
index bcabd82141..2694f80a38 100644
--- a/i18n/uk.toml
+++ b/i18n/uk.toml
@@ -7,7 +7,7 @@ other = "Попередня"
other = "Наступна"
[ui_read_more]
-other = "Детальніше"
+other = "Читати далі"
[ui_search]
other = "Пошук по сайту…"
@@ -18,64 +18,73 @@ other = "у"
# Used in sentences such as "All Tags"
[ui_all]
-other = "все"
+other = "всі"
# Footer text
[footer_all_rights_reserved]
-other = "Усі права захищені"
+other = "Усі права захищено"
[footer_privacy_policy]
other = "Політика конфіденційності"
-
# Post (blog, articles etc.)
[post_byline_by]
other = "Автор"
[post_created]
other = "Створено"
[post_last_mod]
-other = "Змінено"
+other = "Востаннє змінено"
[post_edit_this]
-other = "Відредагувати сторінку"
+other = "Редагувати цю сторінку"
[post_view_this]
-other = "Побачити джерело сторінки"
+other = "Переглянути джерело сторінки"
[post_create_child_page]
-other = "Створити додаткову сторінку"
+other = "Створити дочірню сторінку"
[post_create_issue]
-other = "Запропонувати змінення документації"
+other = "Створити запит щодо документації"
[post_create_project_issue]
-other = "Запропонувати допрацювання по проекту"
+other = "Створити запит щодо проєкту"
[post_posts_in]
-other = "Публикації у"
+other = "Публікації в"
[post_reading_time]
-other = "хвилина читання"
+other = "хв. читання"
[post_less_than_a_minute_read]
other = "менше хвилини"
# Print support
[print_printable_section]
-other = "Це багатосторінковий друкований вигляд цього розділу."
+other = "Це багатосторінкова версія цього розділу для друку."
[print_click_to_print]
-other = "Натисність щоб друкувати"
+other = "Натисніть тут, щоб надрукувати"
[print_show_regular]
other = "Повернутися до звичайного перегляду сторінки"
[print_entire_section]
-other = "Друкувати увесь розділ"
+other = "Надрукувати весь розділ"
# Community
[community_join]
-other = "Приєднуйтесь до {{ .Site.Title }} спільноти"
+other = "Приєднуйтесь до спільноти {{ .Site.Title }}"
[community_introduce]
-other = "{{ .Site.Title }} - це проект з відкритим кодом, який будь-хто в спільноті може використовувати, покращувати та насолоджуватися. Ми будемо раді бачити тебе з нами! Ось декілька опцій щоб знати що відбувається та залучитись."
+other = "{{ .Site.Title }} — це проєкт з відкритим вихідним кодом, яким будь-хто зі спільноти може користуватися, покращувати та насолоджуватися. Ми будемо раді, якщо ви приєднаєтеся до нас! Ось кілька способів дізнатися, що відбувається, і взяти участь."
[community_learn]
-other = "Вивчай та Приєднуйся"
+other = "Вивчайте та приєднуйтесь"
[community_using]
-other = "Користуєшся чи хотів би користуватись {{ .Site.Title }}? Дізнайся більше тут:"
+other = "Використовуєте або хочете використовувати {{ .Site.Title }}? Дізнайтеся більше тут:"
[community_develop]
-other = "Розвивай та Роби внесок"
+other = "Розробляйте та робіть внески"
[community_contribute]
-other = "Якщо хочеш бути більш залученим, роблячи внесок у {{ .Site.Title }}, приєднуйся до нас тут:"
+other = "Хочете долучитися до розвитку {{ .Site.Title }} та зробити свій внесок? Приєднуйтеся до нас тут:"
[community_how_to]
-other = "Дізнайся як зробити внесок до цих документів в нашому"
+other = "Дізнайтеся, як зробити внесок у {{ .Site.Title }} у наших"
[community_guideline]
-other = "Рекомендації щодо внеску"
+other = "Настановах з внесків"
+
+# Feedback
+[feedback_title]
+other = "Зворотний зв’язок"
+[feedback_question]
+other = "Чи була ця сторінка корисною?"
+[feedback_positive]
+other = "Так"
+[feedback_negative]
+other = "Ні"
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index 80bbff59d2..8211a019f1 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -32,33 +32,33 @@ other = "隱私政策"
[post_byline_by]
other = "作者:"
[post_created]
-other = "創建"
+other = "建立"
[post_last_mod]
-other = "最後修改"
+other = "最後更新於"
[post_edit_this]
other = "編輯此頁"
[post_view_this]
-other = "查看頁面原始碼"
+other = "檢視頁面原始碼"
[post_create_child_page]
-other = "創建子頁面"
+other = "建立子頁面"
[post_create_issue]
-other = "創建文檔議題"
+other = "建立文件議題"
[post_create_project_issue]
-other = "創建項目議題"
+other = "建立專案議題"
[post_posts_in]
other = "張貼於"
[post_reading_time]
-other = " 分鐘左右可讀完"
+other = " 分鐘閱讀時間"
[post_less_than_a_minute_read]
other = "1 分鐘內可讀完"
# Print support
[print_printable_section]
-other = "這是本節的多頁可列印視圖。"
+other = "這是本節的多頁可列印檢視。"
[print_click_to_print]
-other = "點擊此處列印"
+other = "點選此處列印"
[print_show_regular]
-other = "返回此頁面的常規視圖"
+other = "返回此頁面的標準檢視"
[print_entire_section]
other = "列印整個章節"
@@ -66,16 +66,26 @@ other = "列印整個章節"
[community_join]
other = "加入 {{ .Site.Title }} 社群"
[community_introduce]
-other = "{{ .Site.Title }} 是一個開源項目,社群中的任何人都可以使用、改善和盡情使用它。我們很期待你能加入我們!下面是如何查看最近更新以及參與我們的一些方式。"
+other = "{{ .Site.Title }} 是一個開放原始碼專案,社群中的任何人都可以使用、改進並享受其成果。我們非常歡迎您加入我們!以下是了解最新動態以及參與我們的一些方式。"
[community_learn]
-other = "學習和溝通"
+other = "學習與交流"
[community_using]
-other = "正在或打算使用 {{ .Site.Title }} ?獲取更多資訊:"
+other = "正在或打算使用 {{ .Site.Title }} 嗎?在此取得更多資訊:"
[community_develop]
other = "開發和貢獻"
[community_contribute]
-other = "如果你想通過為 {{ .Site.Title }} 貢獻更多參與,請在此處加入我們:"
+other = "如果您想透過貢獻來更深入地參與 {{ .Site.Title }},請在此處加入我們:"
[community_how_to]
-other = "你可以了解如何為 {{ .Site.Title }} 做出貢獻,請參考我們的"
+other = "您可以透過文件了解如何為 {{ .Site.Title }} 做出貢獻,請參考我們的"
[community_guideline]
other = "貢獻指南"
+
+# Feedback
+[feedback_title]
+other = "意見回饋"
+[feedback_question]
+other = "這個頁面對您有幫助嗎?"
+[feedback_positive]
+other = "有幫助"
+[feedback_negative]
+other = "沒幫助"
diff --git a/layouts/_default/_markup/td-render-heading.html b/layouts/_default/_markup/td-render-heading.html
deleted file mode 100644
index 9b470cede5..0000000000
--- a/layouts/_default/_markup/td-render-heading.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
{{ T "community_how_to" . }}
- {{ T "community_guideline" }}.
+ {{ T "community_guideline" }}.
{{ T "community_develop" }}
{{ end }}