Skip to content
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

chore(nextcloud): switch to helm-docs #633

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

wrenix
Copy link
Collaborator

@wrenix wrenix commented Sep 21, 2024

Description of the change

use helm-docs for documentation

Benefits

No duplicated documentation between README and values.yaml

Possible drawbacks

Not yet so good structed as before, TODOs are:

  • give every value in values.yaml a usefull documentation
  • group to sections
  • add extra documentations on the README helm-docs template
  • add ci-job to check if README is uptodate

Applicable issues

fixes #547

Additional information

Readme rendered

Checklist

@wrenix wrenix self-assigned this Sep 21, 2024
Signed-off-by: WrenIX <dev.github@wrenix.eu>
Signed-off-by: WrenIX <dev.github@wrenix.eu>
Signed-off-by: WrenIX <dev.github@wrenix.eu>
@wrenix wrenix force-pushed the fix/helm-docs branch 2 times, most recently from 988c3d5 to 0b88621 Compare September 21, 2024 10:39
Signed-off-by: WrenIX <dev.github@wrenix.eu>
Comment on lines -207 to -214
### Database Configurations
By default, nextcloud will use a SQLite database. This is not recommended for production, but is enabled by default for testing purposes. When you are done testing, please set `internalDatabase.enabled` to `false`, and configure the `externalDatabase` parameters below.

For convenience, we packages the following Bitnami charts for databases (feel free to choose _one_ below):
- [Bitnami MariaDB chart](https://github.com/bitnami/charts/tree/main/bitnami/mariadb)
- [Bitnami PostgreSQL chart](https://github.com/bitnami/charts/tree/main/bitnami/postgresql)

If you choose to use one of the prepackaged Bitnami helm charts, you must configure both the `externalDatabase` parameters, and the parameters for the chart you choose. For instance, if you choose to use the Bitnami PostgreSQL chart that we've prepackaged, you need to also configure all the parameters for `postgresql`. You do not need to use the Bitnami helm charts. If you want to use an already configured database that you have externally, just set `internalDatabase.enabled` to `false`, and configure the `externalDatabase` parameters below.
Copy link
Collaborator

Choose a reason for hiding this comment

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

so right now, I'd worry about losing stuff like this specifically, unless we want to truly separate our docs into it's own wiki or perhaps a doc site? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Agreed, we lose a lot of the current docs from the README

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm open to using the built in github wiki feature, or playing with the helm-docs templates to make sure we keep these docs, as they help out the users a lot when searching this repo.

Copy link
Member

Choose a reason for hiding this comment

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

I would try to avoid splitting the docs across multiple places (e.g. README and wiki)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ahm, of course that I mean with todo:
add extra documentations on the README helm-docs template :)

Co-authored-by: Jesse Hitch <jessebot@linux.com>
Signed-off-by: WrenIX <133280015+wrenix@users.noreply.github.com>
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.

Discussion: state of helm-docs for generating sectioned documentation
3 participants