Skip to content

Conversation

@wpazderski
Copy link
Contributor

Assets were copied into a wrong directory if TypeDoc was configured with 'outputs' option instead of 'out'. See: TypeStrong/typedoc#2996 (comment)

Assets were copied into a wrong directory if TypeDoc was configured with 'outputs' option instead of 'out'. See: TypeStrong/typedoc#2996 (comment)
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where assets were being copied to an incorrect directory when TypeDoc is configured with the 'outputs' option instead of 'out'. The fix ensures assets are copied to the correct output directory by using the event's outputDirectory property instead of directly accessing the application options.

  • Updated the RendererEvent.END handler to use the event parameter for accessing the output directory
  • Replaced direct access to application options with the event's outputDirectory property

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JulianWowra JulianWowra added the bug Something isn't working label Aug 22, 2025
Copy link
Owner

@JulianWowra JulianWowra left a comment

Choose a reason for hiding this comment

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

LGTM

@JulianWowra JulianWowra merged commit 80b2120 into JulianWowra:main Aug 22, 2025
2 checks passed
@JulianWowra
Copy link
Owner

Thank you for your cooperation on this project 🎉♥️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants