ScyllaDB Documentation Logo Documentation
  • Server
    • ScyllaDB Open Source
    • ScyllaDB Enterprise
    • ScyllaDB Alternator
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu

Caution

You're viewing documentation for an unstable version of ScyllaDB Sphinx Theme. Switch to the latest stable version.

ScyllaDB Sphinx Theme Examples Tables

Tables¶

We use the List Table directive for tables. If possible give your table a name as this helps with SEO and screen readers for Accessibility. In the width declaration, determine the number of columns and the width for each.

Regular table¶

Using:

.. list-table:: Caption
    :widths: 33 33 33
    :header-rows: 1

    * - header name
        - header name
        - header name
    * - body text
        - body text
        - body text

Results in:

Caption¶

header name

header name

header name

body text

body text

body text

Complex table¶

Using:

+--------------------------+---------------------------+--------------------+------------+----------+----------+----------+
| Platform                 |  Ubuntu                   | Debian             | Centos/RHEL| Docker   | AWS/AMI  |   GCP    |
+--------------------------+------+------+------+------+------+------+------+------+-----+----------+----------+----------+
| Version                  | 14   | 16   |  18  |  20  | 8    | 9    | 10   |  7   | 8   |          |          |          |
+==========================+======+======+======+======+======+======+======+======+=====+==========+==========+==========+
|   2021.1                 | |x|  | |v|  | |v|  | |v|  |  |x| |  |v| |  |v| | |v|  | |v| | |v|      |   |v|    |   |v|    |
+--------------------------+------+------+------+------+------+------+------+------+-----+----------+----------+----------+
|   2020.1                 | |x|  | |v|  | |v|  |  |x| |  |x| |  |v| |  |v| | |v|  | |v| | |v|      |   |v|    |   |x|    |
+--------------------------+------+------+------+------+------+------+------+------+-----+----------+----------+----------+
|   2019.1                 | |x|  | |v|  | |v|  |  |x| |  |x| |  |v| |  |x| | |v|  | |x| | |v|      |   |v|    |   |x|    |
+--------------------------+------+------+------+------+------+------+------+------+-----+----------+----------+----------+
|   2018.1                 | |v|  | |v|  | |x|  |  |x| | |v|  | |x|  |  |x| | |v|  | |x| | |x|      |   |x|    |   |x|    |
+--------------------------+------+------+------+------+------+------+------+------+-----+----------+----------+----------+

Results in:

Platform

Ubuntu

Debian

Centos/RHEL

Docker

AWS/AMI

GCP

Version

14

16

18

20

8

9

10

7

8

2021.1

2020.1

2019.1

2018.1

PREVIOUS
Substitutions
NEXT
Tabs
  • master
    • 1.3
    • 1.2
    • 1.1
    • 1.0
  • Getting started
    • Toolchain
    • Installation
    • Quickstart
  • Configuration
    • Template options
    • Page options
    • Multiversion options
    • Markdown support
    • Redirects support
    • Search support
    • Troubleshooting
  • Commands
  • Deployment
    • Production deployment
    • Pull requests previews
  • Examples
    • Admonitions
    • Collapse
    • Code blocks
    • Glossary
    • Headings
    • Hero box
    • Includes
    • Images
    • Labels
    • Links
    • Lists
    • Panel box
    • Substitutions
    • Tables
    • Tabs
    • Text
    • TOC
    • Topic box
    • Versions
  • Upgrade guides
    • Migrating from 1.2 to 1.3
    • Migrating from 1.1 to 1.2
    • Migrating from 1.0 to 1.1
    • Migrating from 0.x to 1.0
    • Changelog
  • Contribute
    • Contribute to the documentation
    • Contribute to the theme
    • Source Code
  • Create an issue
  • Edit this page

On this page

  • Tables
    • Regular table
    • Complex table
Logo
Docs Contact Us About Us
Mail List Icon Slack Icon Forum Icon
© 2022, ScyllaDB. All rights reserved.
Last updated on 13 Dec 2022.
Powered by Sphinx 4.5.0 & ScyllaDB Theme 1.3.4