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

Stylesheet file is not available for plugins when event Renderer.EVENT_END is fired by TypeDoc #2643

Closed
krisztianb opened this issue Jul 18, 2024 · 0 comments
Labels
bug Functionality does not match expectation

Comments

@krisztianb
Copy link
Contributor

krisztianb commented Jul 18, 2024

Search terms

renderer stylesheet style.css EVENT_END plugin

Expected Behavior

The file style.css in the assets folder of the generated documentation should be available when the renderer fires the Renderer.EVENT_END event. This used to be the case in TypeDoc before version 0.26

Actual Behavior

The file style.css is not yet available in the assets folder when the plugin receives the Renderer.EVENT_END event from TypeDoc.

We discussed this on Discord here: https://discord.com/channels/508357248330760243/829307039447515176/1262748833100730398

Steps to reproduce the bug

My plugin fails at this line when TypeDoc is run. So you could checkout this branch and run the tests using:

  • npm run build
  • npm test

Environment

  • Typedoc version: 0.26.4
  • TypeScript version: 5.5.3
  • Node.js version: 20.14.10
  • OS: Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

1 participant