Cleanup documentation for Trigger __init__ parameters.
Sphinx autodoc doesn't use __signature__ on class definitions correctly.
@@ -22,11 +22,11 @@ Simulator Triggers
Signals
-------
-.. autoclass:: cocotb.triggers.Edge
+.. autoclass:: cocotb.triggers.Edge(signal)
-.. autoclass:: cocotb.triggers.RisingEdge
+.. autoclass:: cocotb.triggers.RisingEdge(signal)
-.. autoclass:: cocotb.triggers.FallingEdge
+.. autoclass:: cocotb.triggers.FallingEdge(signal)
.. autoclass:: cocotb.triggers.ClockCycles
@@ -36,11 +36,11 @@ Timing
.. autoclass:: cocotb.triggers.Timer
-.. autoclass:: cocotb.triggers.ReadOnly
+.. autoclass:: cocotb.triggers.ReadOnly()
-.. autoclass:: cocotb.triggers.ReadWrite
+.. autoclass:: cocotb.triggers.ReadWrite()
-.. autoclass:: cocotb.triggers.NextTimeStep
+.. autoclass:: cocotb.triggers.NextTimeStep()
Python Triggers
@@ -50,7 +50,7 @@ Python Triggers
.. autoclass:: cocotb.triggers.First
-.. autoclass:: cocotb.triggers.Join
+.. autoclass:: cocotb.triggers.Join(coroutine)
:members: retval
