Skip to content

Fix built html saved outside build directory#2948

Open
maciek134 wants to merge 1 commit intorust-lang:masterfrom
maciek134:fix/172-build-artifacts-escape-output-directory
Open

Fix built html saved outside build directory#2948
maciek134 wants to merge 1 commit intorust-lang:masterfrom
maciek134:fix/172-build-artifacts-escape-output-directory

Conversation

@maciek134
Copy link

@maciek134 maciek134 commented Nov 19, 2025

The fix reconstructs the directory tree inside the build path so links still work the same as without this patch.

Fixes #172.

Oh and ofc don't worry about the review, I know the issue wasn't marked as Help Wanted or Feature Accepted, but it was something I needed and wanted to share. I'll keep the PR updated as needed since I'm actively using the patch anyway.

The fix reconstructs the directory tree inside the build path so links
still work the same.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build artifacts can escape the output directory (book)

2 participants