From 2a15888c597ed43ad5e9b98ffce73cbd7770aad4 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Sun, 8 Jan 2017 07:21:22 +0200
Subject: [PATCH 3/3] Ticket #3752: extfs: tester: improve HTML documentation
output.
- We now have 4'th level headers: adjust --doc-depth.
- We have many short sections: highlight the active section's header.
Signed-off-by: Mooffie <mooffie@gmail.com>
---
tests/src/vfs/extfs/helpers-list/Makefile.am | 2 +-
tests/src/vfs/extfs/helpers-list/README.css.inc | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/src/vfs/extfs/helpers-list/Makefile.am b/tests/src/vfs/extfs/helpers-list/Makefile.am
index a0a28e9..716c3a3 100644
a
|
b
|
doc: README.html |
107 | 107 | |
108 | 108 | # (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.) |
109 | 109 | README.html: README |
110 | | pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --standalone -o $@ $< |
| 110 | pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --toc-depth=4 --standalone -o $@ $< |
111 | 111 | |
112 | 112 | EXTRA_DIST += README.css.inc |
113 | 113 | CLEANFILES += README.html |
diff --git a/tests/src/vfs/extfs/helpers-list/README.css.inc b/tests/src/vfs/extfs/helpers-list/README.css.inc
index a99a894..dacc4ca 100644
a
|
b
|
h1, h2, h3 { |
16 | 16 | font-family: sans-serif; |
17 | 17 | } |
18 | 18 | |
| 19 | :target { |
| 20 | background: linear-gradient(45deg, #FFF 0%, #7CC 100%); |
| 21 | } |
| 22 | |
19 | 23 | </style> |