Skip to content

Commit

Permalink
Fix markdown notebooks (#1687)
Browse files Browse the repository at this point in the history
- Use new published version of web markdown notebooks branch
- Update layout to include panel state
  • Loading branch information
mofojed authored Dec 13, 2021
1 parent b030989 commit e690128
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ while [ -n "$dir" ]; do
docker rmi us-central1-docker.pkg.dev/deephaven-oss/deephaven/grpc-api:0.5.0 &>/dev/null
docker rmi us-central1-docker.pkg.dev/deephaven-oss/deephaven/web:0.5.0 &>/dev/null

export WEB_VERSION=${WEB_VERSION:-0.6.1-markdownnotebooks.4}
export WEB_VERSION=${WEB_VERSION:-0.6.1-markdownnotebooks.6}
"$dir/gradlew" quarkusBuild pushAll \
-i \
-PdockerPath=deephaven-oss/deephaven \
Expand Down
10 changes: 7 additions & 3 deletions demo/web/src/main/layouts/layout-introduction.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,13 @@
"type": "react-component",
"component": "MarkdownNotebookPanel",
"props": {
"metadata": {
"id": "/00 The Deephaven IDE.md",
"itemName": "/00 The Deephaven IDE.md"
"metadata": { "id": "oZPNXW1jJ" },
"panelState": {
"settings": { "value": null, "language": "python" },
"fileMetadata": {
"id": "/00 The Deephaven IDE.md",
"itemName": "/00 The Deephaven IDE.md"
}
}
},
"title": "00 The Deephaven IDE.md",
Expand Down

0 comments on commit e690128

Please sign in to comment.