Skip to content

Commit de3a4a2

Browse files
committed
refactor!(docs): Split out API into multiple sections
1 parent 22f3ca5 commit de3a4a2

28 files changed

+271
-139
lines changed

docs/api/cli/convert.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp convert - `tmuxp.cli.convert`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.convert
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/debug_info.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp debug-info - `tmuxp.cli.debug_info`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.debug_info
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/edit.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp edit - `tmuxp.cli.edit`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.edit
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/freeze.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp freeze - `tmuxp.cli.freeze`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.freeze
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/import_config.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp import - `tmuxp.cli.import_config`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.import_config
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
(api_cli)=
2+
3+
# CLI
4+
5+
:::{warning}
6+
Be careful with these! Internal APIs are **not** covered by version policies. They can break or be removed between minor versions!
7+
8+
If you need an internal API stabilized please [file an issue](https://github.com/tmux-python/tmuxp/issues).
9+
:::
10+
11+
```{toctree}
12+
convert
13+
debug_info
14+
edit
15+
freeze
16+
import_config
17+
load
18+
ls
19+
shell
20+
utils
21+
```
22+
23+
## `tmuxp.cli`
24+
25+
```{eval-rst}
26+
.. automodule:: tmuxp.cli
27+
:members:
28+
:show-inheritance:
29+
:undoc-members:
30+
```

docs/api/cli/load.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp load - `tmuxp.cli.load`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.load
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/ls.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp ls - `tmuxp.cli.ls`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.ls
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/shell.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# tmuxp shell - `tmuxp.cli.shell`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.shell
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

docs/api/cli/utils.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# CLI utilities - `tmuxp.cli.utils`
2+
3+
```{eval-rst}
4+
.. automodule:: tmuxp.cli.utils
5+
:members:
6+
:show-inheritance:
7+
:undoc-members:
8+
```

0 commit comments

Comments
 (0)