diff --git a/fern/docs.yml b/fern/docs.yml index 5da3af5..abbde60 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -15,37 +15,6 @@ layout: page-width: full tabs-placement: header -tabs: - home: - display-name: Home - icon: home - guides: - display-name: Guides - icon: book - API Reference: - display-name: API Reference - icon: puzzle - -navigation: - - tab: home - layout: - - section: Get Started - contents: - - page: Welcome - path: docs/pages/welcome.mdx - - tab: guides - layout: - - section: Learn - contents: - - page: Concepts - path: docs/pages/concepts.mdx - - page: SDKs - path: docs/pages/sdks.mdx - slug: sdks - - tab: API Reference - layout: - - api: API Reference - navbar-links: - type: minimal text: Fork this repo @@ -68,3 +37,11 @@ logo: href: https://buildwithfern.com/?utm_campaign=demo&utm_medium=plantstore&utm_source=logo favicon: docs/assets/favicon.svg + +products: + - display-name: Developers + path: ./products/developers/product-developers.yml + icon: fa-solid fa-code + - display-name: Learning + path: ./products/learning/product-learning.yml + icon: fa-solid fa-graduation-cap diff --git a/fern/docs/pages/concepts.mdx b/fern/products/developers/pages/concepts.mdx similarity index 100% rename from fern/docs/pages/concepts.mdx rename to fern/products/developers/pages/concepts.mdx diff --git a/fern/docs/pages/sdks.mdx b/fern/products/developers/pages/sdks.mdx similarity index 85% rename from fern/docs/pages/sdks.mdx rename to fern/products/developers/pages/sdks.mdx index d122ce2..aa47dea 100644 --- a/fern/docs/pages/sdks.mdx +++ b/fern/products/developers/pages/sdks.mdx @@ -13,15 +13,15 @@ We regularly update our SDKs using [Fern](https://buildwithfern.com/?utm_campaig ```shell Node -bash npm install plantstore-sdk # or yarn add plantstore-sdk +npm install plantstore-sdk ``` ```shell Python -bash pip install plantstore +pip install plantstore ``` ```shell Go -bash go get -u github.com/fern-demo/plantstore-go +go get -u github.com/fern-demo/plantstore-go ``` ```xml Java (Maven) @@ -37,11 +37,11 @@ implementation 'com.buildwithfern.plantstore:plantstore:0.0.1' ``` ```shell Ruby -bash gem install plantstore +gem install plantstore ``` ```shell C# -bash nuget install plantstore.net +nuget install plantstore.net ``` diff --git a/fern/docs/pages/welcome.mdx b/fern/products/developers/pages/welcome.mdx similarity index 93% rename from fern/docs/pages/welcome.mdx rename to fern/products/developers/pages/welcome.mdx index 07be66b..fbcf602 100644 --- a/fern/docs/pages/welcome.mdx +++ b/fern/products/developers/pages/welcome.mdx @@ -12,10 +12,10 @@ Welcome to the Plant Store API docs! This site demonstrates how to use Fern to g Here you'll find information about managing your plants, customers, and orders for your plant shop. - + + Learn when and how much to water different types of plants. Overwatering is one of the most common mistakes! + + + Understand the difference between full sun, partial shade, and low light conditions. + + + Discover the right soil types and feeding schedules for healthy plant growth. + + + Identify and treat common pests, diseases, and plant health issues. + + + +## Basic guidelines + + + +1. Check soil moisture before watering +2. Match plants to available light conditions +3. Use diluted fertilizer during growing season +4. Allow time for plants to adjust to new environments + + +If you're new to plant care, these species are forgiving and adaptable: + +- **Pothos** (*Epipremnum aureum*): Tolerates low light and inconsistent watering +- **Snake plant** (*Sansevieria trifasciata*): Survives neglect and low light +- **Spider plant** (*Chlorophytum comosum*): Adapts to various conditions and propagates easily +- **ZZ plant** (*Zamioculcas zamiifolia*): Drought-tolerant with minimal light requirements + + + +- Overwatering causes most plant failures +- Insufficient drainage leads to root rot +- Inadequate light results in weak, leggy growth +- Fluorinated tap water can damage sensitive species + + + diff --git a/fern/products/learning/product-learning.yml b/fern/products/learning/product-learning.yml new file mode 100644 index 0000000..03c7bc1 --- /dev/null +++ b/fern/products/learning/product-learning.yml @@ -0,0 +1,22 @@ +tabs: + home: + display-name: Home + icon: home + +navigation: + - tab: home + layout: + - section: Getting started + contents: + - page: Welcome + path: ./pages/welcome.mdx + - section: Essential care topics + contents: + - page: Watering basics + path: ./pages/watering.mdx + - page: Light requirements + path: ./pages/light.mdx + - page: Soil & fertilizer + path: ./pages/soil-fertilizer.mdx + - page: Common problems + path: ./pages/common-problems.mdx