-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Broken url for the source code pointing to example_dags under providers #32295
Comments
@potiuk if this is an historic issue, it can be fixed in the new post docs script of airflow-site. Wdyt? |
(I can take it up too if no one is working on it) |
Sure. It looks like it is. Needs a bit of investigation where it comes from but likely post-processing the HTML pages is indeed something that might be needed |
Interesting, the missing source link seems to be not consistent. For Google Cloud Operators and example Cloud Build code in https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/cloud_build.html the links are not broken. |
All the source code pointing to We are excluding folders with the pattern |
@potiuk @Adaverse I think this is a bigger problem and cannot be fixed post the docs are generated. This should be fixed in the sphinx config. Why are we excluding the
|
To be honest. I am not sure. This part has always been a bit "trial-and-error" - likely because enabling it causes a number of "index.rst is not part of any TOC". You can remove it and see what efffect it will have. Likely it will need an index to be generated to those. I do not think we have good set of "reasoning" in the configuration of those docs - in some cases the changes were "simplest way to make the docs build" but without deeper understanding if some of the links there might be missing. I think generally speaking Just note: example_dags for most cases has been converted to system tests. There are likely few |
And yes. Our docs needs someone to take care about making the whole build and generation process better. That's clear. |
So making any improvements there is most welcome. |
I think it's better to migrate leftover |
likely yes. |
@Adaverse the google system tests are being taken up by @VladaZakharova separately. Any other migrations that you need as part of this issue? |
Yes @amoghrajesh, been thinking to work on Azure system tests improvements. There are two dags in example_dag folder (I'm the culprit here :)). I have started the works on wasb sensor example dag. There is one more called cosmos document sensor. And also other system test like highlighted here --> #31809. Yet to analyze all the other tests. May be we can do the same exercise on Azure system tests to whatever extent possible but first its important to move the example_dag dags to system test. I have started on wasb sensor part. Feel free to take up the other one. |
Thanks @Adaverse. |
Sure |
What do you see as an issue?
When we click on
source code
, we get a 404 page not foundUpon investigation, we see that the docs of all the packages are built in
airflow/providers/<provider_name>/*
exceptexample_dags
. I suspect it has something to do with theairflow/example_dags
where we are excluding it in various places during doc builds (my guess) which is somehow includingairflow/providers/<provider_name>/*/example_dags
as well. Renaming the folder to something else fixes the broken URL.Solving the problem
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: