platform/dev/doc-import-tool/toc2.json
Alexey Zinoviev c55e6f00b0
EZQMS-1145: Fixes doc import tool (#6204)
* EZQMS-1145: Fixes doc import tool
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-08-01 12:05:07 +07:00

35 lines
677 B
JSON

{
"prefix": "SOP5",
"type": "toc",
"metadata": {
"in": "page-header-table-row",
"headerIdx": 2,
"docName": {
"extract": { "row": 2, "col": 1 }
},
"docId": {
"extract": { "row": 2, "col": 0 }
}
},
"spec": {
"toc": {
"type": "toc",
"node": {
"type": "toc-paragraph-seq",
"params": {
"sectionHeaders": {
"tags": ["h1"]
},
"start": {
"patterns": ["Table of contents", "Table des matières", "CONTENTS"],
"tags": ["h1", "h2", "h3", "p"]
},
"end": {
"tags": ["h1"]
}
}
}
}
}
}