feat: Add sticky table-column 34/73434/1 master
authorVanessa Valderrama <vvalderrama@linuxfoundation.org>
Thu, 20 Mar 2025 17:19:17 +0000 (12:19 -0500)
committerVanessa Valderrama <vvalderrama@linuxfoundation.org>
Thu, 20 Mar 2025 17:19:17 +0000 (12:19 -0500)
commitc2fd77cbbc3675ca785d0ec6735d33e61adcb4f5
tree054b19834f866d11515be387e815d397b614d7eb
parent2cfb51f693fbd43a8e479e47fa0e82b8a336f5ce
feat: Add sticky table-column

This commit introduces a feature to add a sticky first column
to tables generated from the list-table directive in Sphinx.

The first column now remains fixed during horizontal
scrolling, enhancing the user experience and improving
readability, especially for long tables such as the one in
infra/inventory.rst.

The implementation uses CSS with `position: sticky`. The
CSS is added to _static/css/sticky-table-column.css and
included in the Sphinx build via conf.py.

Change-Id: Ie68a3524bc34c38149e85c86ed4ea0d8a5f09ffe
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
docs/_static/css/sticky-table-column.css [new file with mode: 0644]
docs/conf.py