potiuk commented on code in PR #50057:
URL: https://github.com/apache/airflow/pull/50057#discussion_r2070120047


##########
devel-common/src/sphinx_exts/operators_and_hooks_ref.py:
##########
@@ -481,6 +481,17 @@ def render_content(
         )
 
 
+class QueuesDirective(BaseJinjaReferenceDirective):
+    """Generate list of queues"""
+
+    def render_content(
+        self, *, tags: set[str] | None, header_separator: str = 
DEFAULT_HEADER_SEPARATOR
+    ) -> str:
+        return _common_render_list_content(
+            header_separator=header_separator, resource_type="queues", 
template="queues.rst.jinja2"
+        )
+
+

Review Comment:
   Yeah. And with the new workflow `uv run ... --autobuild` things - it all 
runs locally with all the needed dependencies, and you get quick feedback and 
it will reload itself after change without restarting the build so it's WAY 
easier to add such code and iterate over it. I literally started to like sphinx 
after making this change.



-- 
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