Skip to content

Conversation

@jgehrcke
Copy link
Contributor

@jgehrcke jgehrcke commented Feb 13, 2025

I find it important that the installation section informs about supported platforms. We have a section for that (in a different doc) so all we are missing is a cross-reference.

Is Sphinx our documentation generator? I think / hope that cross-references in md-sphinx work as I am trying here, but I did not test this locally.

Also tweaking the headings to shift attention to the distribution names more than the tooling.

@github-actions
Copy link

Documentation preview

https://nvidia.github.io/cloud-native-docs/review/pr-158

@jgehrcke
Copy link
Contributor Author

jgehrcke commented Feb 13, 2025

Sweeet! 🎈

Artifact html-build-artifact.zip successfully finalized. Artifact ID 2585643272
Artifact html-build-artifact has been successfully uploaded! Final size is 34511668 bytes. Artifact ID is 2585643272
Artifact download URL: https://github.com/NVIDIA/cloud-native-docs/actions/runs/13308323093/artifacts/2585643272

Looking at that.

Edit: the cross ref is correct, the anchor works.

Screenshot, FYI:
image


Alternatively, you can install the driver by downloading a `.run` installer.
Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.aspx?lang=en-us) page.
2. Read [this section](./supported-platforms.md) about platform support.
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Should this be first?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1 i think it should be first as well

and an additional nit to embed the text into the link, so something like
Make sure you are using a [supported platform](./supported-platforms.md).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nit: Should this be first?

Yes, I was hoping for that feedback!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

something like Make sure you are using a supported platform.

In general I like this approach. Here I opted for a subtly different approach because:

It's really a section about platform support in general, and we precisely now want to be mindful to not communicate something in the lines of "do not continue if you do not use a strictly supported platform" :).

Related: #62 and e.g. NVIDIA/nvidia-container-toolkit#482 (comment).

2. Read [this section](./supported-platforms.md) about platform support.

### Installing with Apt
### Debian-based distributions (Ubuntu):
Copy link
Member

Choose a reason for hiding this comment

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

Does this read as if we're only targetting Ubuntu?

Suggested change
### Debian-based distributions (Ubuntu):
### Debian-based distributions (e.g. Ubuntu):

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, I forgot to add ", ..." like I did below. In this case I think I like this a little better than "e.g."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now I have clarity: we don't need generic enumerations. In these headings, we want to make sure we list all those distros that are in the table of "supported platforms". That's all we need. Pushed a commit.

```

### Installing with Yum or Dnf
### RPM-based distributions (RHEL/CentOS, Fedora, Amazon Linux, ...):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
### RPM-based distributions (RHEL/CentOS, Fedora, Amazon Linux, ...):
### RPM-based distributions (e.g. RHEL/CentOS, Fedora, Amazon Linux, ...):

Copy link
Contributor Author

@jgehrcke jgehrcke Feb 13, 2025

Choose a reason for hiding this comment

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

I started to overthink this. Removed the "RPM-based distributions" again.

Pushed a new commit, let's see how this looks when its rendered! :) I like to first-class the distribution names instead of the tooling names (that was my main angle here). There's no perfect solution though.

Some inspiration from..

chrome

image

vscode

image

gcloud cli

image

signal

image

```

### Installing with Zypper
### OpenSUSE/SLE:
Copy link
Member

Choose a reason for hiding this comment

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

It's a little strange that this is also RPM-based but has its own section. Should we call that out above or have subsections for the two package manager types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes you have a strong point here. Will think about that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.aspx?lang=en-us) page.

### Installing with Apt
### Ubuntu and Debian
Copy link
Member

Choose a reason for hiding this comment

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

I'm happy with this change for ubuntu and debian since I think this covers most users of apt. My concern is that using the same construct for RPM-based distributions where there are other prominent ones that are not listed. (Rocky comes to mind). This will definitely lead to GitHub issues along the lines of "RockyLinux support when?". At present my response is to link the "Installing with Yum or Dnf" section, but I can see more questions being raised if I link a section that's titled "RHEL/CentOS, Fedora, Amazon Linux".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes. note: added a commit after working on this with Evan

Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
@jgehrcke
Copy link
Contributor Author

Pushed more commits after iterating on this with Evan. Will want to double-check the next rendered version before merge. Will report back.

@jgehrcke
Copy link
Contributor Author

Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

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

I'm happy with these. Thanks @jgehrcke

Alternatively, you can install the driver by [downloading](https://www.nvidia.com/en-us/drivers/) a `.run` installer.

Alternatively, you can install the driver by downloading a `.run` installer.
Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.aspx?lang=en-us) page.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason why we got ride of this link? I dont remember if this has come up before in a previous comments. thanks

Copy link
Contributor Author

@jgehrcke jgehrcke Feb 19, 2025

Choose a reason for hiding this comment

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

No removal. I replaced it with a more modern URL. You will notice in your browser that the old URL redirects to /en-us/drivers.

Personally, I like to look at changes like this in the rendered view.

We should also work towards using a concept often called "semantic line breaks" to keep the markdown source diff better reviewable.

@jgehrcke
Copy link
Contributor Author

Thanks for discussion, let's certainly iterate more soon!

@jgehrcke jgehrcke merged commit 0de48ff into NVIDIA:main Feb 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants