Skip to content

Commit

Permalink
chore(docs): Enhance CLI command reference (#5757)
Browse files Browse the repository at this point in the history
* changes

* chore(docs): rewrite Fern CLI commands for clarity & include generate --preview

* update spacing

* consolidate

* add clarity and formatting

* enhance with quick reference

* add a fern cli quickstart and reduce content on commands page

---------

Co-authored-by: fern-bot <[email protected]>
  • Loading branch information
dannysheridan and fern-support authored Jan 25, 2025
1 parent e426358 commit 90f8e46
Show file tree
Hide file tree
Showing 5 changed files with 295 additions and 172 deletions.
50 changes: 26 additions & 24 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,6 @@ tabs:

css: ./assets/styles.css

redirects:
- source: /learn/api-definition/fern/api-yml-reference
destination: /learn/api-definition/fern/api-yml/overview
- source: /learn/docs/api-references/api-playground/:slug
destination: /learn/docs/api-references/api-explorer/:slug
- source: /learn/docs/api-references/api-playground
destination: /learn/docs/api-references/api-explorer
- source: /learn/sdks/features/:slug
destination: /learn/sdks/capabilities/:slug
- source: /learn/sdks/package-managers/:slug
destination: /learn/sdks/guides/publish-to-package-managers/:slug
- source: /learn/sdks/introduction/configuration
destination: /learn/sdks/introduction/language-support
- source: /learn/sdks/getting-started/generate-your-first-sdk
destination: /learn/sdks/guides/generate-your-first-sdk
- source: /learn/sdks/getting-started/preview-your-sdk-locally
destination: /learn/sdks/guides/preview-your-sdk-locally
- source: /learn/sdks/getting-started/publish-a-public-facing-sdk
destination: /learn/sdks/guides/publish-a-public-facing-sdk
- source: /learn/docs/building-your-docs/:slug
destination: /learn/docs/building-and-customizing-your-docs/:slug

navigation:
- tab: home
layout:
Expand Down Expand Up @@ -583,8 +561,8 @@ navigation:
layout:
- section: CLI Reference
contents:
- page: CLI Overview
path: ./pages/cli-api/overview.mdx
- page: Get Started with Fern CLI
path: ./pages/cli-api/get-started.mdx
- page: Global Options
path: ./pages/cli-api/global-options.mdx
- page: Commands
Expand Down Expand Up @@ -654,3 +632,27 @@ analytics:
api-key: ${POSTHOG_API_KEY}
gtm:
container-id: GTM-55W3VNDW

redirects:
- source: /learn/api-definition/fern/api-yml-reference
destination: /learn/api-definition/fern/api-yml/overview
- source: /learn/docs/api-references/api-playground/:slug
destination: /learn/docs/api-references/api-explorer/:slug
- source: /learn/docs/api-references/api-playground
destination: /learn/docs/api-references/api-explorer
- source: /learn/sdks/features/:slug
destination: /learn/sdks/capabilities/:slug
- source: /learn/sdks/package-managers/:slug
destination: /learn/sdks/guides/publish-to-package-managers/:slug
- source: /learn/sdks/introduction/configuration
destination: /learn/sdks/introduction/language-support
- source: /learn/sdks/getting-started/generate-your-first-sdk
destination: /learn/sdks/guides/generate-your-first-sdk
- source: /learn/sdks/getting-started/preview-your-sdk-locally
destination: /learn/sdks/guides/preview-your-sdk-locally
- source: /learn/sdks/getting-started/publish-a-public-facing-sdk
destination: /learn/sdks/guides/publish-a-public-facing-sdk
- source: /learn/docs/building-your-docs/:slug
destination: /learn/docs/building-and-customizing-your-docs/:slug
- source: /learn/cli-api/cli-reference/cli-overview
destination: /learn/cli-api/cli-reference/get-started
Loading

0 comments on commit 90f8e46

Please sign in to comment.