Skip to content

Commit 3050f01

Browse files
committed
Update doc publishing script and add readme files.
1 parent 0cc5df5 commit 3050f01

File tree

6 files changed

+142
-15
lines changed

6 files changed

+142
-15
lines changed

README.md

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,80 @@
1-
# cpp-client-sdk
1+
# LaunchDarkly monorepo for C++ SDKs.
22

3-
This is a research SDK to determine if creating a pure C++ SDK is
4-
feasible.
3+
This repository contains LaunchDarkly SDK packages which are written in C++.
4+
This includes shared libraries, used by SDKs and other tools, as well as SDKs.
55

6-
It is 100% not supported in any way. In fact, it doesn't even exist at the moment.
6+
## Packages
7+
8+
| SDK packages | issues | tests |
9+
|-------------------------------------------------------|---------------------------------------------|---------------------------------------------------------|
10+
| [libs/client-sdk](packages/sdk/server-node/README.md) | [C++ Client SDK][package-cpp-client-issues] | [![Actions Status][cpp-client-ci-badge]][cpp-client-ci] |
11+
12+
| Shared packages | issues | tests |
13+
|--------------------------------------------------------------|---------------------------------------------------|-----------------------------------------------------------------------|
14+
| [libs/common](libs/common/README.md) | [Common][package-shared-common-issues] | [![Actions Status][shared-common-ci-badge]][shared-common-ci] |
15+
| [libs/server-sent-events](libs/server-sent-events/README.md) | [Common Server][package-shared-sdk-server-issues] | [![Actions Status][shared-sse-ci-badge-badge]][shared-sdk-server-ci] |
16+
17+
## Organization
18+
19+
[TODO]
20+
21+
## LaunchDarkly overview
22+
23+
[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves over 100 billion feature flags
24+
daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/home/getting-started)
25+
using LaunchDarkly today!
26+
27+
[![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly)
28+
29+
## Testing
30+
31+
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test
32+
for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each
33+
method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all
34+
behave correctly.
35+
36+
## Contributing
37+
38+
We encourage pull requests and other contributions from the community. Check out
39+
our [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute to this SDK.
40+
41+
## About LaunchDarkly
42+
43+
- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to
44+
iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard.
45+
With LaunchDarkly, you can:
46+
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group),
47+
gathering feedback and bug reports from real-world use cases.
48+
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on
49+
key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
50+
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy,
51+
or even restart the application with a changed configuration file.
52+
- Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get
53+
access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate
54+
maintenance, without taking everything offline.
55+
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check
56+
out [our documentation](https://docs.launchdarkly.com/sdk) for a complete list.
57+
- Explore LaunchDarkly
58+
- [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information
59+
- [docs.launchdarkly.com](https://docs.launchdarkly.com/ 'LaunchDarkly Documentation') for our documentation and SDK
60+
reference guides
61+
- [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation') for our API
62+
documentation
63+
- [blog.launchdarkly.com](https://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation') for the latest product
64+
updates
65+
66+
[//]: # 'libs/common'
67+
[shared-common-ci-badge]: https://github.com/launchdarkly/cpp-sdks/actions/workflows/common.yml/badge.svg
68+
[shared-common-ci]: https://github.com/launchdarkly/cpp-sdks/actions/workflows/common.yml
69+
[package-shared-common-issues]: https://github.com/launchdarkly/cpp-sdks/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+shared%2Fcommon%22+
70+
71+
[//]: # 'libs/server-sent-events'
72+
[shared-sse-ci-badge-badge]: https://github.com/launchdarkly/cpp-sdks/actions/workflows/sse.yml/badge.svg
73+
[shared-sdk-server-ci]: https://github.com/launchdarkly/jcpp-sdks/actions/workflows/sse.yml
74+
[package-shared-sdk-server-issues]: https://github.com/launchdarkly/cpp-sdks/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+shared%2Fsse%22+
75+
76+
77+
[//]: # 'libs/client-sdk'
78+
[cpp-client-ci-badge]: https://github.com/launchdarkly/cpp-sdks/actions/workflows/client.yml/badge.svg
79+
[cpp-client-ci]: https://github.com/launchdarkly/cpp-sdks/actions/workflows/client.yml
80+
[package-cpp-client-issues]: https://github.com/launchdarkly/cpp-sdks/issues?q=is%3Aissue+is%3Aopen+label%3A%22package%3A+sdk%2Fclient%22+

libs/client-sdk/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
LaunchDarkly Client-Side SDK for C/C++
2+
===================================
3+
4+
[![Actions Status](https://github.com/launchdarkly/cpp-sdks/actions/workflows/client.yml/badge.svg)](https://github.com/launchdarkly/cpp-sdks/actions/workflows/client.yml)
5+
6+
The LaunchDarkly Client-Side SDK for C/C++ is designed primarily for use in desktop and embedded systems applications. It follows the client-side LaunchDarkly model for single-user contexts (much like our mobile or JavaScript SDKs). It is not intended for use in multi-user systems such as web servers and applications.
7+
8+
LaunchDarkly overview
9+
-------------------------
10+
[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves over 100 billion feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/docs/getting-started) using LaunchDarkly today!
11+
12+
[![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly)
13+
14+
Compatibility
15+
-------------------------
16+
17+
This version of the LaunchDarkly SDK is compatible with POSIX environments (Linux, OS X, BSD) and Windows.
18+
19+
Getting started
20+
---------------
21+
22+
Download a release archive from the [TODO](TODO) for use in your project. Refer to the [SDK documentation](TODO) for complete instructions on installing and using the SDK.
23+
24+
Learn more
25+
-----------
26+
27+
Check out our [documentation](https://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](TODO).
28+
29+
Testing
30+
-------
31+
32+
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
33+
34+
Contributing
35+
------------
36+
37+
We encourage pull requests and other contributions from the community. Check out our [contributing guidelines](../../CONTRIBUTING.md) for instructions on how to contribute to this SDK.
38+
39+
About LaunchDarkly
40+
-----------
41+
42+
* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
43+
* Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
44+
* Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
45+
* Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
46+
* Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
47+
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list.
48+
* Explore LaunchDarkly
49+
* [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
50+
* [docs.launchdarkly.com](https://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDK reference guides
51+
* [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
52+
* [blog.launchdarkly.com](https://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates

libs/client-sdk/docs/doc.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

libs/common/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# C++ SDK Common
2+
3+
Contains code which is suitable for both client-side and server-side C++ SDKs.
4+
5+
This project is not intended to be directly used in applications, instead a specific client-side or server-side SDK package should be used.

libs/server-sent-events/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# C++ Server Sent Events
2+
3+
This library provides an event source client implementation for use in client-side and server-side LaunchDarkly SDKs.

scripts/publish-doc.sh

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Run this script like:
1+
./sc# Run this script like:
22
# ./scripts/build-doc.sh libs/client-sdk
33

44
set -e
@@ -8,6 +8,8 @@ set -x
88
script_path=$(readlink -f "$0")
99
base_name=$(dirname $script_path)
1010

11+
WORKSPACE="$1"
12+
1113
# Move the built docs so switching branches doesn't conflict.
1214
mv $WORKSPACE/docs $RUNNER_TEMP/doc-temp
1315

@@ -42,7 +44,7 @@ mv $RUNNER_TEMP/doc-temp/* $WORKSPACE/docs
4244
mkdir -p $WORKSPACE
4345
git add $WORKSPACE/docs
4446

45-
git commit -m "chore: Updating docs for $0"
47+
git commit -m "chore: Updating docs for $1"
4648

4749
# Update the local copy in case there have been any interim changes.
4850
# If this works inconsistently, then additional checks should be done.

0 commit comments

Comments
 (0)