-
Notifications
You must be signed in to change notification settings - Fork 25
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
docs: add basic README for each Helm chart on their own directory #167
Conversation
You need to link to those new bits of documentation from somewhere which is reachable from the top entry point. Otherwise the doc build check/verification refuses to accept it. |
a628dcb
to
60a07b1
Compare
Fixed and moved out some bits from installation.md. PTAL. |
failed again...I will check |
@fmuyassarov I played a bit around with how we could include the helm chart docs among our generated documentation while keeping them in their current (very logical and natural) location in deployment/helm/*/README.md. I ended up having a helm directory under docs with its own ToC which links to each helm chart doc (I had to slightly adjust the Helm chart docs to make the end result look more sensible). The actual helm chart docs are stitched into the the main doc tree using includes. And the main doc includes the helm ToC, like we do for the rest of the documentation. Here is the whole shebang, with two additional commits on top of your tree: https://github.com/klihub/nri-plugins/tree/docs/add-helm-readme |
60a07b1
to
d3850b2
Compare
Thanks @klihub. I think those changes you have made in the other two commits are good to have. Because first they fix the issue with the doc building and second reorganize the docs to have a separate section describing each chart parameters and installation/un-installation procedure. I have now cherry-picked your commits. PTAL. |
Actually I might need to rename the commit docs: experiment with Helm chart doc inclusion. |
Sure, that should be reworded. |
@fmuyassarov I would also squash at least the second fixup+headings commit to the first one. There is no benefit in keeping it separate. |
91854dc
to
d6cb5f4
Compare
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.
Hmm, make site-build
fails with
...
/bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of file
make: *** [Makefile:412: html] Error 2
make: *** [Makefile:426: site-build] Error 2
|
@fmuyassarov Can you rebase this on latest main/HEAD ? Then @marquiz should be able to |
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.
Otherwise LGTM, but could you rebase this on top of latest main/HEAD. Helps review{ers,ing} locally...
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.
Thanks @fmuyassarov for the update. I think this makes sense and is definitely a good improvement 👍 One comment below about naming.
Also, I think you should remove all the helm stuff from docs/resource-policy/installation.md
. Just add a link to the new location or smth?
This commit adds basic documentation for each Helm chart so that basic information is available to the user who are trying to install any of those plugins via artifacthub.io registry. Co-authored-by: Krisztian Litkey <[email protected]> Signed-off-by: Feruzjon Muyassarov <[email protected]>
d6cb5f4
to
b52f1ba
Compare
Include link to Helm chart-specific documentation stored in deployment/helm/*/README.md among the normal documentation rooted under /docs. Signed-off-by: Krisztian Litkey <[email protected]> Signed-off-by: Feruzjon Muyassarov <[email protected]>
b52f1ba
to
00f436c
Compare
@marquiz Yes, I think that's a good point. Because all the prerequisites would also appear in the plugin's corresponding README.md. I have now updated the PR. PTAL. And, you should be able to run |
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
This commit adds basic documentation for each Helm chart so that basic information is available to the user who are trying to install any of those plugins via artifacthub.io registry.
An example: https://artifacthub.io/packages/helm/node-feature-discovery/node-feature-discovery