-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che server parameters reference documentation #19630
Comments
che.properties
documentation
idea: There are lot of properties. Would make sense to allow to logically group them together? example: https://github.com/eclipse/che/blob/master/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties#L111 workspace sidecar cpu and memory limits/requests. Very similar properties and imho it would make sense to have them in one file. |
It is possible, but it will be easier to validate the files if their structure is predictable, atomic, always one parameter per file.
|
NB: we have 194 parameters. |
The files would be like: https://github.com/eclipse/che/pull/19637/files |
Che Community meeting:
|
providing extra |
Let's find a less controversial path then. Properties files are not the unique source of truthI understand from the various discussions that building a reference documentation solely from the properties files is a dead end. The properties file define:
The parameter is then used in 2 possible workflows:
Each of these workflows determines:
For the Operator we even have 2 possibilities:
So we can use the properties file to write a draft for che-docs, but then we need to collect informations from other places to have a complete information. Plan is to have this new process:
I'll close the PR still open to work in that direction. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your task related to a problem? Please describe.
The discussion started with #19604, trying to sum up all difficulties we have with the
che.properties
documentation.che.properties
file.che.properties
file.Describe the solution you'd like
che.properties
as an AsciiDoc reference file.Example:
ref_che-database.adoc
Determine in which directory store these AsciiDoc files: same as
che.properties
?Put a pointer to the file in
che.properties
before each parameter.Modify the PR check to validate each parameter has a corresponding reference file
Build the documentation using these AsciiDoc files. Run substitutions for terms that need context-based substitutions (Kubernetes, Che, namespace).
This enables flexibility in the way we display documentation: for example, distinguish common parameters and parameters for advanced usage.
If we need to use variables (
prod-short
,orch-name
etc.), add a copy or a pointer to theantora-playbook.yml
file in che-docs repository where they are defined.Then, the comments in
che.properties
may include additional information for developers, that don't need to go in the user facing docs.Describe alternatives you've considered
che.properties
. Not desirable. See Language review on che.properties targeted at attributes occurences #19604che.properties
parameter. High risk to get documentation lagging behind.The text was updated successfully, but these errors were encountered: