-
Notifications
You must be signed in to change notification settings - Fork 358
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
Guide refactoring and new tutorials #2579
Conversation
I think the PR is ready for review. You might find some typos even though I used a tool to automatically correct small mistakes and to fix broken links. I feel like there might be room for improvements in :
It is also important to note that I could not try the Production tutorial (section 3.4) as it involves production chains and real coins. |
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.
The diagrams you added look awesome! Thanks so much for adding those Ali 🙂
A bit of an aside, but I learned recently that you can create anchors in your code and then include them in mdbook (it doesn't even require plugins or anything extra). This way, we could present config files and code snippets using actual files that live in the guide/
directory and probably hook them up with a CI job that validates the configs/snippets so that they'll at least always remain valid in the guide.
|
||
- In a new terminal, run `hermes start &> hermes.log`. | ||
|
||
If the command runs successfully, you should be able to see the metrics panels displaying data on the Grafana Dashboard and you should also be able to see the logs on the `Logs` panel at the top of the dashboard. You can also explore them on the `explore` page. |
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.
Would it be possible to add images of the dashboard so that readers can get a better understanding of this?
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.
It is possible but I can't run the tutorial with Cosmoshub and Osmosis as I would need tokens from both chains. If I run it locally, it will display every metrics with a label chain=ibc-0
and chain=ibc-1
instead of cosmoshub-4
and osmosis-1
.
Thank you for catching these mistakes and for your suggestion. I think we could also use mdbook-template to create only a single file / command. I am in the process of integrating |
@seanchen1991 I am currently using mdbook-template to replace most commands by templates. We could use a script to automatically generate those templates from the actual commands but I think it would belong to another PR. |
I didn't know about mdbook-templates; it seems like it will make keeping the guide in sync with the code base somewhat easier 🙂 |
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.
The guide looks to be a lot more fleshed out! The organization and flow of it also makes a lot more sense 🙂
I especially like the new sections that demonstrate the wrong way to do something for educational purposes. Thank you so much for putting in such a huge amount of work on this ❤️
I'll make a new issue with further polishing tasks such as further integration with mdbook-template, as well as adding images of Grafana templates and things like that. I think we can merge in these changes as-is 🙂
Co-authored-by: Sean Chen <[email protected]>
Thank you so much for this message and thank you for helping me a lot through this task ❤️.
I already started to manually add template files. I can finish it by tomorrow (or tonight if I am fast). We can add a script to automatically generate the template files from the commands in another PR. |
…s into ali/refactor_guide
I used templates in the tutorials but using templates in the |
* Modified the file structure + SUMMARY.md + Intro * rename grafana template + move feature matrix * populating section troubleshooting * rename quick_start to quick-start, add manifest-path to alias, new subsection * more renaming * draft description for every section page * fix typo * more reorganization * fix issues * add new commands * wrap up the first tutorial * topology defined * progress on the more-chain tutorial * chart update * progress on the second tutorial * more progress on tutorial 2 * finished 2nd tutorial (might need debugging) * fix packet filters * whatever blocs me from switching branches * add docker image, prometheus config and grafana template updated * tools description * fix grafana template * progress + fixed typos * almost done * more progress * more progress * end of the production tutorial * correct many typos * more fixed typos + additional pages * fixed tutorial * fix current version * removal of identifiers section * fix typo * add next steps to most pages + ## Sections to supersections * finished concurrent tutorial * new note * finished intro page * small improvements + removal of help session in the commit before this one * fix grafana instructions + update grafana template * more typos fixed * fix broken links * tons of broken links fixed * even more broken links * every broken link * fix a lot of typos * fix more things * doc update * Fix link that didn't render in README * Proofread pass over tutorials * mdbook-template exampleé * version with mdbook-template * templates up to 3.2.1 * modify create channel new client command * fix broken link * Suggested review Co-authored-by: Sean Chen <[email protected]> * first tutorial using mdbook * templates up to 3.3.2 * templates up to 3.3.4 * every tutorial with templates * hardcode versions in dockerfile * github action for mdbook-template Co-authored-by: Sean Chen <[email protected]>
Closes: #2578 and #2474
Status
Ready for review.
You might find some typos.
I feel like there might be room for improvements in :
Configuration
section (5.1). We can build a table with every parameter and their description but it will have to be maintained up to date.Relaying
(5.4.5) is very useful and would deserve more visibility. Perhaps we could split this section.account_sequence_mismatch
anywhere in the guide.IMPORTANT: I could not try the Production tutorial (section 3.4) as it involves production chains and real coins.
Description
This PR reorganizes the guide, adds new tutorials and adds a Grafana template.
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.