diff --git a/fern/docs.yml b/fern/docs.yml index 6104e06..fff543c 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -15,57 +15,17 @@ layout: page-width: full tabs-placement: header -tabs: - home: - display-name: Docs - icon: home - API Reference: - display-name: API Reference - icon: puzzle - -navigation: - - tab: home - layout: - - section: Get started - contents: - - page: Welcome - path: docs/pages/welcome.mdx - icon: fa-duotone fa-house - - page: Edit your docs - path: docs/pages/editing-your-docs.mdx - icon: fa-duotone fa-pen-to-square - - page: Write content - path: docs/pages/writing-content.mdx - icon: fa-duotone fa-file-lines - - page: Set up navigation - path: docs/pages/navigation.mdx - icon: fa-duotone fa-sitemap - - page: Customize your docs - path: docs/pages/customization.mdx - icon: fa-duotone fa-palette - - page: Support - path: docs/pages/support.mdx - icon: fa-duotone fa-headset - - section: Changelog - contents: - - changelog: docs/changelog - - tab: API Reference - layout: - - section: Overview - contents: - - page: API reference - path: docs/pages/api-reference-overview.mdx - icon: fa-duotone fa-book - - api: Plant Store API - layout: - - section: Plants - referenced-packages: - - plant - contents: [] - - section: Users - referenced-packages: - - user - contents: [] +versions: + - display-name: v3 + path: ./versions/v3.yml + availability: stable + - display-name: v2 + path: ./versions/v2.yml + availability: stable + - display-name: v1 (Legacy) + path: ./versions/v1.yml + availability: deprecated + slug: v1 navbar-links: - type: minimal diff --git a/fern/versions/v1.yml b/fern/versions/v1.yml new file mode 100644 index 0000000..ab4b5f3 --- /dev/null +++ b/fern/versions/v1.yml @@ -0,0 +1,19 @@ +tabs: + home: + display-name: Docs + icon: home + +navigation: + - tab: home + layout: + - section: Get started + contents: + - page: Welcome + path: ../docs/pages/welcome.mdx + icon: fa-duotone fa-house + - page: Edit your docs + path: ../docs/pages/editing-your-docs.mdx + icon: fa-duotone fa-pen-to-square + - page: Write content + path: ../docs/pages/writing-content.mdx + icon: fa-duotone fa-file-lines diff --git a/fern/versions/v2.yml b/fern/versions/v2.yml new file mode 100644 index 0000000..bdc8313 --- /dev/null +++ b/fern/versions/v2.yml @@ -0,0 +1,44 @@ +tabs: + home: + display-name: Docs + icon: home + API Reference: + display-name: API Reference + icon: puzzle + +navigation: + - tab: home + layout: + - section: Get started + contents: + - page: Welcome + path: ../docs/pages/welcome.mdx + icon: fa-duotone fa-house + - page: Edit your docs + path: ../docs/pages/editing-your-docs.mdx + icon: fa-duotone fa-pen-to-square + - page: Write content + path: ../docs/pages/writing-content.mdx + icon: fa-duotone fa-file-lines + - page: Set up navigation + path: ../docs/pages/navigation.mdx + icon: fa-duotone fa-sitemap + - page: Customize your docs + path: ../docs/pages/customization.mdx + icon: fa-duotone fa-palette + - section: Changelog + contents: + - changelog: ../docs/changelog + - tab: API Reference + layout: + - section: Overview + contents: + - page: API reference + path: ../docs/pages/api-reference-overview.mdx + icon: fa-duotone fa-book + - api: Plant Store API + layout: + - section: Plants + referenced-packages: + - plant + contents: [] diff --git a/fern/versions/v3.yml b/fern/versions/v3.yml new file mode 100644 index 0000000..211bd55 --- /dev/null +++ b/fern/versions/v3.yml @@ -0,0 +1,51 @@ +tabs: + home: + display-name: Docs + icon: home + API Reference: + display-name: API Reference + icon: puzzle + +navigation: + - tab: home + layout: + - section: Get started + contents: + - page: Welcome + path: ../docs/pages/welcome.mdx + icon: fa-duotone fa-house + - page: Edit your docs + path: ../docs/pages/editing-your-docs.mdx + icon: fa-duotone fa-pen-to-square + - page: Write content + path: ../docs/pages/writing-content.mdx + icon: fa-duotone fa-file-lines + - page: Set up navigation + path: ../docs/pages/navigation.mdx + icon: fa-duotone fa-sitemap + - page: Customize your docs + path: ../docs/pages/customization.mdx + icon: fa-duotone fa-palette + - page: Support + path: ../docs/pages/support.mdx + icon: fa-duotone fa-headset + - section: Changelog + contents: + - changelog: ../docs/changelog + - tab: API Reference + layout: + - section: Overview + contents: + - page: API reference + path: ../docs/pages/api-reference-overview.mdx + icon: fa-duotone fa-book + - api: Plant Store API + layout: + - section: Plants + referenced-packages: + - plant + contents: [] + - section: Users + referenced-packages: + - user + contents: []