Skip to content

Commit

Permalink
Use warning directive in deprecation warning (apache#9890)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored Jul 20, 2020
1 parent 273e28c commit 3064811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rest-api-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Experimental REST API Reference
Airflow exposes an REST API. It is available through the webserver. Endpoints are
available at ``/api/experimental/``.

.. deprecated:: 2.0
.. warning::

This REST API is deprecated. Please consider using :doc:`the stable REST API <stable-rest-api/redoc>`.
This REST API is deprecated since version 2.0. Please consider using :doc:`the stable REST API <stable-rest-api/redoc>`.
For more information on migration, see: :doc:`stable-rest-api/migration`.

Endpoints
Expand Down

0 comments on commit 3064811

Please sign in to comment.