Skip to content

Generate environment variable documentation: exclude specific variables #83

@stevenbal

Description

@stevenbal

Question from @sergei-maertens via slack:

https://odrc.readthedocs.io/en/latest/installation/config.html -> this is auto-generated via the management command from OAF. is there a way to exclude some settings? e.g. we don't use django.contrib.sites so I don't want SITE_ID to be mentioned. We're also not supporting outgoing email for now

We could add something like --exclude-var to the management command (https://github.com/maykinmedia/open-api-framework/blob/main/open_api_framework/management/commands/generate_envvar_docs.py#L32-L36) to exclude individual variables/settings

@sergei-maertens would this work for you?

TODO:

Metadata

Metadata

Assignees

Labels

blockedIssue is blocked. There should be a comment that explains why.owner: dimpact

Projects

Status

Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions