By default, the python document tool sphinx generates tables to show complex content,
A little weak.
The lines on the left and right of the table are not neat .. (Personal opinion)
In fact, the document clearly states the following addresses:
Http://sphinx.pocoo.org/latest/theming.html#static-templates
The procedure is very simple. In Conf. py
Html_static_path = ['_ static']
Extract
C: \ python27 \ Lib \ Site-packages \ Sphinx-1.1.3-py2.7.egg \ sphes \ themes \ Default \ static
Found here
Default.css _ t
Copy it to the _ static directory in the relative path of conf. py and fill in the content.
Table.doc utils{Border:3px solid;Border-collapse:Collapse;}Table.doc utils TD, table.doc utils th{Border:1px solid # aaa;Border-bottom:1px solid # aaa;Padding:1px 8px 1px 5px;}
However, if sphinxfinds that no new file exists, it does not detect default.css _ t file writing.
It is best to touch other source files at the same time to regenerate HTML.
English version
1.
Copy c: \ python27 \ Lib \ Site-packages \ Sphinx-1.1.3-py2.7.egg \ sphinx \ themes \ Default \ static \ default.css _ t workspace \ project \ doc \ source \ _ static \
2.
Append these text to 'default.css _ t'
Table.doc utils{Border:3px solid;Border-collapse:Collapse;}Table.doc utils TD, table.doc utils th{Border:1px solid # aaa;Border-bottom:1px solid # aaa;Padding:1px 8px 1px 5px;}
3. Re-generate HTML document.
Make clean; make HTML