You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(site): refresh IR typed-helper docs to builder-struct API #1192
The published site IR docs still document the old free-function task-helper API, which no longer exists in the code. After the typed-task refactor, helpers moved from src/compile/ir/tasks.rs (a single file of free functions like copy_files_step(), nuget_command_step()) to builder structs under src/compile/ir/tasks/ (one file per task, e.g. CopyFiles::new(..).into_step()).
The following site docs are stale and reference the removed API and the deleted tasks.rs file:
site/src/content/docs/guides/extending.mdx — "The full set of typed helpers lives in src/compile/ir/tasks.rs" + free-function example.
Update both .mdx files to describe the builder-struct API (Task::new(<required>) + typed chained setters + .into_step()), per the convention in src/compile/ir/tasks/mod.rs.
Replace the free-function helper table with the current builder structs, and refresh the example.
Fix references to src/compile/ir/tasks.rs -> src/compile/ir/tasks/ (directory, one file per task).
Activity