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

Improve docs for config.py #858

Open
alexfikl opened this issue May 21, 2024 · 0 comments
Open

Improve docs for config.py #858

alexfikl opened this issue May 21, 2024 · 0 comments

Comments

@alexfikl
Copy link
Collaborator

Adding configuration through config.py is very powerful, but we don't really document what can or should be done in there. It would be useful to expand that section in the documentation. Some things that could be documented

  • Import order: config.py is loaded after the static configuration file.
  • Usage of register_default_settings: the static config file takes precedence.
  • Various dynamic features: add libraries dynamically, register papis doctor checks, etc.

xref: suggested by @octvs in #855 (comment)

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

No branches or pull requests

1 participant