Skip to content

Releases: fuma-nama/fumadocs

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Major Changes

  • a84f37a: Migrate to Tailwind CSS v4

    migrate:

    Follow https://tailwindcss.com/blog/tailwindcss-v4 for official migrate guide of Tailwind CSS v4.

    Fumadocs UI v15 redesigned the Tailwind CSS config to fully adhere the new config style, no JavaScript and options needed for plugins.
    Add the following to your CSS file:

    @import 'tailwindcss';
    @import 'fumadocs-ui/css/neutral.css';
    @import 'fumadocs-ui/css/preset.css';
    /* if you have Twoslash enabled */
    @import 'fumadocs-twoslash/twoslash.css';
    
    @source '../node_modules/fumadocs-ui/dist/**/*.js';
    /* if you have OpenAPI enabled */
    @source '../node_modules/fumadocs-openapi/dist/**/*.js';

    The fumadocs-ui/css/preset.css import is required, it declares necessary plugins & styles for Fumadocs UI, and fumadocs-ui/css/neutral.css defines the color palette of UI.

    Like the previous preset option in Tailwind CSS plugin, you can import other color presets like fumadocs-ui/css/vitepress.css.

    You should also pay attention to @source, the file paths are relative to the CSS file itself. For your project, it might not be ../node_modules/fumadocs-ui/dist/**/*.js.

Patch Changes

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Major Changes

  • a89d6e0: Require Fumadocs v15 & Tailwind CSS v4

Patch Changes

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Minor Changes

  • 471478b: Support useScalar option

Patch Changes

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Patch Changes

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Minor Changes

  • 581f4a5: Support code block tabs without hardcoding <Tabs /> items

    migrate: Use the remarkCodeTab plugin.

    before:

    import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
    
    <Tabs items={["Tab 1", "Tab 2"]}>
    
    ```ts tab
    console.log('A');
    ```
    
    ```ts tab
    console.log('B');
    ```
    
    </Tabs>

    after:

    import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
    
    ```ts tab="Tab 1"
    console.log('A');
    ```
    
    ```ts tab="Tab 2"
    console.log('B');
    ```

Patch Changes

  • 5b8cca8: Fix remarkAdmonition missing some types from Docusaurus
  • a763058: Support reversed rest items in meta.json

[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Patch Changes

@fumadocs/[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Patch Changes

@fumadocs/[email protected]

29 Jan 14:31
43527c0
Compare
Choose a tag to compare

Patch Changes

[email protected]

21 Jan 11:16
8f00bb7
Compare
Choose a tag to compare

Patch Changes

  • 4f2538a: Support children prop in custom Folder component
  • 191012a: DocsCategory search based on file path when item isn't present in the tree
  • fb6b168: No longer rely on search context on search dialog

[email protected]

21 Jan 11:16
8f00bb7
Compare
Choose a tag to compare

Patch Changes