From 7a374ada613d0c46e47ac77aa4f9967109d3366f Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 15 Apr 2025 11:54:14 -0500 Subject: [PATCH 1/4] remove elixir --- src/pages/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index c23af8ed..0aeef69a 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -107,15 +107,6 @@ function Langs() { /> React - - Elixir - Elixir -
From 71f85723354c8f3d284771219c1cda3c62ba3211 Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 15 Apr 2025 11:55:24 -0500 Subject: [PATCH 2/4] remove elixir --- docs/how-tos/beta-releases.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/docs/how-tos/beta-releases.md b/docs/how-tos/beta-releases.md index ababcbec..4418b7bf 100644 --- a/docs/how-tos/beta-releases.md +++ b/docs/how-tos/beta-releases.md @@ -52,23 +52,6 @@ A feature flag check will always return false until it is fully enabled or a rul } ``` - - - -```elixir - enabled = Prefab.Client.enabled?( - client, - "my-feature-name", - lookup_key: current_user.lookup_key, - attributes: [email: current_user.email_domain] - ) - - case enabled do - true -> # serve the new feature - false -> # serve the old version of the page - end -``` - From b4440a8735a4722964da1dc9d7f1456572443d4d Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 15 Apr 2025 11:56:23 -0500 Subject: [PATCH 3/4] remove elixir --- docs/tutorials/get-started.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/tutorials/get-started.md b/docs/tutorials/get-started.md index d59baf36..f27e4acc 100644 --- a/docs/tutorials/get-started.md +++ b/docs/tutorials/get-started.md @@ -173,25 +173,6 @@ context["user"]["group"] = "beta" print(prefab.enabled('features.example-flag', context)) ``` - - - -```elixir -options = Prefab.Options.new(api_key: "SDK-KEY, or set ENV var PREFAB_API_KEY") -client = Prefab.Client.new(options) - -# true for 5% of the users -Prefab.Client.enabled?(client, "features.example-flag", lookup_key: "123") - -# true because of the beta group rule -Prefab.Client.enabled?( - client, - "features.example-flag", - lookup_key: "456", - attributes: %{"customer-group" => "beta"} -) -``` - From 8adbd5e7faf0ce12c553fbc5cd025a762e60e42e Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 15 Apr 2025 11:56:59 -0500 Subject: [PATCH 4/4] remove elixir --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index b88f42d1..35f1217a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -169,7 +169,7 @@ const config = { prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, - additionalLanguages: ["java", "ruby", "elixir", "python"], + additionalLanguages: ["java", "ruby", "python"], }, algolia: { // The application ID provided by Algolia