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

Documentation - Create overview of all environment variables #3973

Open
stephanie0x00 opened this issue Dec 17, 2024 · 5 comments
Open

Documentation - Create overview of all environment variables #3973

stephanie0x00 opened this issue Dec 17, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@stephanie0x00
Copy link
Contributor

Describe the issue
There is currently no overview in the docs on what environment variables can be used and what each variable does.

@stephanie0x00 stephanie0x00 added the documentation Improvements or additions to documentation label Dec 17, 2024
@stephanie0x00 stephanie0x00 self-assigned this Dec 17, 2024
@ammar92
Copy link
Contributor

ammar92 commented Dec 17, 2024

This section has been there for quite some time now

@underdarknl
Copy link
Contributor

We should look into scripting to add to the CI that collects possible env-vars. Maybe someone has already made something like that.

@ammar92
Copy link
Contributor

ammar92 commented Dec 26, 2024

We should look into scripting to add to the CI that collects possible env-vars. Maybe someone has already made something like that.

Most of our configuration parameters can be configured via environment variables, because they're implemented via pydantic-settings models, so we use autodoc-pydantic to automatically generate documentation for them.

For Rocky it's a bit more complicated, since it's a configuration module with constants mixed with Django-related settings and our own (environment) variables. We could document them with e.g. docstrings (probably Sphinx-format style?), but we'd still need to explicitly indicate that these are environment variables.

I'm still looking for an alternative solution

@stephanie0x00
Copy link
Contributor Author

This section has been there for quite some time now

The problem is mainly that we do not have descriptions for any of the environment variables here. I'd very much like to see that changed that each variable has an explanatory description of how it can be used and what it affects are.

@ammar92
Copy link
Contributor

ammar92 commented Jan 8, 2025

This section has been there for quite some time now

The problem is mainly that we do not have descriptions for any of the environment variables here. I'd very much like to see that changed that each variable has an explanatory description of how it can be used and what it affects are.

Descriptions are available when you click on any of the attributes (e.g. BYTES_DATA_DIR). I agree that some settings could be more detailed. But this seems to be a broader issue in the documentation rather than being specific to the environment variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants