Skip to content

Commit 8a030c4

Browse files
committed
[docs] Fix table width for HAL matrix
1 parent 92de05a commit 8a030c4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

docs/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ nav:
9191
- Reference:
9292
- Documentation: reference/documentation.md
9393
- Build Systems: reference/build-systems.md
94-
- Modules:
9594
# moduletable
96-
# - module: module.md
95+
# - Modules:
96+
# - module: module.md
9797
# /moduletable

docs/src/extra.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@
1111
width: 100%;
1212
height: 100%;
1313
}
14+
.md-typeset table:not([class]) th {
15+
min-width: 0;
16+
}

tools/scripts/generate_module_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def format_module(modules, node):
330330

331331
print("\nWriting module table")
332332
config_path = Path(repopath("docs/mkdocs.yml"))
333-
modtable = "\n".join(sorted(modtable))
333+
modtable = "\n".join([" - Modules:"] + sorted(modtable))
334334
config = config_path.read_text()
335335
if extract(config, "moduletable") != modtable:
336336
config = replace(config, "moduletable", modtable)

0 commit comments

Comments
 (0)