Skip to content

Commit

Permalink
📥 Prefer frontmatter downloads over exports (#351)
Browse files Browse the repository at this point in the history
* 📥 Prefer frontmatter downloads over exports

* 📥 Consume additional properties of downloads

* 📥 Filename is now optional on HasExports

* 🗄added download behaviours for static, internal and external links in article-theme

* 🔧 Update static vs. filename usage

* 🔧 Do a better job with types from myst-config

* 🔧 Align downloads dropdown with article theme downloads

* 📥 Use triggerDirectDownload in article theme and fix types

* 📦 Update myst dependencies

* 🍿 Changesets

* 🔑 added missing key prop

* ⃝ no-op

---------

Co-authored-by: stevejpurves <[email protected]>
  • Loading branch information
fwkoch and stevejpurves authored Apr 5, 2024
1 parent ef36c69 commit bb0f4b2
Show file tree
Hide file tree
Showing 17 changed files with 281 additions and 143 deletions.
8 changes: 8 additions & 0 deletions .changeset/dirty-rabbits-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@myst-theme/frontmatter': patch
'@myst-theme/common': patch
'@myst-theme/article': patch
'@myst-theme/book': patch
---

Add downloads to supersede exports
13 changes: 13 additions & 0 deletions .changeset/metal-vans-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'myst-to-react': patch
'@myst-theme/frontmatter': patch
'myst-demo': patch
'@myst-theme/providers': patch
'@myst-theme/jupyter': patch
'@myst-theme/common': patch
'@myst-theme/article': patch
'@myst-theme/site': patch
'@myst-theme/book': patch
---

Update myst versions
170 changes: 85 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"build": "npm-run-all -l clean -p build:esm"
},
"dependencies": {
"myst-common": "^1.1.31",
"myst-config": "^1.1.31",
"myst-spec-ext": "^1.1.31",
"myst-common": "^1.1.34",
"myst-config": "^1.1.34",
"myst-spec-ext": "^1.1.34",
"nbtx": "^0.2.3",
"unist-util-select": "^4.0.3"
}
Expand Down
Loading

0 comments on commit bb0f4b2

Please sign in to comment.