-
Notifications
You must be signed in to change notification settings - Fork 83
Improve look and feel of olm site #67
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
Conversation
export olm_release=0.15.1 | ||
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${olm_release}/crds.yaml | ||
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${olm_release}/olm.yaml | ||
```sh |
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.
If we expect users to copy these shell commands verbatim then I suggest we do not prepend $
to each line of a sh
block; this prefix is only visually useful when using a console
block with command output as an example.
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.
That makes sense, I prepended the $
prefix to match the style on the SDK website, but I have corrected it.
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.
@anmol372 thank you so much for this PR! I've left a few comments for you.
@@ -18,9 +18,9 @@ | |||
{{ range $pages }} | |||
{{ if eq .Parent $parent }} | |||
<div class="entry"> | |||
<h5> | |||
<h3> |
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 folder is a sub-module(i,e vendored), and therefore should not be changed. If we want to make a change to any of these files, we need to copy them in the root folder and make these changes.
For example, this particular file needs to be copied to the partials folder in our root to make these changes.
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.
I have undone the changes to vendor files and created a new file in the layouts/partials directory.
layouts/docs/single.html
Outdated
@@ -0,0 +1,3 @@ | |||
{{ define "main" }} | |||
{{ .Render "content" }} | |||
{{ end }} |
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: please add a new line to this file
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
@@ -17,7 +17,8 @@ | |||
h1,h2,h3,h4,h5,h6 { | |||
color: var(--of--Color--brand--200); | |||
font-weight: 800; | |||
margin: var(--of--spacer--md) 0 var(--of--spacer--sm); | |||
letter-spacing: 2px; |
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.
@anmol372 could we revert this change? We specifically wanted margin: var(--of--spacer--md) 0 var(--of--spacer--sm);
because the spacing between the heading was looking really bad
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
@anmol372 could you squash your commits please |
bdc84c8
to
6fcf924
Compare
@anmol372 could you rebase your changes off the latest master please |
Changes: 1. Added styling imports from themes/docsy 2. Corrected font family, sizing, and letter-spacing for docs 3. Increased size of headings on the site to make them larger than their subtexts.
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.
/lgtm
Changes: