-
Notifications
You must be signed in to change notification settings - Fork 16.3k
docs: conditionally render section‐move links in sections‐and‐options include #50582
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
Conversation
amoghrajesh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a decent fix, lets wait for CI
|
I merge this one quickly in hope this fix the issue as I have to unblock providers release |
|
Nice |
amoghrajesh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
|
Thanks @sunank200 |
|
Should this be backported to |
… include (apache#50582) * Add condition for section move in docs * docs(fab): add Sphinx anchors for access_denied_message and expose_hostname config options (cherry picked from commit 39f215f)
… (#50544) * Move access_denied_message webserver config to fab (#50208) * Move access_denied_message webserver config to fab * Fix CI * Update to fab 2.0.3 * Change core to 3.0.2 * fab depends on apache-airflow 3.0.2 * Fix CI (cherry picked from commit a18a1df) * Fix CI * docs: conditionally render section‐move links in sections‐and‐options include (#50582) * Add condition for section move in docs * docs(fab): add Sphinx anchors for access_denied_message and expose_hostname config options (cherry picked from commit 39f215f) --------- Co-authored-by: Ankit Chaurasia <8670962+sunank200@users.noreply.github.com>
… (#50544) * Move access_denied_message webserver config to fab (#50208) * Move access_denied_message webserver config to fab * Fix CI * Update to fab 2.0.3 * Change core to 3.0.2 * fab depends on apache-airflow 3.0.2 * Fix CI (cherry picked from commit a18a1df) * Fix CI * docs: conditionally render section‐move links in sections‐and‐options include (#50582) * Add condition for section move in docs * docs(fab): add Sphinx anchors for access_denied_message and expose_hostname config options (cherry picked from commit 39f215f) --------- Co-authored-by: Ankit Chaurasia <8670962+sunank200@users.noreply.github.com>
… include (apache#50582) * Add condition for section move in docs * docs(fab): add Sphinx anchors for access_denied_message and expose_hostname config options
This PR is breaking the docs in main with following error:
I’ve updated the Jinja include for the core configuration reference so that it only emits a
Sphinx :ref:link when the target section is part of the core docs. For provider‐only options (the new fab ones), it now falls back to plain text rather than linking to an undefinedconfig:fablabel. This removes the“undefined label”warnings forfab__access_denied_messageandfab__expose_hostname.As part of PR we missed adding Sphinx anchors for
access_denied_messageandexpose_hostnameconfig options:Also added two new Sphinx reference labels in
providers/fab/docs/configurations-ref.rst:config:fab__access_denied_messageconfig:fab__expose_hostname^ 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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.