Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix _static folder required during release builds #204

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Jan 15, 2025

Streamlined static file provider logic for clarity and flexibility, especially in debug scenarios. Enhanced link parsing to emit warnings for missing URLs and improve error handling for file paths. Added new tests to validate behavior of relative image links.

Before this PR a _static folder was required in RELEASE builds in documentation folders.

This removes our _static folder and moves the files closer to their usage.

This also fixes an issue where relative image links did not resolve correctly and were emitting empty src attributes.

Streamlined static file provider logic for clarity and flexibility, especially in debug scenarios. Enhanced link parsing to emit warnings for missing URLs and improve error handling for file paths. Added new tests to validate behavior of relative image links.

Before this PR a `_static` folder was required in `RELEASE` builds in documentation folders.

This removes our `_static` folder and moves the files closer to their usage.

This also fixes an issue where relative image links did not resolve correctly and were emitting empty src attributes.
@Mpdreamz Mpdreamz requested a review from reakaleek January 15, 2025 09:36
@reakaleek reakaleek added the fix label Jan 15, 2025
@Mpdreamz Mpdreamz merged commit 821de11 into main Jan 15, 2025
4 checks passed
@Mpdreamz Mpdreamz deleted the fix/optional-static-folder branch January 15, 2025 10:00
@reakaleek reakaleek mentioned this pull request Jan 17, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants