Conversation
These trigger the link checker on the docsite Signed-off-by: Gerwin Klein <[email protected]>
|
I also get a link check failure for the rustdoc reference to |
Ah. The issue here is that the root task part of the tutorial uses the non-MCS kernel, but I failed to consider this when opting to use the following shortcut for the build of the tutorial within the docsite's build system. The shortcut is that I just pointed rustdoc to the seL4 headers that ship with Microkit even for the root task docs. I see three ways forward:
|
I don't think we should change the content because of website presentation. It makes sense to start with the simpler API.
How is the current rustdoc generated? (for the MCS version) Does that also need a kernel build?
Hm, difficult. I think we should move the tutorial over to the seL4 org in any case, but pointing to Could we point to the "real" rust doc of the released version instead? Or would that be hard to do/likely to break over time? We could also remove just that one reference to avoid the problem. |
Generating rustdoc for the seL4 crates has the same requirement from the environment that building them has, and that requirement is seL4 headers. For the Microkit/MCS side, that requirement is easier to satisfy because we can just download the Micorkit SDK binary distribution.
The downside of this approach is that the API the tutorial is based on and the HEAD API could be out of sync between when the rust-sel4 HEAD API is modified, before the tutorial is updated. But perhaps that's a tradeoff we're willing to make.
This approach would mean pointing to the MCS API docs for the non-MCS part of the tutorial. To me, this would feel like another case of changing the content because of website presentation. One decent solution that we haven't discussed yet would be pointing rustdoc links in the sel4.systems build not to |
I've implemented this solution in lsf37/docs#2 |
These trigger the link checker on the docsite