Skip to content

Commit 6cbb6e0

Browse files
committed
docs(quickstart): Cleanup
1 parent ce53736 commit 6cbb6e0

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

docs/quickstart.md

+6-20
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ from inside a live tmux session.
1515
- [tmux]
1616
- [pip] - for this handbook's examples
1717

18-
[pip]: https://pip.pypa.io/en/stable/installing/
19-
2018
[tmux]: https://tmux.github.io/
2119

2220
(installation)=
@@ -76,27 +74,19 @@ Session name `-s`: `foo`
7674

7775
:::
7876

79-
```{eval-rst}
80-
.. todo:: Do a version of this with `sliderepl`_
81-
82-
```
83-
8477
```console
85-
8678
$ python
87-
8879
```
8980

9081
For commandline completion, you can also use [ptpython].
9182

9283
```console
93-
9484
$ pip install --user ptpython
95-
$ ptpython
96-
9785
```
9886

99-
[ptpython]: https://github.com/prompt-toolkit/ptpython
87+
```console
88+
$ ptpython
89+
```
10090

10191
```{module} libtmux
10292
@@ -170,7 +160,6 @@ You may `session = server.get_by_id('$<yourId>')` to use the session object.
170160
## Get session by name / other properties
171161

172162
```python
173-
# Just for setting up the example:
174163
>>> server.sessions[0].rename_session('foo')
175164
Session($1 foo)
176165

@@ -186,7 +175,6 @@ through Windows and Panes, respectively.
186175
So you may now use:
187176

188177
```python
189-
# Prepping the example:
190178
>>> server.sessions[0].rename_session('foo')
191179
Session($1 foo)
192180

@@ -251,9 +239,8 @@ Window(@2 ...:ha in the bg, Session($1 ...))
251239
Try to kill the window by the matching id `@[0-9999]`.
252240

253241
```python
254-
# Setup
255242
>>> session.new_window(attach=False, window_name="ha in the bg")
256-
Window(@1 ...:ha in the bg, Session($1 ...))
243+
Window(@2 ...:ha in the bg, Session($1 ...))
257244

258245
>>> session.kill_window('ha in the bg')
259246
```
@@ -387,11 +374,10 @@ sessions in the background. :)
387374
:::{seealso}
388375

389376
If you want to dig deeper, check out {ref}`API`, the code for
390-
and our [test suite] (see {ref}`developing`.)
377+
and our [test suite] (see {ref}`development`.)
391378

392379
:::
393380

394-
[sliderepl]: http://discorporate.us/projects/sliderepl/
395381
[workspacebuilder.py]: https://github.com/tmux-python/libtmux/blob/master/libtmux/workspacebuilder.py
396382
[test suite]: https://github.com/tmux-python/libtmux/tree/master/tests
397-
[ptpython]: https://github.com/jonathanslenders/ptpython
383+
[ptpython]: https://github.com/prompt-toolkit/ptpython

0 commit comments

Comments
 (0)