Skip to content

Commit f1c25c5

Browse files
committed
fix linking in docs to use autodoc module
1 parent 3963a8a commit f1c25c5

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

doc/panes.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Panes
1111
.. _pseudoterminal: https://en.wikipedia.org/wiki/Pseudoterminal
1212
.. _pty(4): https://www.freebsd.org/cgi/man.cgi?query=pty&sektion=4
1313

14-
.. autoclass:: libtmux.Pane
14+
.. module:: libtmux
15+
16+
.. autoclass:: Pane
1517
:noindex:
1618
:members:
1719
:inherited-members:

doc/servers.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Servers
1212
In tmux, a server is automatically started on your behalf
1313
when you first run tmux.
1414

15-
.. autoclass:: libtmux.Server
15+
.. module:: libtmux
16+
17+
.. autoclass:: Server
1618
:noindex:
1719
:members:
1820
:inherited-members:

doc/windows.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Windows
88
- contain :ref:`Panes`
99
- identified by ``@``, e.g. ``@313``
1010

11-
.. autoclass:: libtmux.Window
11+
.. module:: libtmux
12+
13+
.. autoclass:: Window
1214
:noindex:
1315
:members:
1416
:inherited-members:

0 commit comments

Comments
 (0)