Skip to content

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

Closed
@krisztianb

Description

@krisztianb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions