Giter Club home page Giter Club logo

Comments (6)

travisghansen avatar travisghansen commented on September 16, 2024

I would love to see the output of that rendered for this project! Give it a go if it’s not too much trouble and send it over so I can see the end result!

from charts.

varet80 avatar varet80 commented on September 16, 2024

I will make the example on the fork (with a manual generation) and if is nice, we can add actions to automate it (as next step)

let me prepare an example.

from charts.

varet80 avatar varet80 commented on September 16, 2024

@travisghansen
here is an initial example: https://github.com/varet80/democratic-csi-charts/tree/helm-docs/stable/democratic-csi
I have also a Draft PR in my fork, which shows what I changed, but Did not add description on everything.
Explained here: https://github.com/varet80/democratic-csi-charts/tree/helm-docs/stable/democratic-csi

from charts.

travisghansen avatar travisghansen commented on September 16, 2024

I see. And there is some sane way to run this in ci?

from charts.

varet80 avatar varet80 commented on September 16, 2024

generally it is 1 single command helm-docs and that all!

it has some githooks which helps you during commit to update docs! https://github.com/norwoodj/helm-docs (and reduce ci needs)
but also with github actions
I did it in my releasing step: https://github.com/k8sonlab/publiccharts/blob/591079daa51007724857421a4d201e1f7b242f8c/.github/workflows/compatibility.yaml#L71
there is also this: https://github.com/softwaremill/helm-docs-action/blob/main/action.yml

but I also have hooks: https://github.com/k8sonlab/publiccharts/blob/main/.pre-commit-config.yaml which does force run during commits.

once you have the executable it is simple as:

helm-docs <path>

and updates the readme.md based on gotemplate

from charts.

travisghansen avatar travisghansen commented on September 16, 2024

I see. I’ll look into it a little closer.

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.