Need documentation for table directives
See original GitHub issueIs your feature request related to a problem? Please describe. I have not been able to add table directive. For example, the following does not work
+--------------+----------+------------+-------+
| | Training | Validation | Test |
+==============+==========+============+=======+
| Class 0 | 0 | 5 | 81 |
+--------------+----------+------------+-------+
| Class 1 | 13720 | 2744 | 52136 |
+--------------+----------+------------+-------+
The error is: WARNING: Error parsing content block for the “table” directive: exactly one table expected.
What should I do to make it work? I could not find any direction in the documentation. Also, after being able to make it work, how do I refer to tables like what I can do with figures?
A link to the documentation page where you see an issue.
Describe the solution you’d like
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
reStructuredText Directives - Docutils - SourceForge
Common Options. This document describes the directives implemented in the reference reStructuredText parser. Directives have the following syntax:
Read more >needtable - Sphinx-Needs 1.1.0 documentation
needtable generates a table, based on the result of given filters. Example ... needtable supports the full filtering possibilities of Sphinx-Needs.
Read more >Directives — Sphinx documentation
To create table of contents for current document (.rst file), use the standard reST contents directive. .. toctree::¶. This directive inserts ...
Read more >Table directives
There are six directives for table processing. All must be at the beginning of a line to have any effect. Contents [ showhide...
Read more >Guide: Designing Documents: Using Tables - Writing@CSU
Follow the publication's style or instructor's guidelines for Tables · Place titles above Tables · Write complete descriptive titles · Limit divider rules...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome @najuzilu . I confirm that I can render the table and refer to it now. Thanks a lot!!!
According to the Sphinx documentation here, the
list-table
directive takes in one possible argument which is the title.The table can be referenced as follows