This is an mdbook containing onboarding documentation and tutorials for all of UAARG's subteams: Airframe, Electrical, Software, and Operations.
Each subteam has its own folder under src/ (e.g. src/software/), with a
README.md as the subteam's landing page. Add new pages to the relevant folder
and link them in src/SUMMARY.md.
The book is viewable at uaarg.com/guide.
First, of course, clone this repository locally onto your machine.
You will need mdbook
installed. You can follow the mdbook installation
guide to get
started.
Then, I usually run the mdbook serve command from the root of the repository:
$ mdbook serve
2023-09-02 16:06:31 [INFO] (mdbook::book): Book building has started
2023-09-02 16:06:31 [INFO] (mdbook::book): Running the html backend
2023-09-02 16:06:31 [INFO] (mdbook::cmd::serve): Serving on: http://localhost:3000
2023-09-02 16:06:31 [INFO] (mdbook::cmd::watch): Listening for changes...
2023-09-02 16:06:31 [INFO] (warp::server): Server::run; addr=[::1]:3000
2023-09-02 16:06:31 [INFO] (warp::server): listening on http://[::1]:3000The book can then be previewed at localhost:3000.
Whenever a commit lands on the main branch, Github Actions will deploy it to
uaarg.com/guide. This process takes ~30s.
- We run the
.github/workflows/mdbook.ymlaction on each commit tomain - This downloads and runs
mdbookon the latest commit - Then the resulting artifacts are uploaded to github pages
- Github pages already hosts all of the content on uaarg.com
- The resulting HTML (generated by
mdbook) is appended to this site under/guide
- The resulting HTML (generated by