VIKUNJA_BACKGROUNDS_PROVIDERS env variable doesn't seem to do anything #1388

Closed
opened 2023-02-08 18:21:08 +00:00 by JonahKr · 2 comments

Hi there 👋
Love your work!
I was trying to setup the Unsplash Background provider but when trying to do so using the environment variables from the docs it just seems to disable the Background option completely.
Maybe i was just using it wrong?
I was looking through the code and could find any reference to it either.

I am aware that the docs state that not everything can be set via environment variables, but maybe this should just be removed from the docs.

Hi there :wave: Love your work! I was trying to setup the Unsplash Background provider but when trying to do so using the environment variables from the [docs](https://vikunja.io/docs/config-options/#providers) it just seems to disable the Background option completely. Maybe i was just using it wrong? I was looking through the code and could find any reference to it either. I am aware that the docs state that not everything can be set via environment variables, but maybe this should just be removed from the docs.
Author

NVM Figured it out 🤦‍♂️
If you are getting stuck with this, read through the paragraph here:
https://vikunja.io/docs/config-options/#configuration-options
Example:

VIKUNJA_BACKGROUNDS_PROVIDERS_UNSPLASH_ENABLED=true
VIKUNJA_BACKGROUNDS_PROVIDERS_UNSPLASH_ACCESSTOKEN=Vikunja<3Token123
...
NVM Figured it out 🤦‍♂️ If you are getting stuck with this, read through the paragraph here: https://vikunja.io/docs/config-options/#configuration-options Example: ``` VIKUNJA_BACKGROUNDS_PROVIDERS_UNSPLASH_ENABLED=true VIKUNJA_BACKGROUNDS_PROVIDERS_UNSPLASH_ACCESSTOKEN=Vikunja<3Token123 ... ```
Owner

Glad you figured it out!

The docs are auto-generated based on the sample config, but the generation does not work for all cases. I have it on my list to improve this but it's not a priority right now.

Glad you figured it out! The docs are auto-generated based on the sample config, but the generation does not work for all cases. I have it on my list to improve this but it's not a priority right now.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1388
No description provided.