diff options
Diffstat (limited to 'docs/src/footnotes.js')
-rw-r--r-- | docs/src/footnotes.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/src/footnotes.js b/docs/src/footnotes.js new file mode 100644 index 0000000..c6fdbaa --- /dev/null +++ b/docs/src/footnotes.js @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: CC-BY-NC-SA-4.0 + */ + +import footnotes from "./data/footnotes"; + +export function getFootnote(id) { + const footnote = footnotes[id]; + if (typeof footnote != "undefined") { + return footnote; + } +} |