Split platform manuals#2388
Conversation
|
remaining changes look ok to me but there's a bunch of rebase conflicts. |
jyn514
left a comment
There was a problem hiding this comment.
@plaindocs you need to run cargo insta review --manifest-path src/bootstrap/Cargo.toml; see https://ops-handbook.ferrocene.dev/pr-rotation/upstream-pull-basic-checks.html.
can you confirm that x doc ferrocene/doc --exclude ferrocene/doc/rhivos-manual works and does what you expect?
about the index: since Sphinx allows python extensions, you should be able to add conditional logic here. i haven't looked at the code in detail but you can search for .py files in ferrocene/doc and that should give you an idea. let me know if you need more guidance or get stuck.
|
@jyn514 makes sense. Will check The main doc index is https://github.com/ferrocene/ferrocene/tree/main/ferrocene/doc/index which is just html, so doesn't support sphinx conditionals. |
|
@jyn514 I don't think ➜ ./x doc ferrocene/doc --exclude ferrocene/doc/rhivos-manual
...
Building Ferrocene documentation index (aarch64-apple-darwin)
Skipping Set({doc::ferrocene/doc/rhivos-manual}) because it is excluded
Build completed successfully in 0:01:14
ferrocene on split-targets via v26.0.0 via 🐍 v3.14.5 via 🦀 v1.96.1 took 1m14s
➜ ls build/aarch64-apple-darwin/doc/targets/rhivos-manual
_sources document-id.txt objects.inv rustc search.html signature
_static index.html overview.html scope.html searchindex.js targetsMy understanding is I need to use the 'source' doc in exclude? I'm also not sure if building with |
|
@plaindocs it's being pull in recursively by DocumentList:
ok. i would suggest doing something like this:
|
jyn514
left a comment
There was a problem hiding this comment.
this looks ok for now. i've tested that x doc ferrocene/doc/index and x ferrocene/doc/qnx8 both work. we're planning to build the QNX8 docs separately as a one-off for 26.08, and worry about the long-term fix later.
the one thing i'm not sure about is whether test outcomes are going to render properly. i'm a little hesitant to merge this until we know, although i guess we can always just merge to main without backporting to 26.08. yeah ok, let's do that.
bors merge
| targets: [aarch64-unknown-linux-gnu] | ||
| - Set({doc::ferrocene/doc/qnx7-manual}) | ||
| [Doc] bootstrap::ferrocene::doc::QNX8Manual | ||
| targets: [aarch64-unknown-linux-gnu] | ||
| - Set({doc::ferrocene/doc/qnx8-manual}) | ||
| [Doc] bootstrap::ferrocene::doc::RHIVOSManual | ||
| targets: [aarch64-unknown-linux-gnu] | ||
| - Set({doc::ferrocene/doc/rhivos-manual}) |
There was a problem hiding this comment.
noting explicitly that the new target docs are built by default, so they should automatically end up in the release tarball.
|
bors cancel squashing... |
|
Canceled. |
4533b93 to
0fae87e
Compare
We now have manuals for these separated - RHIVOS - QNX7 - QNX8 This commit was authored by Sam Wright. I only did some git wrangling to clean the history. Co-authored-by: Tshepang Mbambo <[email protected]>
|
🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
|
Build succeeded:
|
2487: Backport to `release/1.97` r=tshepang a=ferrocene-automations[bot] This PR backports the following PRs to the `release/1.97` branch: * #2429 * #2433 * #2388 * #2475 Note that the automation failed to backport some PRs automatically. Check out the [backport:manual](https://github.com/ferrocene/ferrocene/pulls?q=is%3Apr+label%3Abackport%3Amanual) for a list of them. Co-authored-by: Urhengulas <[email protected]> Co-authored-by: Tshepang Mbambo <[email protected]> Co-authored-by: Felix Gilcher <[email protected]>
2470: sphinx/test-outcomes: make test target mandatory r=Urhengulas a=japaric see commit message for rationale. also check the qualification report target pages in tidy 2476: No RHIVOS in main safety man r=Urhengulas a=Hoverbear #2388 touched this so we touch it again. RHIVOS should be in the safety manual for RHIVOS, not main one. Co-authored-by: Jorge Aparicio <[email protected]> Co-authored-by: Ana Hobden <[email protected]>
2363: Annotations recurse into child items r=Urhengulas a=jyn514 This is useful when trying out new crates for a contract, and will also be useful for the upcoming work to add a `cfg(not(subset))` cargo fix lint. 2476: No RHIVOS in main safety man r=Urhengulas a=Hoverbear #2388 touched this so we touch it again. RHIVOS should be in the safety manual for RHIVOS, not main one. Co-authored-by: jyn <[email protected]> Co-authored-by: Johann Hemmann <[email protected]> Co-authored-by: Ana Hobden <[email protected]>
2476: No RHIVOS in main safety man r=Urhengulas a=Hoverbear #2388 touched this so we touch it again. RHIVOS should be in the safety manual for RHIVOS, not main one. Co-authored-by: Ana Hobden <[email protected]>


This PR splits out the following docs from safety manual, user manual and qualification docs:
Into a single manual per target that contains the relevant content from the 3 documents. I've made the minimal changes required for those to make sense.
Still to do:
Review: