Skip to content

Commit f8d1e50

Browse files
committed
docs(internals[sidebar]): add sphinx-design grid cards for internal modules
why: Internals index used a plain visible toctree. Converted to the same grid card + hidden toctree pattern used in api/index.md for visual consistency and sidebar navigation. what: - Replace visible toctree with grid cards for dataclasses, query_list, constants, and sparse_array modules - Add :hidden: toctree to retain sidebar nav registration
1 parent d5966e7 commit f8d1e50

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/internals/index.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,39 @@ notice.
1010
If you need an internal API stabilized please [file an issue](https://github.com/tmux-python/libtmux/issues).
1111
:::
1212

13+
::::{grid} 1 2 2 2
14+
:gutter: 2 2 3 3
15+
16+
:::{grid-item-card} Dataclass helpers
17+
:link: api/libtmux._internal.dataclasses
18+
:link-type: doc
19+
Typed dataclass utilities used across internal modules.
20+
:::
21+
22+
:::{grid-item-card} Query List
23+
:link: api/libtmux._internal.query_list
24+
:link-type: doc
25+
List filtering and attribute-based querying.
26+
:::
27+
28+
:::{grid-item-card} Constants
29+
:link: api/libtmux._internal.constants
30+
:link-type: doc
31+
Internal format strings and tmux constants.
32+
:::
33+
34+
:::{grid-item-card} Sparse Array
35+
:link: api/libtmux._internal.sparse_array
36+
:link-type: doc
37+
Sparse array data structure for tmux format parsing.
38+
:::
39+
40+
::::
41+
1342
```{toctree}
43+
:hidden:
44+
:maxdepth: 1
45+
1446
api/libtmux._internal.dataclasses
1547
api/libtmux._internal.query_list
1648
api/libtmux._internal.constants

0 commit comments

Comments
 (0)