Skip to content
Compare
Choose a tag to compare
@fuma-nama fuma-nama released this 01 Mar 09:10
· 8 commits to dev since this release
6ebeabd

Major Changes

  • 4642a86: Remove typescriptGenerator from fumadocs-docgen

    why: Move dedicated parts to fumadocs-typescript, so all docs generation features for TypeScript can be put together in a single module.

    migrate: Use fumadocs-typescript We made a new remarkAutoTypeTable remark plugin generating the type table but with a different syntax:

    <auto-type-table path="./my-file.ts" name="MyInterface" />

    Instead of:

    ```json doc-gen:typescript
    {
      "file": "./my-file.ts",
      "name": "MyInterface"
    }
    ```
  • 4642a86: Move remarkTypeScriptToJavaScript plugin to fumadocs-docgen/remark-ts2js.

    why: Fix existing problems with oxc-transform.

    migrate:

    Import it like:

    import { remarkTypeScriptToJavaScript } from 'fumadocs-docgen/remark-ts2js';

    instead of importing from fumadocs-docgen.