You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/06/17 17:37:13 UTC

[airflow] branch v1-10-test updated: Fix list formatting of plugins doc. (#8873)

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

dimberman pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new ab52d1b  Fix list formatting of plugins doc. (#8873)
ab52d1b is described below

commit ab52d1b1b44a05124af5980ee17ed0a77ca516a4
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Fri May 15 09:14:51 2020 +0100

    Fix list formatting of plugins doc. (#8873)
    
    This was causing it to be picked up as a `<dl>/<dd>` containing a list,
    instead of a paragraph and a list.
    
    ```
    <dl class="simple">
      <dt>This will create a hook, and an operator accessible at:</dt>
      <dd>
        <ul class="simple">
          <li><p><code><span class="pre">airflow.hooks.my_namespace.MyHook</span></code></p></li>
          <li><p><code><span class="pre">airflow.operators.my_namespace.MyOperator</span></code></p></li>
        </ul>
      </dd>
    </dl>
    ```
---
 docs/plugins.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/docs/plugins.rst b/docs/plugins.rst
index 7e49258..bfe08aa 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -300,7 +300,6 @@ will automatically load the registered plugins from the entrypoint list.
       operators = [MyOperator]
       hooks = [MyHook]
 
-
 .. code-block:: python
 
     from setuptools import setup
@@ -315,7 +314,7 @@ will automatically load the registered plugins from the entrypoint list.
         }
     )
 
-
 This will create a hook, and an operator accessible at:
- - ``airflow.hooks.my_namespace.MyHook``
- - ``airflow.operators.my_namespace.MyOperator``
+
+- ``airflow.hooks.my_namespace.MyHook``
+- ``airflow.operators.my_namespace.MyOperator``