Skip to content

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

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

anmol372
Copy link
Contributor

@anmol372 anmol372 commented Sep 25, 2020

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.

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
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@anik120 anik120 left a 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>
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Render "content" }}
{{ end }}
Copy link
Contributor

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

Copy link
Contributor Author

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;
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@anik120
Copy link
Contributor

anik120 commented Sep 29, 2020

@anmol372 could you squash your commits please

@anmol372 anmol372 changed the title Styling similarization to match sdk website Improve look and feel of olm site Sep 29, 2020
@anik120
Copy link
Contributor

anik120 commented Sep 30, 2020

@anmol372 could you rebase your changes off the latest master please

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 6, 2020
anmol372 and others added 2 commits October 6, 2020 11:24
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.
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 6, 2020
Copy link
Contributor

@anik120 anik120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants