Files
iroh/.github/workflows
Philipp Krüger 081233357d ci: Generate docs for each PR (#2547)
## Description

<!-- A summary of what this pull request achieves and a rough list of
changes. -->

Added a `docs.yaml` workflow that makes the github action bot reply to
PRs with a link to built docs to your PRs.
It only does so once, and then just updates the comment (although
actually it doesn't necessarily need to, the link is always the same,
but it's still nice in case someone changes the workflow).

This is using the nightly toolchain, because we're using
[`#[feature(doc_cfg)]`](https://doc.rust-lang.org/unstable-book/language-features/doc-cfg.html).

## Motivation

I personally wanted this. Every now and then we get a PR with the
description saying "the best way to review this is to start by looking
at the generated docs". But then I need to checkout the PR, build the
docs and open them. Having a link directly to the docs would be
*amazing* IMO.

I *also* think that having easy access to docs on every PR will make
people check out the rendered docs on PRs more often. My hope here is
that doc quality will thus improve.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

None of course. This is only CI.

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

Wdyt?

## Change checklist

- [x] Self-review.
- ~~[ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- ~~[ ] Tests if relevant.~~
- ~~[ ] All breaking changes documented.~~
2024-07-26 13:09:18 +00:00
..
2024-07-22 20:26:50 +00:00
2024-07-22 20:26:50 +00:00