Drive tmux from Python: typed, object-oriented control over servers, sessions, windows, and panes.
+ + +The Tao of tmux is available on Leanpub and Kindle (Amazon).
Read and browse the book for free on the web.
-
+
diff --git a/docs/_templates/sidebar/projects.html b/docs/_templates/sidebar/projects.html
index 217e41800..7b46e0bce 100644
--- a/docs/_templates/sidebar/projects.html
+++ b/docs/_templates/sidebar/projects.html
@@ -1,7 +1,7 @@
```
-## Table of Contents
-
-:hidden:
-
```{toctree}
:maxdepth: 2
+:hidden:
quickstart
about
-topics/traversal
+topics/index
api/index
pytest-plugin/index
+test-helpers/index
```
```{toctree}
diff --git a/docs/internals/constants.md b/docs/internals/constants.md
new file mode 100644
index 000000000..65059ce94
--- /dev/null
+++ b/docs/internals/constants.md
@@ -0,0 +1,15 @@
+# Internal Constants - `libtmux._internal.constants`
+
+:::{warning}
+Be careful with these! These constants are private, internal as they're **not** covered by version policies. They can break or be removed between minor versions!
+
+If you need a data structure here made public or stabilized please [file an issue](https://github.com/tmux-python/libtmux/issues).
+:::
+
+```{eval-rst}
+.. automodule:: libtmux._internal.constants
+ :members:
+ :undoc-members:
+ :inherited-members:
+ :show-inheritance:
+```
diff --git a/docs/internals/index.md b/docs/internals/index.md
index 09d4a1d6f..0d19d3763 100644
--- a/docs/internals/index.md
+++ b/docs/internals/index.md
@@ -11,6 +11,8 @@ If you need an internal API stabilized please [file an issue](https://github.com
```{toctree}
dataclasses
query_list
+constants
+sparse_array
```
## Environmental variables
diff --git a/docs/internals/sparse_array.md b/docs/internals/sparse_array.md
new file mode 100644
index 000000000..74ea7892d
--- /dev/null
+++ b/docs/internals/sparse_array.md
@@ -0,0 +1,14 @@
+# Internal Sparse Array - `libtmux._internal.sparse_array`
+
+:::{warning}
+Be careful with these! Internal APIs are **not** covered by version policies. They can break or be removed between minor versions!
+
+If you need an internal API stabilized please [file an issue](https://github.com/tmux-python/libtmux/issues).
+:::
+
+```{eval-rst}
+.. automodule:: libtmux._internal.sparse_array
+ :members:
+ :undoc-members:
+ :show-inheritance:
+```
diff --git a/docs/pytest-plugin/index.md b/docs/pytest-plugin/index.md
index bb4368655..82d55dd2f 100644
--- a/docs/pytest-plugin/index.md
+++ b/docs/pytest-plugin/index.md
@@ -12,10 +12,8 @@ your case, we won't stabilize APIs until we're sure everything is by the book.
[connect with us]: https://github.com/tmux-python/libtmux/discussions
-```
-
```{module} libtmux.pytest_plugin
-
+:no-index:
```
## Usage
@@ -33,7 +31,7 @@ The pytest plugin will be automatically detected via pytest, and the fixtures wi
View libtmux's own [tests/](https://github.com/tmux-python/libtmux/tree/master/tests) as well as
tmuxp's [tests/](https://github.com/tmux-python/tmuxp/tree/master/tests).
-libtmux's tests `autouse` the {ref}`recommended-fixtures` above to ensure stable, assertions and
+libtmux's tests `autouse` the {ref}`recommended-fixtures` above to ensure stable test execution, assertions and
object lookups in the test grid.
## pytest-tmux
@@ -41,14 +39,14 @@ object lookups in the test grid.
`pytest-tmux` works through providing {ref}`pytest fixtures