Giter Site home page Giter Site logo

Comments (9)

potiuk avatar potiuk commented on July 17, 2024

@mik-laj - any idea ?

from airflow-site.

potiuk avatar potiuk commented on July 17, 2024

Bump?

from airflow-site.

mik-laj avatar mik-laj commented on July 17, 2024

I think we should check this line:
https://github.com/apache/airflow/blob/c5ffe0c2dac14b940b600acaccda3b387ca14a28/docs/conf.py#L234-L236

from airflow-site.

potiuk avatar potiuk commented on July 17, 2024

I looked at it, but I have no idea what it has to do with it :(

from airflow-site.

mik-laj avatar mik-laj commented on July 17, 2024

I looked at this problem and checked ExampleLiteral directive and it looks fine. However, the problem may be the use of the sphinx.ext.code module which does not make have a simple way to add a new module page and I can see some tricks are being used to integrate the directive with this extension.
Here are source code of sphinx.ext.code extension.
https://github.com/sphinx-doc/sphinx/blob/08a87d945a8ca7770c589ea878e9b095ed35e6d4/sphinx/ext/viewcode.py

from airflow-site.

potiuk avatar potiuk commented on July 17, 2024

I think we can fix it when we are going to move example dags @mnojek -while implementing https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-47+New+design+of+Airflow+System+Tests ?

from airflow-site.

bhirsz avatar bhirsz commented on July 17, 2024

In linked issue there is similiar problem. All links to source code are dead. Hovewer we can probably track the origin - for example those links are dead:

https://airflow.apache.org/docs/apache-airflow/2.3.0/_modules/airflow/example_dags/example_external_task_marker_dag.html

https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/example_dags/example_external_task_marker_dag.html

But this one works:
https://airflow.apache.org/docs/apache-airflow/2.2.3/_modules/airflow/example_dags/example_external_task_marker_dag.html

Something between Airflow 2.2.3 and 2.3.0 caused this issue (for this particular link. We could have dead links for longer period of time).

On side note it would be worth to add very simple ui tests - just parse all links on the site and check if any is 404.

from airflow-site.

bhirsz avatar bhirsz commented on July 17, 2024

It can be used to test links:
https://www.sphinx-doc.org/en/master/usage/builders/index.html#sphinx.builders.linkcheck.CheckExternalLinksBuilder

I can try to do it but only after next few days.

from airflow-site.

potiuk avatar potiuk commented on July 17, 2024

This is all fixed now.

from airflow-site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.