Skip to content

Support more file extensions (.gts,.svelte,.vue,etc) #3134

Description

@gossi

Hello,

I'm developing in Ember. Ember (as many other frameworks) do use a custom js-dialect and I wrote a typedoc plugin to parse ember files. I also did wrote an ember-docgen package that uses typedoc under the hood. Now I'm using both to make ember work with storybook.

Problem

In order to support custom extensions, one must "hack" into typescript to allow for other extensions and append .ts to the filename, so it works with typedoc.

Here are my projects:

Running an own typescript instance is quite error prone.

Suggested Solution

I'd prefer an option to typedoc to allow for more extensions, too. As plugins can provide parser to it, in the same breath they should be able to add the supported extension, too. So end users only need to add the plugin and are covered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions