From: Wol <ant...@yo...> - 2022-02-20 20:39:33
|
On 20/02/2022 18:30, Guenter Milde via Docutils-users wrote: > On 2022-02-20, Wols Lists wrote: > > ... > >> Okay, done a bit of googling, ended up with this, and I've still got >> grid lines everywhere ... >> .. table:: >> :class: borderless >> =========== ========================================================= >> Item-Id - A character string (maximum 48 characters) which >> uniquely identifies an item within a file. The item-id >> may include any characters except system delimiters, >> however the use of blanks, single quotes, quotes, >> commas, and backslash characters may require special >> considerations. > In order to get it working this way, you need to*nest* the table in the > directive (i.e. indent it to the same amount as the second line): > > .. table:: > :class: borderless > > ============== =================================================== > Item-Id - A character string (maximum 48 characters) which > uniquely identifies an item within a file. /home/anthony/gitstuff/ScarletDME/docs/source/SMA/SMA301.rst:80: WARNING: Error in "table" directive: invalid option block. .. table:: :class: borderless =========== ========================================================= Item-Id - A character string (maximum 48 characters) which > In Sphinx, the "class" directive is used for other purposes by default > and must be activated in the setup.py config file. ??? What setup file? Where? How? Is this the cause of my error above? Is it the conf.py file? Cheers, Wol |