rust-pip icon indicating copy to clipboard operation
rust-pip copied to clipboard

Create documentation template using mdbook

Open zephaniahong opened this issue 2 years ago • 6 comments

Created a general template for future API documentation, tutorials, etc...

zephaniahong avatar Aug 21 '22 10:08 zephaniahong

I have an important thing at work tomorrow and a few job interviews on Tue. So I'm probably gonna check this out on Wed, sorry for delay. Also you can add a GitHub actions ci job in the same PR if you want

John15321 avatar Aug 21 '22 10:08 John15321

No worries! All the best(: Could I clarify what the CI job would/should do? Are you referring to something like this: https://github.com/marketplace/actions/mdbook-action#getting-started?

zephaniahong avatar Aug 21 '22 10:08 zephaniahong

No worries! All the best(: Could I clarify what the CI job would/should do? Are you referring to something like this: https://github.com/marketplace/actions/mdbook-action#getting-started?

I'm talking about creating a GitHub Actions CI job that triggers when someone pushes to develop and hosts the mdbook using GitHub io

John15321 avatar Aug 21 '22 10:08 John15321

Quick suggestion: you should probably add guide/book to the gitignore, since you don't want to push all the built artifacts to version control every time.

dawnofmidnight avatar Sep 04 '22 16:09 dawnofmidnight

Quick suggestion: you should probably add guide/book to the gitignore, since you don't want to push all the built artifacts to version control every time.

Hey @dawnofmidnight! Correct me if I'm wrong but won't that mean no one else would have a copy of the book?

zephaniahong avatar Sep 05 '22 02:09 zephaniahong

Quick suggestion: you should probably add guide/book to the gitignore, since you don't want to push all the built artifacts to version control every time.

Hey @dawnofmidnight! Correct me if I'm wrong but won't that mean no one else would have a copy of the book?

The typical workflow for mdbook is for your to only commit the source (markdown) files to git. People should build their own html version locally.

dawnofmidnight avatar Sep 05 '22 11:09 dawnofmidnight