Skip to content

Commit 13f018a

Browse files
nmelehan-akamaibep
andauthored
Theme update (#7422)
* Fix duplicate YAML keys in front matter Hugo upgraded its YAML library to a YAML 1.1 compliant version in v0.152.0 (https://github.com/gohugoio/hugo/releases/tag/v0.152.0), which now throws an error on duplicate keys. This commit fixes that. Note that: * The old behaviour was to keep the last occurrence of a duplicate key, so that's is the most commin strategy used here. * But I have also manually inspected and merged some of them. * Diable aliases * Remove api section * Remove assets folder * Remove authors * Remove release-notes section * Remove JSON output from home page to avoid generating search index * Fix duplicate aliases * Fix duplicate image * Re-add deleted author to contributors directory * Re-add deleted assets folder Will move the assets from this folder into the directories of the corresponding guides later, then delete the folder again * Set sitemap file name to sitemap.xml This is consistent with the current filename on production This will later be renamed to sitemap_tech_guides.xml * Update Hugo to 0.158.0 * Theme update - Consolidate assets (CSS, JS, etc) into tech-guides-assets folder - Make left nav menu only show content area related to current page * Disable SVG minify to avoid navigation icon rendering bug * Update Hugo to 0.159.0 * Fix markdown links to missing /docs/api/ pages * Vale fix * Vale fix * Vale fix * Vale fix * Vale fix * Update _build keyword to _build * Update to Hugo 0.159.1 * Incorporate SVG minification patch * Update blueberry to recognize the build frontmatter --------- Co-authored-by: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
1 parent aa5f6d0 commit 13f018a

534 files changed

Lines changed: 393 additions & 5397 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ To Install the latest Node.js LTS release on Windows, navigate to the [downloads
7070

7171
### Install Hugo
7272

73-
The Linode documentation library is built using [Hugo](http://gohugo.io), an open-source static site generator. In order to preview your guide before submission, you need to install Hugo on your local computer. This site currently uses **Hugo v0.139.0**. To remain consistent in the testing and development process, it's recommended to install this version instead of using a newer version.
73+
The Linode documentation library is built using [Hugo](http://gohugo.io), an open-source static site generator. In order to preview your guide before submission, you need to install Hugo on your local computer. This site currently uses **Hugo v0.159.1**. To remain consistent in the testing and development process, it's recommended to install this version instead of using a newer version.
7474

7575
Note: If you observe any issues on a newer version, please [file an issue](https://github.com/linode/docs/issues) in the docs GitHub repository.
7676

7777
#### macOS and Linux
7878

7979
To install Hugo, download the appropriate binary for your system, extract it, and move it to a directory within your PATH.
8080

81-
1. Download the file below that corresponds with the OS and platform on your local system. If you don't see your system on this list, you can find additional files on the [Hugo v0.139.0 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.139.0) under **Assets**.
81+
1. Download the file below that corresponds with the OS and platform on your local system. If you don't see your system on this list, you can find additional files on the [Hugo v0.159.1 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.159.1) under **Assets**.
8282

83-
- **macOS:** https://github.com/gohugoio/hugo/releases/download/v0.139.0/hugo_extended_0.139.0_darwin-universal.tar.gz
84-
- **Linux:** https://github.com/gohugoio/hugo/releases/download/v0.139.0/hugo_extended_0.139.0_Linux-64bit.tar.gz
83+
- **macOS:** https://github.com/gohugoio/hugo/releases/download/v0.159.1/hugo_extended_0.159.1_darwin-universal.tar.gz
84+
- **Linux:** https://github.com/gohugoio/hugo/releases/download/v0.159.1/hugo_extended_0.159.1_Linux-64bit.tar.gz
8585

8686
You can download this file through a terminal using the curl command, replacing [url] with the URL for your platform:
8787

@@ -115,7 +115,7 @@ To install Hugo, download the appropriate binary for your system, extract it, an
115115

116116
While macOS and Linux are preferred by most of the core Linode Docs team, it's also possible to use Hugo on Windows.
117117

118-
1. Download the [hugo_extended_0.139.0_windows-amd64.zip](https://github.com/gohugoio/hugo/releases/download/v0.139.0/hugo_extended_0.139.0_windows-amd64.zip) file. Additional files for other operating systems can be found on the [Hugo v0.139.0 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.139.0) under **Assets**.
118+
1. Download the [hugo_extended_0.159.1_windows-amd64.zip](https://github.com/gohugoio/hugo/releases/download/v0.159.1/hugo_extended_0.159.1_windows-amd64.zip) file. Additional files for other operating systems can be found on the [Hugo v0.159.1 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.159.1) under **Assets**.
119119

120120
1. Extract the file to the directory you'd like to install Hugo under, such as `C:\Hugo\bin`.
121121

@@ -184,10 +184,10 @@ For more information about using Git, refer to the [official Git documentation](
184184
185185
This section is only relevant to contributors who have previously worked on the docs repo prior to the Tailwind v3 upgrade (which occurred on July 6th, 2023 in docs release v1.252.0). After you merge in changes from this release (and onward), you will likely notice display issues when previewing the site locally. This is due to Tailwind v3 and the way it integrates with Hugo (and our theme). To complete the upgrade locally and fix any display issues, follow the steps below.
186186
187-
1. Upgrade Hugo to v0.139.0. On macOS, run the following commands in a temporary folder (not in your docs repo):
187+
1. Upgrade Hugo to v0.159.1. On macOS, run the following commands in a temporary folder (not in your docs repo):
188188
189-
curl -OL https://github.com/gohugoio/hugo/releases/download/v0.139.0/hugo_extended_0.139.0_darwin-universal.tar.gz
190-
tar -xvzf hugo_extended_0.139.0_darwin-universal.tar.gz
189+
curl -OL https://github.com/gohugoio/hugo/releases/download/v0.159.1/hugo_extended_0.159.1_darwin-universal.tar.gz
190+
tar -xvzf hugo_extended_0.159.1_darwin-universal.tar.gz
191191
mv hugo /usr/local/bin
192192
193193
If you are using a different operating system, refer to the [Install Hugo](#install-hugo) section above.

_vendor/github.com/linode/linode-docs-theme/assets/js/main/navigation/explorer.js

Lines changed: 10 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/assets/js/main/sections/sections/list.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/config.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/content/authors/pavel-petrov/_index.md

Lines changed: 0 additions & 12 deletions
This file was deleted.
Binary file not shown.

_vendor/github.com/linode/linode-docs-theme/content/maintenance/_index.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

_vendor/github.com/linode/linode-docs-theme/content/tags/_index.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/content/tech-guides-assets/_index.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/content/data/_index.md renamed to _vendor/github.com/linode/linode-docs-theme/content/tech-guides-assets/data/_index.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)