Skip to content

Conversation

@humit0
Copy link
Contributor

@humit0 humit0 commented Oct 30, 2025

related: #53545

This PR addresses an issue where the list of available Airflow macros is not being correctly exposed in the template documentation.

This problem occurred because the airflow.macros module has been deprecated in the latest version. The documentation was not updated to reflect this change, leading to the missing macro list.

This PR updates the documentation to reference the correct module paths, ensuring the macro list is displayed properly for the current version.

Current document state

https://airflow.apache.org/docs/apache-airflow/3.1.1/templates-ref.html#macros
image

After changed

image

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@kaxil kaxil added this to the Airflow 3.1.2 milestone Oct 30, 2025
@kaxil kaxil merged commit 085b0ed into apache:main Oct 30, 2025
63 checks passed
kaxil pushed a commit that referenced this pull request Oct 31, 2025
kaxil pushed a commit that referenced this pull request Oct 31, 2025
@potiuk
Copy link
Member

potiuk commented Nov 2, 2025

Nice catch !

@humit0 humit0 deleted the fix-airflow-macro-template-doc branch November 3, 2025 03:13
@ephraimbuddy ephraimbuddy added the type:doc-only Changelog: Doc Only label Nov 10, 2025
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants