Skip to content

Commit

Permalink
feat: Bring Elixir library in-house (#10635)
Browse files Browse the repository at this point in the history
* feat: Bring Elixir library in-house

We've talked to @nkezhaya and he's agreed to transfer ownership of the library! It's now hosted in posthog/posthog-elixir

* feat: Update SDK badges

Properly note beta/3rd party where appropriate
  • Loading branch information
rafaeelaudibert authored Feb 11, 2025
1 parent 6c28484 commit 634f1b3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contents/docs/integrate/_snippets/install-elixir.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The package can be installed by adding `posthog` to your list of dependencies in
```elixir
def deps do
[
{:posthog, "~> 0.1"}
{:posthog, "~> 0.4.0"}
]
end
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Posthog.feature_flags("distinct_id_of_your_user")

```

More documentation can be found in the [repository](https://github.com/nkezhaya/posthog).
More documentation can be found in the [repository](https://github.com/posthog/posthog-elixir).
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SettingProperties from "./setting-properties-text.mdx"
import NamingTip from "./naming-tip.mdx"
import SettingProperties from "./setting-properties-text.mdx"
import NamingTip from "./naming-tip.mdx"
import Intro from "./intro.mdx"

<Intro />
Expand Down
8 changes: 3 additions & 5 deletions contents/docs/libraries/elixir/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ title: Elixir
sidebarTitle: Elixir
sidebar: Docs
showTitle: true
tags:
- community
github: 'https://github.com/whitepaperclip/posthog'
github: 'https://github.com/posthog/posthog-elixir'
icon: >-
https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/elixir.svg
features:
Expand All @@ -18,7 +16,7 @@ features:
errorTracking: false
---

This library provides an Elixir HTTP client for PostHog. [See the repository](https://github.com/whitepaperclip/posthog) for more information.
This library provides an Elixir HTTP client for PostHog. [See the repository](https://github.com/posthog/posthog-elixir) for more information.

## Installation

Expand All @@ -44,4 +42,4 @@ import ElixirFeatureFlagsCode from '../../integrate/feature-flags-code/_snippets

## Thanks

Thanks to [nkezhaya](https://github.com/nkezhaya) for contributing this library.
Thanks to [nkezhaya](https://github.com/nkezhaya) for initially contributing this library. The library is maintained by the PostHog team since February 2025.
14 changes: 11 additions & 3 deletions src/navs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1304,9 +1304,6 @@ export const docsMenu = {
{
name: 'Elixir',
url: '/docs/libraries/elixir',
badge: {
title: '3rd party',
},
},
{
name: 'Flutter',
Expand All @@ -1327,6 +1324,10 @@ export const docsMenu = {
{
name: 'Java',
url: '/docs/libraries/java',
badge: {
title: 'Beta',
className: '!bg-orange/10 !text-orange !dark:text-white !dark:bg-orange/50',
},
},
{
name: 'Node.js',
Expand Down Expand Up @@ -1363,10 +1364,17 @@ export const docsMenu = {
{
name: 'Rust',
url: '/docs/libraries/rust',
badge: {
title: '3rd party',
},
},
{
name: '.NET',
url: '/docs/libraries/dotnet',
badge: {
title: 'Beta',
className: '!bg-orange/10 !text-orange !dark:text-white !dark:bg-orange/50',
},
},
],
},
Expand Down

0 comments on commit 634f1b3

Please sign in to comment.