Skip to content

Commit 3e296da

Browse files
committed
docs: Fix links to WorkspaceBuilder
1 parent 68d8c75 commit 3e296da

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ Kung fu
476476

477477
tmuxp sessions can be scripted in python. The first way is to use the
478478
ORM in the :ref:`API`. The second is to pass a :py:obj:`dict` into
479-
:class:`tmuxp.WorkspaceBuilder` with a correct schema. See:
480-
:meth:`tmuxp.config.validate_schema`.
479+
:class:`~tmuxp.workspacebuilder.WorkspaceBuilder` with a correct schema.
480+
See: :meth:`tmuxp.config.validate_schema`.
481481

482482
Add yours? Submit a pull request to the `github`_ site!
483483

tmuxp/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def load_workspace(
417417
just the object.
418418
419419
The prepared configuration and the server object is passed into an instance
420-
of :class:`tmuxp.WorkspaceBuilder`.
420+
of :class:`~tmuxp.workspacebuilder.WorkspaceBuilder`.
421421
422422
A sanity check against :meth:`libtmux.common.which` is ran. It will raise
423423
an exception if tmux isn't found.
@@ -427,8 +427,8 @@ def load_workspace(
427427
does not allow appending a workspace / incremental building on top of a
428428
current session (pull requests are welcome!).
429429
430-
:meth:`tmuxp.WorkspaceBuilder.build` will build the session in the
431-
background via using tmux's detached state (``-d``).
430+
:meth:`~tmuxp.workspacebuilder.WorkspaceBuilder.build` will build the session in
431+
the background via using tmux's detached state (``-d``).
432432
433433
After the session (workspace) is built, unless the user decided to load
434434
the session in the background via ``tmuxp -d`` (which is in the spirit

0 commit comments

Comments
 (0)