-
Notifications
You must be signed in to change notification settings - Fork 423
add warning banner for unreleased branch or version in the documentation #3737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add warning banner for unreleased branch or version in the documentation #3737
Conversation
d936f35 to
f8614dd
Compare
|
I like the header but the orange is a bit krass. Maybe a light blue, lilac or cyan? |
|
/kind documentation |
f8614dd to
ea9033c
Compare
|
381a9b9 to
07fd8e9
Compare
This works perfectly fine at the moment.
I think we can focus on the banner? |
xmudrii
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's please remove console.log lines, I don't think these are needed.
docs/overrides/main.html
Outdated
| if (!link) return; | ||
|
|
||
| const latestPath = getLatestVersionPath(); | ||
| console.log("latestPathlatestPath", latestPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I don't think this is needed in the prod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and should be good to go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: olalekan odukoya <[email protected]>
07fd8e9 to
748e4e5
Compare
|
/lgtm |
|
LGTM label has been added. Git tree hash: 8107289cc96546db9ec24234ee39a73156fc6a26
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mjudeikis The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
What Type of PR Is This?
/kind documentation
Related Issue(s)
Fixes 3736
Release Notes