gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source
https://gno.land/
Other
841 stars 342 forks source link

docs: update assets #2436

Open leohhhn opened 6 days ago

leohhhn commented 6 days ago

Description

This PR updates outdated images & gifs in the documentation; each gif can now be generated using the VHS tool - I've written tapes for all gifs that we have. It also updates the folder structure of the assets dir to match the current state of the docs.

Docs preview: https://www.loom.com/share/bc45e56c58a741c8bb2109be8947aa66?sid=5a1b73ff-cc5a-49ef-a4cc-7af01e765181

Further down the line we can see if there is a way to check if gifs are outdated and automatically update them.

Closes: #2392

Contributors' checklist... - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [x] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
leohhhn commented 2 hours ago

There's an issue with this PR; the size of the gifs & the commits will make the repo size very large. Not sure what the right way to go forward with this is.

One way we can go about this is that we can have a script that will run before deployment on the docs.gno.land repo, which will generate the gifs for the prod version. So, we would only keep the .tape files.

Unrelated but still an issue; gnokey export & gnokey import do not work to be generated with VHS for some reason, regarding the password inputs. Trying to figure out a workaround.