-
-
Notifications
You must be signed in to change notification settings - Fork 389
/
dini.js
60 lines (58 loc) · 2.24 KB
/
dini.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import * as ReSpec from "../src/respec.js";
const modules = [
// order is significant
import("../src/core/location-hash.js"),
import("../src/core/l10n.js"),
import("../src/dini/defaults.js"),
import("../src/core/style.js"),
import("../src/dini/style.js"),
import("../src/core/data-include.js"),
import("../src/core/markdown.js"),
import("../src/core/reindent.js"),
import("../src/core/title.js"),
import("../src/dini/headers.js"),
import("../src/dini/abstract.js"),
import("../src/core/data-transform.js"),
import("../src/core/data-abbr.js"),
import("../src/core/inlines.js"),
import("../src/dini/conformance.js"),
import("../src/core/dfn.js"),
import("../src/core/pluralize.js"),
import("../src/core/examples.js"),
import("../src/core/issues-notes.js"),
import("../src/core/best-practices.js"),
import("../src/core/figures.js"),
import("../src/core/biblio.js"),
import("../src/core/link-to-dfn.js"),
import("../src/core/data-cite.js"),
import("../src/core/render-biblio.js"),
import("../src/core/contrib.js"),
import("../src/core/sections.js"),
import("../src/core/fix-headers.js"),
import("../src/core/structure.js"),
import("../src/core/informative.js"),
import("../src/core/id-headers.js"),
import("../src/ui/save-html.js"),
import("../src/ui/about-respec.js"),
import("../src/core/seo.js"),
import("../src/core/highlight.js"),
import("../src/core/list-sorter.js"),
import("../src/core/highlight-vars.js"),
import("../src/core/data-type.js"),
import("../src/core/algorithms.js"),
import("../src/core/anchor-expander.js"),
import("../src/core/dfn-panel.js"),
import("../src/core/custom-elements/index.js"),
import("../src/core/dfn-contract.js"),
/* Linter must be the last thing to run */
import("../src/core/linter-rules/check-charset.js"),
import("../src/core/linter-rules/check-punctuation.js"),
import("../src/core/linter-rules/local-refs-exist.js"),
import("../src/core/linter-rules/no-headingless-sections.js"),
import("../src/core/linter-rules/no-unused-vars.js"),
import("../src/core/linter-rules/privsec-section.js"),
import("../src/core/linter-rules/no-http-props.js"),
];
Promise.all(modules)
.then(plugins => ReSpec.run(plugins))
.catch(err => console.error(err));