-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixing CI for pluto tutorials #174
Conversation
Codecov Report
@@ Coverage Diff @@
## master #174 +/- ##
==========================================
+ Coverage 86.01% 86.27% +0.26%
==========================================
Files 15 15
Lines 1323 1319 -4
==========================================
Hits 1138 1138
+ Misses 185 181 -4
Continue to review full report at Codecov.
|
@CarloLucibello In dataset = let
ENV["DATADEPS_ALWAYS_ACCEPT"] = "true"
TUDataset("MUTAG")
end without that, the build fails locally here so probably also in CI |
PackageSpec(; name="PlutoUI"), | ||
] | ||
Pkg.add(packages) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rikhuijzer a problem with this is that I get a very long terminal output in the notebook that I don't know how to suppress
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe I just add all those packages to docs/Project.toml
and activate that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Pluto you mean right? In the few latest versions you can disable console output per cell. Select it at the top right of the cell. It remembers your choice also between runs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if you want to hide the code for a cell, use # hideall
like in Documenter and Franklin:
# hideall
x = 1
will show only the output block containing 1. To hide code and output, use # hideall
together with the semicolon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens with the visibility toggle in Pluto frontend? Isn't the visibility state stored in the cell metadata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep nowadays it is. I have to implement reading that still. Added it to my task list a few minutes ago (rikhuijzer/PlutoStaticHTML.jl#119)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the visibility state stored in the cell metadata?
I've tested this now but apparently not no in 0.19.5
7ea4b63
to
a70b160
Compare
hurrah! |
🥳 Looks like it works. Can I add |
No description provided.