Switch to the Relearn Hugo theme#1322
Merged
tpantelis merged 5 commits intosubmariner-io:develfrom Mar 27, 2026
Merged
Conversation
|
🤖 Created branch: z_pr1322/skitt/hugo-theme-relearn |
|
Important Review skippedToo many files! This PR contains 256 files, which is 106 over the limit of 150. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (44)
📒 Files selected for processing (256)
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The handling of the "copy to clipboard" button has changed, resulting in a button on every single code-styled snippet, so this disables it entirely for inline code. CSS can be customised without overriding the header partial, so the latter is dropped. Signed-off-by: Stephen Kitt <skitt@redhat.com>
This replaces the Learn theme; 1.2.0 is backwards-compatible. Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
This requires Hugo 0.81. Signed-off-by: Stephen Kitt <skitt@redhat.com>
Building across all branches requires supporting different versions of Hugo depending on the branch. Release branches don't get a site published anyway, so this changes the build check to only build the current (PR) branch. Signed-off-by: Stephen Kitt <skitt@redhat.com>
8b0028e to
2d70a1d
Compare
tpantelis
approved these changes
Mar 25, 2026
|
🤖 Closed branches: [z_pr1322/skitt/hugo-theme-relearn] |
tpantelis
added a commit
to tpantelis/submariner-website
that referenced
this pull request
Mar 27, 2026
The publish workflow was still using `make static-all` which attempts to build all release branches. This fails because different branches require different Hugo versions and themes (old branches use hugo-theme-learn while devel now uses hugo-theme-relearn). This change mirrors the fix in f01c92a which updated build.yml to use `make static` instead. Release branches don't get a site published anyway, so we only need to build the current branch. Fixes the publish job failure after PR submariner-io#1322 was merged. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis
added a commit
to tpantelis/submariner-website
that referenced
this pull request
Mar 27, 2026
The publish workflow was still using `make static-all` which attempts to build all release branches. This fails because different branches require different Hugo versions and themes (old branches use hugo-theme-learn while devel now uses hugo-theme-relearn). This change mirrors the fix in f01c92a which updated build.yml to use `make static` instead. Additionally, the workflow now only triggers on the devel branch since release branches don't get a site published anyway, and running publish from a release branch would only publish that branch's content, which would be incomplete. Fixes the publish job failure after PR submariner-io#1322 was merged. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis
added a commit
that referenced
this pull request
Mar 27, 2026
The publish workflow was still using `make static-all` which attempts to build all release branches. This fails because different branches require different Hugo versions and themes (old branches use hugo-theme-learn while devel now uses hugo-theme-relearn). This change mirrors the fix in f01c92a which updated build.yml to use `make static` instead. Additionally, the workflow now only triggers on the devel branch since release branches don't get a site published anyway, and running publish from a release branch would only publish that branch's content, which would be incomplete. Fixes the publish job failure after PR #1322 was merged. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relearn is a maintained fork of the Learn theme the site uses. This doesn’t upgrade all the way to the latest version of Relearn, but it does include a jQuery upgrade addressing CVE-2020-11022 and CVE-2020-11023.