@myst-theme/common 0.18.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils.js +2 -2
- package/package.json +1 -1
package/dist/utils.js
CHANGED
|
@@ -94,9 +94,9 @@ function updateMdastStaticLinksInplace(mdast, updateUrl) {
|
|
|
94
94
|
});
|
|
95
95
|
const outputs = selectAll('output', mdast);
|
|
96
96
|
outputs.forEach((node) => {
|
|
97
|
-
if (!node.
|
|
97
|
+
if (!node.jupyter_data)
|
|
98
98
|
return;
|
|
99
|
-
walkOutputs(node.
|
|
99
|
+
walkOutputs([node.jupyter_data], (obj) => {
|
|
100
100
|
// The path will be defined from output of myst
|
|
101
101
|
// Here we are re-assigning it to the current domain
|
|
102
102
|
if (!obj.path)
|