Skip to content

Commit

Permalink
adding the practice table
Browse files Browse the repository at this point in the history
  • Loading branch information
lisagoodrich authored Jul 20, 2023
1 parent 5aaa602 commit 54be0dd
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions docs/Contributors_Guide/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -640,19 +640,48 @@ Remember the asterisks need to be lined up under the colon
from the width and header rows from the :ref:`creating-tables` section.
Use the created information from the ArrayFormula in column F to
complete the new list.
Example::
Enter the below information in G5 to capture the first
header row. The spaces are need to correctly allign the
asterics and dashes::

First row: =" * - "&F5
Following columns: =" - "&F6
Following columns: =" - "&F7
=" * - "&F5

For the next twocells, G6 adn G7 enter the below information. Again,
the spaces are to correctly align the new list::
=" - "&F6
=" - "&F7
Drag and drop G5 through G7 into the remaining cells below.
This will create the correct formatting for a Sphinx table.
Once this is completed, copy the list into the RST documentation.

Here is a visual example:

.. image:: figure/practice_table.png

And here is the table:

.. list-table:: Practice table
:widths: auto
:header-rows: 1

* - Header 1
- Header 2
- Header 3
* - column 1, row 1
- column 2, row 1
- column 3, row 1
* - column 1, row 2
- column 2, row 2
- column 3, row 2
* - column 1, row 3
- column 2, row 3
- column 3, row 3
* - column 1, row 4
- column 2, row 4
- column 3, row 4

Dropdown Menus, Accordions or Collapsable Lists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 54be0dd

Please sign in to comment.