-
Notifications
You must be signed in to change notification settings - Fork 83
docs: add provider to the documentation #1027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
d2d2b21
21071ff
fd4e760
e01ced7
3948348
1e47054
179f865
2aace9f
89ccbd5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ go.work | |
go.work.sum | ||
bin/ | ||
node_modules/ | ||
.venv | ||
|
||
# built documentation | ||
site | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM squidfunk/mkdocs-material:9.5 | ||
RUN pip install mkdocs-include-markdown-plugin |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# .NET provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/dotnet-sdk-contrib/main/src/OpenFeature.Contrib.Providers.Flagd/README.md" | ||
start="## Install dependencies" | ||
%} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Go provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/go-sdk-contrib/main/providers/flagd/README.md" | ||
start="## Installation" | ||
end="## License" | ||
%} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: OpenFeature Providers | ||
description: Overview of the available flagd providers compatible with OpenFeature. | ||
--- | ||
|
||
flagd was built from the ground up to be [Openfeature-compliant](../concepts/feature-flagging.md#openfeature-compliance). | ||
To use it in your application, you must use the [OpenFeature SDK](https://openfeature.dev/docs/reference/technologies/) for your language, along with the associated OpenFeature _provider_. | ||
For more information about Openfeature providers, see the [OpenFeature documentation](https://openfeature.dev/docs/reference/concepts/provider). | ||
|
||
## Providers | ||
|
||
Providers for flagd come in two flavors: those that are built to communicate with a flagd instance (over HTTP or gRPC) and those that embed flagd's evaluation engine directly (note that some providers are capable of operating in either mode). For more information on how to deploy and use flagd, see [architecture](../architecture.md) and [installation](../installation.md). | ||
|
||
The following table lists all the available flagd providers. | ||
|
||
| Technology | RPC | in-process | | ||
| ------------------------------------------------------------- | ---------------- | ---------------- | | ||
| :fontawesome-brands-golang: [Go](./go.md) | :material-check: | :material-check: | | ||
| :fontawesome-brands-java: [Java](./java.md) | :material-check: | :material-check: | | ||
| :fontawesome-brands-node-js: [Node.JS](./nodejs.md) | :material-check: | :material-check: | | ||
| :simple-php: [PHP](./php.md) | :material-check: | :material-close: | | ||
| :simple-dotnet: [.NET](./dotnet.md) | :material-check: | :material-close: | | ||
| :material-web: [Web](./web.md) | :material-check: | :material-close: | | ||
|
||
For information on implementing a flagd provider, see the specifications for [RPC](../reference/specifications/rpc-providers.md) and [in-process](../reference/specifications/in-process-providers.md) providers. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Java provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/java-sdk-contrib/main/providers/flagd/README.md" | ||
start="## Installation" | ||
%} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Node.js provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/js-sdk-contrib/main/libs/providers/flagd/README.md" | ||
start="## Installation" | ||
end="## Building" | ||
%} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# PHP provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/php-sdk-contrib/main/providers/Flagd/README.md" | ||
start="## Installation" | ||
%} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
# Web provider | ||
|
||
## Installation | ||
|
||
{% | ||
include "https://raw.githubusercontent.com/open-feature/js-sdk-contrib/main/libs/providers/flagd-web/README.md" | ||
start="## Installation" | ||
end="## Building" | ||
%} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've configured a redirect to the provider overview page. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,10 @@ theme: | |
- search.suggest | ||
- search.highlight | ||
- search.share | ||
- content.tooltips | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
- navigation.instant | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
- navigation.tracking | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking I could go either way on this one but I thought it was cool. |
||
- navigation.indexes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
extra_css: | ||
- assets/extra.css | ||
|
||
|
@@ -45,7 +49,8 @@ markdown_extensions: | |
line_spans: __span | ||
pygments_lang_class: true | ||
- pymdownx.inlinehilite | ||
- pymdownx.snippets | ||
- pymdownx.snippets: | ||
url_download: true | ||
- admonition | ||
- pymdownx.details | ||
- pymdownx.superfences: | ||
|
@@ -57,9 +62,8 @@ markdown_extensions: | |
- attr_list | ||
- md_in_html | ||
- pymdownx.emoji: | ||
# we are using an older emoji extension because the newest (suggested in docs) doesn't work with Python < 3.10 | ||
emoji_index: !!python/name:materialx.emoji.twemoji | ||
emoji_generator: !!python/name:materialx.emoji.to_svg | ||
emoji_index: !!python/name:material.extensions.emoji.twemoji | ||
emoji_generator: !!python/name:material.extensions.emoji.to_svg | ||
|
||
nav: | ||
- 'Introduction': 'index.md' | ||
|
@@ -70,6 +74,14 @@ nav: | |
- 'Feature Flagging': 'concepts/feature-flagging.md' | ||
- 'Syncs': 'concepts/syncs.md' | ||
- 'Architecture': 'architecture.md' | ||
- 'OpenFeature Providers': | ||
- 'providers/index.md' | ||
- 'Go': 'providers/go.md' | ||
- 'Java': 'providers/java.md' | ||
- 'Node.JS': 'providers/nodejs.md' | ||
- 'PHP': 'providers/php.md' | ||
- '.NET': 'providers/dotnet.md' | ||
- 'Web': 'providers/web.md' | ||
- 'Reference': | ||
- 'CLI': | ||
- 'Overview': 'reference/flagd-cli/flagd.md' | ||
|
@@ -82,7 +94,6 @@ nav: | |
- 'Fractional': 'reference/custom-operations/fractional-operation.md' | ||
- 'Semantic Version': 'reference/custom-operations/semver-operation.md' | ||
- 'String Comparison': 'reference/custom-operations/string-comparison-operation.md' | ||
- 'Providers': 'reference/providers.md' | ||
- 'Monitoring': 'reference/monitoring.md' | ||
- 'Specifications': | ||
- 'RPC Providers': 'reference/specifications/rpc-providers.md' | ||
|
@@ -101,4 +112,10 @@ nav: | |
- 'Troubleshooting': 'troubleshooting.md' | ||
plugins: | ||
- social | ||
- search | ||
- search | ||
# https://github.com/mondeja/mkdocs-include-markdown-plugin | ||
- include-markdown | ||
# https://github.com/mkdocs/mkdocs-redirects | ||
- redirects: | ||
redirect_maps: | ||
'reference/providers.md': 'providers/index.md' |
Uh oh!
There was an error while loading. Please reload this page.