-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Automate links to configuration of providers #34306
Comments
I am beginner in the field of open source and interested to work on this issue,please assign me the issue. |
@Jyoticharan sure, I assigned you. |
@Jyoticharan are you still working on this issue? |
@potiuk - I am interested in working on this. Can you please assign it to me? Could you help me understand this issue description? |
@poorvirohidekar assigned you. |
@poorvirohidekar - similarly to what has beein implemented for automatically retrieving operators/hooks and other references here https://github.com/apache/airflow/blob/main/docs/exts/operators_and_hooks_ref.py - this file adds sphinx directives that are called by sphinx when placed in the .rst files and the code can scan for configurations in provider.yaml files and generate the list from there - we need a new directive there. |
@potiuk - So from the provider.yaml file, I see that we generate https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/configurations-ref.html doc. When you say "automate links", do you mean the links that have been done as a part of this PR as an example - #34305 ? |
Precisely. This is what https://github.com/apache/airflow/blob/main/docs/exts/operators_and_hooks_ref.py do with some other entitites. |
@potiuk - Understood. Thank you |
@potiuk - From the file mentioned, I understand that class AuthConfigurations is rendering a template configurations.rst.jinja2 and when I look at the configurations.rst.jinja2 file (https://github.com/apache/airflow/blob/main/docs/exts/templates/configuration.rst.jinja2), there is a way in which a similar pattern of link seems to be getting generated? I am not sure if this AuthConfigurations is the relevant existing directive for this issue. |
Ah. So it's alreeady done 🤦 |
Body
Since more and more providers release their configuration, we should automate generation of the links to the configuration.
See #34305
Committer
The text was updated successfully, but these errors were encountered: