-
Notifications
You must be signed in to change notification settings - Fork 54
docs: embedd asciinema casts #1154
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
Conversation
✅ Deploy Preview for constellation-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Perfect, this is exactly what I had in mind initially when scripting the asciinema recordings:-)
Makes it easy to manage any additions/changes and keep everything consistent with our docs.
For YT we can do longer "webinars" that we record with OBS.
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.
I like it this way, too!
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.
Mostly looks good to me, but I'm not very experienced with some of the technologies used in this PR ;)
There could be a bit more space between the widget and the text below. It looks good when inserting a <br/>
, but I'm quite sure this isn't the correct way to do it :D
Same here 😆 so getting a 👍 already helps. Thanks! I checked with @flxflx , and the goal should be to get this to "good enough" until someone with more CSS/design experience can do a second pass! There are probably ways to get this done cleaner, but I am mostly confident that this should be stable and flexible enough for what we use it for. I added a horizontal line below the screencast and an info box above. I also tried to match the font size more closely to what the docs already have. I will keep the technical part as it is and work on scripting the other workflows in our docs. |
Automated creation of screen recordings for documentation is implemented. I have created / updated the recordings. I think additional recordings should be tackled in their own PR so we can get this one to the finish line. When working on the recordings I noticed the following points, I will clarify with the CC'd folks:
|
Awesome! I will rebase to include the changes 🙂
I should have been more specific. I was thrown off by: "You can terminate your cluster using the CLI. For this, you need the Terraform state file named terraform.tfstate in the current directory." in terminate docs. |
I addressed that in #1212 - let me know if this is the change you expected. I wasn't entirely sure as I didn't write that part of the docs nor was involved with the termination command. |
Ready for final review: please see updated PR description. |
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.
I verified locally on my machine, and everything worked fine!
This is awesome! Once, we have 2.6 without the spinner version, I'll rerun the current set of casts
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
…cript. Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
30f214b
to
ea8a9e9
Compare
Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>
Co-authored-by: 3u13r <lc@edgeless.systems>
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.
Nice! Pls publish docs to 2.6 and then it should be ready to merge.
docs/static/assets/delete-iam.cast
Outdated
@@ -0,0 +1,138 @@ | |||
{"version": 2, "width": 0, "height": 0, "timestamp": 1678455337, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} |
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.
delete file
Signed-off-by: Fabian Kammel fk@edgeless.systems
Proposed change(s)
termtosvg
to convert a.cast
file tosvg
to display in GitHub README.md, since it does not support JavaScript.Open Questions
With this solution, are mp4 renderings of the screencast still necessary? For example to upload them to YouTube?Should the user rungenerate-screencasts.sh
or should the pipeline do this? I lean to the former, since the output needs to be inspected and docs preview is currently broken.Additional info
Checklist