Skip to content

Commit df82b89

Browse files
committed
Add files
1 parent 2cd2510 commit df82b89

File tree

4 files changed

+27
-36
lines changed

4 files changed

+27
-36
lines changed

README.md

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
# Docs Starter
1010

11-
Create beautiful documentation in under 5 minutes using an OpenAPI specification (formerly Swagger).
11+
Create beautiful documentation in under 5 minutes using an OpenAPI specification.
1212

1313
</div>
1414

1515
## Customer Showcase
1616

17-
Get inspired by API documentation built with Fern: [Hume](https://dev.hume.ai) | [Webflow](https://developers.webflow.com) | [Cartesia](https://docs.cartesia.ai) | [Cohere](https://docs.cohere.com) | [ElevenLabs](https://elevenlabs.io/docs)
17+
Get inspired by API documentation built with Fern: [Webflow](https://developers.webflow.com) | [Cartesia](https://docs.cartesia.ai) | [Cohere](https://docs.cohere.com) | [ElevenLabs](https://elevenlabs.io/docs)
1818

1919
---
2020

@@ -27,46 +27,41 @@ Get inspired by API documentation built with Fern: [Hume](https://dev.hume.ai) |
2727

2828
1. Click on the **Use this template** button (found at the top right of this page). You must be logged into GitHub.
2929
2. Choose the option to **create a new repository**. Name it `fern-docs`.
30+
3. Install the Fern CLI by running:
31+
32+
```bash
33+
npm install -g fern-api
34+
```
3035

3136
### Step 2: Clone and open the repo in your preferred code editor
3237

33-
Clone your newly created repository and open it in your favorite code editor (e.g., VS Code).
38+
Clone your newly created repository and open it in your favorite code editor (e.g., Cursor, VS Code).
3439

3540
The files and folders discussed in the following steps will be inside the `fern/` folder in your repository.
3641

3742
### Step 3: Customize your organization name
3843

39-
Open the `fern.config.json` file, which looks like this:
44+
You need to replace `"plantstore"` with your own organization name in two files:
45+
46+
**1. Update `fern.config.json`:**
47+
Open the `fern.config.json` file and change the organization name:
4048

4149
```json
4250
{
43-
"organization": "Plantstore",
44-
"version": "0.17.8"
51+
"organization": "your-organization-name",
52+
"version": "0.77.3"
4553
}
4654
```
4755

48-
Replace `"Plantstore"` with your own organization name within the quotes. Spaces are permitted. Leave the `version` number unchanged.
49-
50-
Open the `docs.yml` file and locate the `url`, which looks like this:
56+
**2. Update `docs.yml`:**
57+
Open the `docs.yml` file and update the URL:
5158

5259
```yml
5360
instances:
54-
- url: plantstore.docs.buildwithfern.com
55-
```
56-
57-
Replace `plantstore` with your own organization's name. Use only alphanumeric characters, hyphens, and underscores. Do not use spaces, and leave the rest of the URL (`docs.buildwithfern.com`) unchanged.
58-
59-
### Step 4: Install the Fern CLI
60-
61-
Install the Fern CLI globally by running:
62-
63-
```bash
64-
npm install -g fern-api
61+
- url: your-organization-name.docs.buildwithfern.com
6562
```
6663
67-
The CLI commands in the following steps must be run from within the root folder of your repository.
68-
69-
### Step 5: Generate your documentation
64+
### Step 4: Generate your documentation
7065
7166
Run the following command:
7267
@@ -80,21 +75,15 @@ Once the documentation is generated, you will receive the URL where your documen
8075

8176
```shell
8277
┌─
83-
│ ✓ plantstore.docs.buildwithfern.com
84-
└─
85-
86-
# OR
87-
88-
┌─
89-
│ ✓ MY_ORGANIZATION_NAME.docs.buildwithfern.com
78+
│ ✓ your-organization-name.docs.buildwithfern.com
9079
└─
9180
```
9281

93-
### Step 6: Try local development
82+
### Step 5: Try local development
9483

9584
Preview your documentation locally. Run ​`fern docs dev`​ to access your docs on your local server at port 3000, hot-reloading as you edit your markdown and OpenAPI files. [Learn more](https://buildwithfern.com/learn/docs/getting-started/development?utm_source=github&utm_medium=readme&utm_campaign=docs-starter-openapi&utm_content=step6) or [watch a 10-second demo](https://www.loom.com/share/0a4658bd78cb45d5a9519277852c7a24?sid=3ce69ad0-bfdb-4fa1-9abf-2f4366d084b9).
9685

97-
### Step 7: Customize your documentation
86+
### Step 6: Customize your documentation
9887

9988
You must run `fern generate --docs` after any modifications to re-generate and publish your documentation site.
10089

@@ -117,7 +106,7 @@ To learn about Fern's built-in component library you can use within MDX files:
117106

118107
- See the [Component Library](https://buildwithfern.com/learn/docs/content/components/overview?utm_source=github&utm_medium=readme&utm_campaign=docs-starter-openapi&utm_content=step7).
119108

120-
### Step 8: Set up a custom domain
109+
### Step 7: Set up a custom domain
121110

122111
If you wish to use a custom subdomain like `https://docs.YOUR_ORGANIZATION.com` or a subpath like `https://YOUR_ORGANIZATION.com/docs`, you can subscribe to the [Starter plan](https://buildwithfern.com/pricing?utm_source=github&utm_medium=readme&utm_campaign=docs-starter-openapi&utm_content=step8). Once subscribed, update `docs.yml` with the custom domain configuration:
123112

@@ -126,7 +115,7 @@ If you wish to use a custom subdomain like `https://docs.YOUR_ORGANIZATION.com`
126115
custom-domain: plantstore.dev
127116
```
128117
129-
### Step 9: Explore advanced features
118+
### Step 8: Explore advanced features
130119
131120
For advanced documentation features and options, view the full [project structure](https://buildwithfern.com/learn/docs/getting-started/project-structure?utm_source=github&utm_medium=readme&utm_campaign=docs-starter-openapi&utm_content=step9).
132121

fern/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# yaml-language-server: $schema=https://schema.buildwithfern.dev/docs-yml.json
2+
13
instances:
24
- url: plantstore.docs.buildwithfern.com # update this to {yourorg}.docs.buildwithfern.com
35
# custom-domain: plantstore.dev # specify your custom domain when you are ready to go live

fern/docs/pages/welcome.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here you'll find information about managing your plants, customers, and orders f
2121
<Card
2222
title="Blog"
2323
icon="fa-solid fa-signal"
24-
href="https://blog.buildwithfern.com"
24+
href="https://buildwithfern.com/blog"
2525
/>
2626
<Card
2727
title="SOC 2 Audited"

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "plantstore",
3-
"version": "0.56.29"
3+
"version": "0.77.3"
44
}

0 commit comments

Comments
 (0)