Skip to content
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

Add Documentation to Github Page #63

Merged
merged 16 commits into from
Jun 13, 2024

Conversation

valefar-on-discord
Copy link
Collaborator

Utilizing mdBook to generate documentation on how to setup and run the CLI.

This is maintained through git actions where when main is updated, it will push the changes to a gh-pages branch that will then deploy to the repo's github page.

Setting up the github page settings will be required once this is considered good to go.

Any feedback on the content of the documentation is welcome and the current version can be viewed here

Fixes #39

Copy link
Member

@remyroy remyroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor stuff came up. I know a bunch of things are not uniformed across the various places where we document this project (the click CLI help, the README, the code comments, this new documentation, etc) The work to make everything uniform could happen here or in another PR but that is something to keep in mind. Let me know what you think.

docs/src/existing_mnemonic.md Outdated Show resolved Hide resolved
docs/src/existing_mnemonic.md Outdated Show resolved Hide resolved
docs/src/generate_bls_to_execution_change.md Outdated Show resolved Hide resolved
docs/src/landing.md Outdated Show resolved Hide resolved
docs/src/landing.md Outdated Show resolved Hide resolved

- **Use this tool offline**: We highly recommend using this tool in an offline environment, preferably air-gapped, using a live USB such as [Tails](https://tails.net/install/download/index.en.html).

- **Avoid using passwords or mnemonics as command line arguments**: When executing any command, you will be prompted for the necessary arguments. This prevents the arguments from being stored in your command history which could create an attack vector.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed you mention avoiding some CLI arguments here related to security. Even if we mention it here, it should also be mentioned immedialy next to actual arguments in each command page (inline or maybe with an mdBook warning section)

docs/src/local_development.md Outdated Show resolved Hide resolved
docs/src/local_development.md Show resolved Hide resolved
docs/src/new_mnemonic.md Outdated Show resolved Hide resolved
@remyroy
Copy link
Member

remyroy commented Jun 12, 2024

Once you are done with the changes, can you rebuild the mdBook and have it published in the same location or somewhere else for me to see? I'm checking again on https://valefar-on-discord.github.io/ethstaker-deposit-cli/ and it's the original PR without your changes.

@valefar-on-discord
Copy link
Collaborator Author

valefar-on-discord commented Jun 13, 2024

I believe I updated everything. There is a lot going on here so go easy on me if I missed something.

I did update the current version: https://valefar-on-discord.github.io/ethstaker-deposit-cli/

Edit: I've noticed a styling discrepancy between local and live involving the warning messaging. I'll need to investigate this.

@valefar-on-discord
Copy link
Collaborator Author

Noticed a version difference with 0.4.10(action) and 0.4.40(running locally)
and then noticed this commit:
rust-lang/mdBook@65dae11

Updating from 0.4.10 to 0.4.40 fixed the styling issue and docs look aligned now.

Copy link
Member

@remyroy remyroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is good. Thanks again. This is going to be a great document for users.

@remyroy remyroy merged commit 3fef8a3 into eth-educators:main Jun 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve documentation readability
2 participants