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

Create project documentation in markdown using mdbook #30

Open
John15321 opened this issue Aug 15, 2022 · 4 comments · May be fixed by #48
Open

Create project documentation in markdown using mdbook #30

John15321 opened this issue Aug 15, 2022 · 4 comments · May be fixed by #48
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@John15321
Copy link
Collaborator

mdBook is a template for creating documentation in markdown. It is mainly used for rust projects, but the template just like markdown itself is language agnostic, it's just a markup language. Start creating documentation for the project using it (in the future it would be accessible by github.io
https://github.com/rust-lang/mdBook

@John15321 John15321 added documentation Improvements or additions to documentation help wanted Extra attention is needed good first issue Good for newcomers labels Aug 15, 2022
@John15321 John15321 changed the title Create project documentation in markdown using mdbook Create project documentation in markdown using mdbook Aug 15, 2022
@zephaniahong
Copy link

zephaniahong commented Aug 19, 2022

@John15321 Hey John! Just want to clarify the difference between this and and writing comments in the code and running cargo doc

Also, do I just create the general structure first or is there already information you would like to be inside?

Thanks!

@John15321
Copy link
Collaborator Author

@John15321 Hey John! Just want to clarify the difference between this and and writing comments in the code and running cargo doc

Also, do I just create the general structure first or is there already information you would like to be inside?

Thanks!

https://youtu.be/tXWscUSYdBs

You can watch the first 17 minutes to get a better understanding.

In short the documentation generated by cargo doc is a so called API documentation or reference documentation or whatever people like to call it. It's minimalistic and purely based on the source code. On the other hand the one by mdbook is meant to be more abstract and fully carted to a human reader. It should perform the role of a usage guide, a guide in general, etc

You can look at the cargo-generate project to get a feel

@zephaniahong
Copy link

I'll work on this! Will get it done by this week.

@John15321
Copy link
Collaborator Author

I'll work on this! Will get it done by this week.

Thanks. No rush, its not a race. Noone is trying to chase us with their own rewrite of pip in Rust, the point is to do this right not fast ;)

@zephaniahong zephaniahong self-assigned this Aug 21, 2022
@zephaniahong zephaniahong linked a pull request Aug 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants