Skip to content

Commit fb776f3

Browse files
h-g-sCopilot
andcommitted
docs: right-align table numbers and merge RCPSP config tables
- Add docs/_static/custom.css: CSS to right-align data cells in benchmark tables (.numtable) and left-align first two columns in RCPSP tables (.rcpsp-table) for HTML output - Update docs/conf.py: add '_static' to html_static_path and html_css_files = ['custom.css'] - Add '.. tabularcolumns::' directive before every list-table in bench.rst for right-aligned columns in PDF/LaTeX output - Merge the 8 RCPSP config tables (A/B/C/D × CPython/PyPy) into 2 tables (CPython and PyPy) with additional Resources and Prec columns, reducing repetition and enabling easy cross-config comparison Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8a0b773 commit fb776f3

3 files changed

Lines changed: 241 additions & 177 deletions

File tree

docs/_static/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* Right-align data cells in benchmark tables */
2+
table.numtable td { text-align: right; }
3+
table.numtable th { text-align: center; }
4+
5+
/* Left-align the first two columns in RCPSP tables (Resources, Prec) */
6+
table.rcpsp-table td:nth-child(1),
7+
table.rcpsp-table td:nth-child(2) { text-align: left; }

0 commit comments

Comments
 (0)