test docs #1046

Open
opened 2025-11-22 21:16:28 +00:00 by helle · 1 comment
Member

we have code in documentation, this code probably should be pulled through some amount of automated testing to see if it still makes sense

mdbook does this for Rust code, but we can probably make something that does this for nix code as there is a need to overhaul our entire doc building system anyway

we have code in documentation, this code probably should be pulled through some amount of automated testing to see if it still makes sense mdbook does this for Rust code, but we can probably make something that does this for nix code as there is a need to overhaul our entire doc building system anyway
helle added this to the Docs rewrite project 2025-11-22 21:17:53 +00:00
Author
Member

quoting pennae from #1045 for reasons why we need it:

this would be especially useful to show inconsistencies of documentation and code (as seen in cl/4619, where the documented signature was wrong. we would not have found that, but the example would have made it much more obvious during review.

quoting pennae from #1045 for reasons why we need it: > this would be especially useful to show inconsistencies of documentation and code (as seen in cl/4619, where the documented signature was wrong. we would not have found that, but the example would have made it much more obvious during review.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1046
No description provided.