Skip to content

Broken Source Code Links in Operator Guides #23632

Closed
apache/airflow-site
#613

Description

@SamWheating

What do you see as an issue?

The [source] links in the operator HowTo guides seem to be 404'ing:

image

(source)

I tried to fix this but got kinda lost in the docs build system.

Solving the problem

I think that sphinx isn't loading the example_dags folder, as these modules aren't found here:

https://airflow.apache.org/docs/apache-airflow/2.3.0/_modules/

While they were present in 2.2.3:

https://airflow.apache.org/docs/apache-airflow/2.2.3/_modules/

Anything else

I can keep looking into this, but would appreciate any pointers or guidance.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. changed the title [-]Source Code Links in Operator Guides are 404'ing[/-] [+]Broken Source Code Links in Operator Guides[/+] on May 11, 2022
  2. eladkal commented on May 11, 2022

    @eladkal
    Contributor

    see #23480

  3. potiuk commented on May 11, 2022

    @potiuk
    Member

    Yep. Known issue. Maybe time to fix it.

  4. vijaya-lakshmi-venkatraman commented on May 18, 2022

    @vijaya-lakshmi-venkatraman

    Hi
    I would like to give a try on this if this is not already taken.
    Also, request to provide some pointers

  5. potiuk commented on May 18, 2022

    @potiuk
    Member

    Feel Free! :) Sphinx is a bit mysterious creature and asks many riddles, so any help is more than welcome.

  6. potiuk commented on May 18, 2022

    @potiuk
    Member

    Some pointers here: apache/airflow-site#536

  7. potiuk commented on May 18, 2022

    @potiuk
    Member

    And possibly @mik-laj can help

  8. vijaya-lakshmi-venkatraman commented on May 19, 2022

    @vijaya-lakshmi-venkatraman

    Thank you.
    My understanding from the comment is that between 2.2.3 and the stable (2.3.0) version, the links have stopped working due to some change, possibly in the sphinx.ext.code module.
    For the next step, should I be checking how to add a new module to Sphinx?

  9. potiuk commented on May 19, 2022

    @potiuk
    Member

    I personally do not know :). I have very little knowledge about sphinx. Big part of the task is to find out what to do really because possiblychange in sphinx triggered it but we do not know exactly what was the root cause.

  10. rbiegacz commented on May 21, 2022

    @rbiegacz

    BTW - the links stopped working also for providers. For example, [source] link doesn't work in the page devoted to this operator: https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/automl.html

  11. 3 remaining items

  12. added 3 commits that reference this issue on Jun 13, 2022
    08b675c
    5b02fdc
    e1cefc7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions