Skip to content

Commit c4dda2c

Browse files
ver: bump version 0.10.4
1 parent 2d98f09 commit c4dda2c

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

doc/source/examples/table.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,33 @@ The table directive with ansys sphinx theme allows for rendering of tables.
66
There are different types of tables, such as the data table, longtable-centered,
77
and table-centered, each serving different purposes.
88

9+
Normal table
10+
------------
11+
12+
13+
.. table:: Truth table for "not"
14+
:widths: auto
15+
:align: center
16+
17+
+--------------------+------------------------+----------------------------------+
18+
| **A** | **B** | **C** |
19+
+====================+========================+==================================+
20+
| || True || False |
21+
| False || False || True |
22+
+--------------------+------------------------+----------------------------------+
23+
| || True || False |
24+
| False || False || True |
25+
+--------------------+------------------------+----------------------------------+
26+
| || || |
27+
| || True || |
28+
| | || |
29+
| False +------------------------+| False +
30+
| || True || |
31+
| || False || True |
32+
+--------------------+------------------------+----------------------------------+
33+
34+
35+
936
Data table
1037
----------
1138
This is an example of a data table that can be rendered using the table directive.

src/ansys_sphinx_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from ansys_sphinx_theme.extension.linkcode import DOMAIN_KEYS, sphinx_linkcode_resolve
1010
from ansys_sphinx_theme.latex import generate_404 # noqa: F401
1111

12-
__version__ = "0.10.3"
12+
__version__ = "0.10.4"
1313

1414
# Declare the fundamental paths of the theme
1515
THIS_PATH = pathlib.Path(__file__).parent.resolve()

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,14 @@ Table
259259
########
260260
*/
261261

262-
table {
262+
.table {
263263
width: 100%;
264264
max-width: 100%;
265265
border-spacing: 0;
266266
border-collapse: collapse;
267267
overflow: hidden;
268268
vertical-align: middle;
269-
269+
color: var(--pst-color-text-base);
270270
/* Disabling scroll bars */
271271
overflow-y: scroll;
272272
scrollbar-width: none; /* Firefox */

0 commit comments

Comments
 (0)