From 07e752fe9add7bf9d861fa0de1b7dcf76f40e0cf Mon Sep 17 00:00:00 2001 From: Sahil Chatiwala <46851548+sahil485@users.noreply.github.com> Date: Mon, 27 Oct 2025 21:39:03 -0400 Subject: [PATCH 1/5] Add AI search location to fern documentation Add AI search configuration to documentation. --- fern/docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fern/docs.yml b/fern/docs.yml index 1bd6e2298..752dd2fa7 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -10,6 +10,10 @@ instances: title: Fern Documentation +ai-search: + location: + - docs + metadata: og:image: https://fern-docs.s3.us-east-2.amazonaws.com/fern-docs-og_image-compressed.png twitter:image: https://fern-docs.s3.us-east-2.amazonaws.com/fern-docs-og_image-compressed.png From 661060fc1d33846e4b442780fc8545da289e6304 Mon Sep 17 00:00:00 2001 From: Sahil Chatiwala <46851548+sahil485@users.noreply.github.com> Date: Mon, 27 Oct 2025 21:43:11 -0400 Subject: [PATCH 2/5] Update version to 0.99.0 in fern.config.json --- fern/fern.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/fern.config.json b/fern/fern.config.json index c493e0e56..d81b09238 100644 --- a/fern/fern.config.json +++ b/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "fern", - "version": "0.94.2" + "version": "0.99.0" } From aeacac069722505f64693617ea4e91407fc465c9 Mon Sep 17 00:00:00 2001 From: Sahil Chatiwala <46851548+sahil485@users.noreply.github.com> Date: Mon, 27 Oct 2025 21:47:45 -0400 Subject: [PATCH 3/5] Change log level to debug in docs generation Updated the log level for the documentation generation command to debug. --- .github/workflows/preview-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index 5e60d764c..52031d050 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -30,7 +30,7 @@ jobs: env: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} run: | - OUTPUT=$(fern generate --docs --preview --instance fern-api.docs.buildwithfern.com/learn 2>&1) || true + OUTPUT=$(fern generate --docs --preview --log-level debug --instance fern-api.docs.buildwithfern.com/learn 2>&1) || true echo "$OUTPUT" URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()') echo "Preview URL: $URL" From 0150ced3dc47076108a691e5854af1c47d6eb34b Mon Sep 17 00:00:00 2001 From: Sahil Date: Mon, 27 Oct 2025 21:57:23 -0400 Subject: [PATCH 4/5] try log-level debug --- .github/workflows/preview-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index 52031d050..042008dca 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -30,7 +30,7 @@ jobs: env: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} run: | - OUTPUT=$(fern generate --docs --preview --log-level debug --instance fern-api.docs.buildwithfern.com/learn 2>&1) || true + OUTPUT=$(fern generate --docs --preview --instance fern-api.docs.buildwithfern.com/learn --log-level debug 2>&1) || true echo "$OUTPUT" URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()') echo "Preview URL: $URL" From b3ffb0c23e66f9f06e1b6275c88878308dbbaa77 Mon Sep 17 00:00:00 2001 From: Sahil Chatiwala <46851548+sahil485@users.noreply.github.com> Date: Tue, 28 Oct 2025 12:51:51 -0400 Subject: [PATCH 5/5] Update fern generate command in workflow Removed log-level debug from fern generate command. --- .github/workflows/preview-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index 042008dca..5e60d764c 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -30,7 +30,7 @@ jobs: env: FERN_TOKEN: ${{ secrets.FERN_TOKEN }} run: | - OUTPUT=$(fern generate --docs --preview --instance fern-api.docs.buildwithfern.com/learn --log-level debug 2>&1) || true + OUTPUT=$(fern generate --docs --preview --instance fern-api.docs.buildwithfern.com/learn 2>&1) || true echo "$OUTPUT" URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()') echo "Preview URL: $URL"