This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3064811  Use warning directive in deprecation warning (#9890)
3064811 is described below

commit 30648116011a3d975ca69f8b726a48d652c0baa2
Author: Kamil BreguĊ‚a <[email protected]>
AuthorDate: Mon Jul 20 20:07:26 2020 +0200

    Use warning directive in deprecation warning (#9890)
---
 docs/rest-api-ref.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/rest-api-ref.rst b/docs/rest-api-ref.rst
index 25e8032..87332c5 100644
--- a/docs/rest-api-ref.rst
+++ b/docs/rest-api-ref.rst
@@ -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

Reply via email to