Skip to content

Commit

Permalink
ver: bump version 0.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 committed Aug 21, 2023
1 parent 2d98f09 commit c4dda2c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
27 changes: 27 additions & 0 deletions doc/source/examples/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,33 @@ The table directive with ansys sphinx theme allows for rendering of tables.
There are different types of tables, such as the data table, longtable-centered,
and table-centered, each serving different purposes.

Normal table
------------


.. table:: Truth table for "not"
:widths: auto
:align: center

+--------------------+------------------------+----------------------------------+
| **A** | **B** | **C** |
+====================+========================+==================================+
| || True || False |
| False || False || True |
+--------------------+------------------------+----------------------------------+
| || True || False |
| False || False || True |
+--------------------+------------------------+----------------------------------+
| || || |
| || True || |
| | || |
| False +------------------------+| False +
| || True || |
| || False || True |
+--------------------+------------------------+----------------------------------+



Data table
----------
This is an example of a data table that can be rendered using the table directive.
Expand Down
2 changes: 1 addition & 1 deletion src/ansys_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ansys_sphinx_theme.extension.linkcode import DOMAIN_KEYS, sphinx_linkcode_resolve
from ansys_sphinx_theme.latex import generate_404 # noqa: F401

__version__ = "0.10.3"
__version__ = "0.10.4"

# Declare the fundamental paths of the theme
THIS_PATH = pathlib.Path(__file__).parent.resolve()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@ Table
########
*/

table {
.table {
width: 100%;
max-width: 100%;
border-spacing: 0;
border-collapse: collapse;
overflow: hidden;
vertical-align: middle;

color: var(--pst-color-text-base);
/* Disabling scroll bars */
overflow-y: scroll;
scrollbar-width: none; /* Firefox */
Expand Down

0 comments on commit c4dda2c

Please sign in to comment.