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

Automatically generate HTML assets in the output directory to simplify the configuration #390

Merged
merged 5 commits into from
Dec 30, 2024

Conversation

gcrabbe
Copy link

@gcrabbe gcrabbe commented Dec 18, 2024

Register a callback for automatically copying local Javascript resources to the output _static directory in order to simplify the configuration.

Inspired by the Sphinx tutorial.

Generate hyperlink_colors.css directly in the output _static directory instead of mlx/traceability/assets first. Adding files to the package was a bad idea as pip uninstall mlx.traceability doesn't clean it up and it can cause permission errors.

@JasperCraeghs JasperCraeghs changed the title Register local Javascript for automatic copying Automatically generate HTML assets in the output directory to simplify the configuration Dec 30, 2024
@JasperCraeghs JasperCraeghs assigned Letme and unassigned JasperCraeghs Dec 30, 2024
Copy link
Member

@JasperCraeghs JasperCraeghs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this contribution! I hadn't thought of it.

@Letme Letme merged commit 2f35b45 into melexis:master Dec 30, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants