From 390d5a3bf101eba5952c3f757f27b82ff0bdfed1 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Wed, 5 Apr 2017 13:05:04 +0300
Subject: [PATCH] docs/machine.Pin: Move wipy-specific methods to its docs.

---
 docs/library/machine.Pin.rst | 10 ----------
 docs/wipy/general.rst        |  7 +++++++
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index d3aa37b45..216ebcb2a 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -225,16 +225,6 @@ Methods
 
    This method returns a callback object.
 
-.. only:: port_wipy
-
-    .. method:: Pin.alt_list()
-
-       Returns a list of the alternate functions supported by the pin. List items are
-       a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)``
-
-       Availability: WiPy.
-
-
 Attributes
 ----------
 
diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst
index 0d0327f4b..d7b35cc4e 100644
--- a/docs/wipy/general.rst
+++ b/docs/wipy/general.rst
@@ -232,3 +232,10 @@ For interrupts, the ``priority`` can take values in the range 1-7.  And the
   - If ``wake_from=machine.Sleep.SUSPENDED`` pins ``GP2``, ``GP4``, ``GP10``,
     ``GP11``, ``GP17`` and ``GP24`` can wake the board. In this case all of the
     6 pins can be enabled as a ``machine.Sleep.HIBERNATE`` wake source at the same time.
+
+Additional Pin methods:
+
+.. method:: machine.Pin.alt_list()
+
+   Returns a list of the alternate functions supported by the pin. List items are
+   a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)``
-- 
GitLab