github fuma-nama/fumadocs fumadocs-docgen@2.0.0

latest releases: create-fumadocs-app@15.7.10, fumadocs-typescript@4.0.8, fumadocs-core@15.7.10...
6 months ago

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.

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.