Skip to content

"Example DAGs" link under kubernetes-provider documentation is broken. Getting 404 #24331

Closed

Description

@deeptansh

What do you see as an issue?

Example DAGs folder is not available for apache-airflow-providers-cncf-kubernetes , which results in broken link on documentation page ( https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/stable/index.html ).

Getting 404 error when clicked on Example DAGs link (https://github.com/apache/airflow/tree/main/airflow/providers/cncf/kubernetes/example_dags )

Screenshot 2022-06-08 at 9 01 56 PM

Screenshot 2022-06-08 at 9 01 39 PM

Solving the problem

Folder named example_dags should be created under link (https://github.com/apache/airflow/tree/main/airflow/providers/cncf/kubernetes/) which should include kubernetes specific DAG examples.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. boring-cyborg commented on Jun 8, 2022

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. josh-fell commented on Jun 8, 2022

    @josh-fell
    Contributor

    This is a deeper issue than just the Kubernetes provider. With AIP-47, example DAGs are being migrated out of the example_dags folders and used as system tests. The docs point tree/main/airflow/providers/.../example_dags for all providers even past versions.

    The question is, how should this link be handled for provider versions prior to the one which migrated the example DAGs for the AIP.

    @potiuk WDYT? I shutter a little to update manually, but I assume there is a smarter way.

  3. potiuk commented on Jun 8, 2022

    @potiuk
    Member

    The links should point to provider's branch version of examples I think

  4. potiuk commented on Jun 8, 2022

    @potiuk
    Member

    Then in new docs we should get new links and in old ones, old links. But that's a bit "transition period" for now which makes it a bit difficult I think we should possibly Have two links for the time being to make it simpler and fix it afterwards.

  5. potiuk commented on Jun 8, 2022

    @potiuk
    Member

    Working on a good fix.

  6. self-assigned this
    on Jun 8, 2022
  7. potiuk commented on Jun 8, 2022

    @potiuk
    Member

    Fix to newly generated provider docs in : #24307 - it will check which folders are available and update the link to contain the right "tag" from Github - including provider and provider version.

    Later we will slightly modify it to update historical docs.

  8. potiuk commented on Jun 8, 2022

    @potiuk
    Member

    I am not going to close that one yet -I will close it when we manually fix all historical versions

  9. 3 remaining items

  10. added a commit that references this issue on Jun 9, 2022
    85c247a
  11. added a commit that references this issue on Jun 10, 2022
  12. added a commit that references this issue on Jun 30, 2022
    f5dd1f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions