Mayankaggarwal8055 opened a new pull request, #64359:
URL: https://github.com/apache/airflow/pull/64359

   ## Summary
   Fixes an issue where the "REST API Reference" link in the Docs menu was 
displayed even when API documentation was disabled.
   
   ## Changes
   - Updated filtering logic to use `link.key === "restApiReference"` instead 
of URL comparison
   - Simplified condition to `showAPIDocs || link.key !== "restApiReference"`
   - Added regression tests for both enabled and disabled scenarios
   
   ## Related Issue
   Fixes #64358 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to