diff --git a/website/docs/img b/website/docs/img
new file mode 120000
index 0000000000..d0a8b9d64a
--- /dev/null
+++ b/website/docs/img
@@ -0,0 +1 @@
+../static/img
\ No newline at end of file
diff --git a/website/docs/img/bcc2020_img1.png b/website/docs/img/bcc2020_img1.png
deleted file mode 100644
index 939fac69e7..0000000000
Binary files a/website/docs/img/bcc2020_img1.png and /dev/null differ
diff --git a/website/docs/img/bcc2020_img2.png b/website/docs/img/bcc2020_img2.png
deleted file mode 100644
index 5dd18a81d6..0000000000
Binary files a/website/docs/img/bcc2020_img2.png and /dev/null differ
diff --git a/website/docs/img/bcc2020_img3.png b/website/docs/img/bcc2020_img3.png
deleted file mode 100644
index be6d26813d..0000000000
Binary files a/website/docs/img/bcc2020_img3.png and /dev/null differ
diff --git a/website/docs/img/bcc2020_jbrowse_help.png b/website/docs/img/bcc2020_jbrowse_help.png
deleted file mode 100644
index 02a3de764b..0000000000
Binary files a/website/docs/img/bcc2020_jbrowse_help.png and /dev/null differ
diff --git a/website/docs/img/bcc2020_network_success.png b/website/docs/img/bcc2020_network_success.png
deleted file mode 100644
index de0204c54f..0000000000
Binary files a/website/docs/img/bcc2020_network_success.png and /dev/null differ
diff --git a/website/docs/img/favicon.ico b/website/docs/img/favicon.ico
deleted file mode 100644
index 74d9a84d2c..0000000000
Binary files a/website/docs/img/favicon.ico and /dev/null differ
diff --git a/website/docs/img/logo.svg b/website/docs/img/logo.svg
deleted file mode 100644
index 3caf3393b1..0000000000
--- a/website/docs/img/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/website/docs/tex_parser.js b/website/docs/tex_parser.js
index 121ec965e2..d36e4f93ce 100755
--- a/website/docs/tex_parser.js
+++ b/website/docs/tex_parser.js
@@ -1,15 +1,15 @@
/* eslint-disable no-console,no-continue */
const readline = require('readline')
+const acorn = require('acorn')
+const jsx = require('acorn-jsx')
const rl = readline.createInterface({
input: process.stdin, // or fileStream
})
-
+const parser = acorn.Parser.extend(jsx())
let readingHeader = false
let title = ''
let topLevel = false
-let figure = ''
-let caption = ''
;(async () => {
for await (const line of rl) {
@@ -33,29 +33,24 @@ let caption = ''
}
continue
}
- if (line.startsWith('![]')) {
- const res = line.match(/\(([^)]+)\)/)
- if (res) {
- figure = res[1].replace('/jb2', '..')
- continue
- }
- }
- if (figure) {
- if (line.trim() !== '') {
- caption += `${line} `
- continue
- } else {
- console.log(`![${caption}](${figure})\n\n`)
- figure = ''
- caption = ''
- continue
- }
+ if (line.startsWith('