Skip to content

Commit 4359a1e

Browse files
committed
Flatten licensing docs into one product story
1 parent 686456d commit 4359a1e

10 files changed

Lines changed: 54 additions & 50 deletions

File tree

CLA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Contributor License Agreement
22

33
By contributing to this repository, you agree that your contribution may be
4-
distributed under this repository's commercial-friendly license.
4+
distributed under this repository's source-available commercial license.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ conditions:
99

1010
COMMERCIAL USE: If you or your organization generates revenue and uses
1111
the Software in a production environment, you must purchase a license
12-
from ShakaCode. Visit https://reactondjango.com/pro for pricing.
12+
from ShakaCode. Visit https://react-on-django.com/licensing for details.
1313

1414
NON-COMMERCIAL USE: Students, nonprofits, and individuals or
1515
organizations with no revenue may use the Software free of charge.

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This initial scaffold covers:
2121
## Example app
2222

2323
The repository now includes a runnable Django example at `example/`. It ports
24-
the supported client-rendering slice of `react_on_rails_pro/spec/dummy` and
24+
the supported integration scenarios from the upstream reference dummy app and
2525
now also exercises the live SSR, streaming, and RSC adapters.
2626

2727
- the client-side HelloWorld page
@@ -117,3 +117,16 @@ from react_on_django.assets import (
117117
render_react_component_assets,
118118
)
119119
```
120+
121+
## Licensing
122+
123+
React on Django is a single source-available product. The same package and docs
124+
surface cover client rendering, SSR, streaming SSR, and React Server
125+
Components.
126+
127+
- non-commercial and no-revenue use is free
128+
- commercial production use requires a paid license from ShakaCode
129+
130+
See [LICENSE](/Users/justin/codex/react-on-django/LICENSE) for the repository
131+
terms and [react-on-django.com/licensing](https://react-on-django.com/licensing)
132+
for the public licensing page.

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ Current docs are organized into:
1111
- `introduction.md`
1212
- `getting-started/`
1313
- `guides/`
14-
- `pro/`
1514
- `sidebars.ts`

docs/guides/licensing.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensing
2+
3+
React on Django is a single source-available product. There is no separate
4+
feature tier for SSR, streaming SSR, or React Server Components.
5+
6+
## Use model
7+
8+
- non-commercial and no-revenue use is free
9+
- commercial production use requires a paid license from ShakaCode
10+
- the same package, docs set, and example app cover all supported features
11+
12+
## Product scope
13+
14+
Client rendering, SSR, streaming SSR, and RSC all belong to the same package.
15+
As more of the upstream helper surface lands in the Django port, those features
16+
will ship in this package rather than a separate add-on.
17+
18+
## Working with the package
19+
20+
You can adopt the feature set incrementally:
21+
22+
1. start with client rendering
23+
2. enable SSR where it improves first paint or SEO
24+
3. add streaming SSR or RSC where the renderer-backed flows are justified
25+
26+
The licensing model depends on how you use the software in production, not on a
27+
package switch or a second documentation surface.
28+
29+
## Questions
30+
31+
See the
32+
[repository license](https://github.com/shakacode/react-on-django/blob/main/LICENSE)
33+
for the repository terms and visit
34+
[react-on-django.com/licensing](https://react-on-django.com/licensing) for
35+
commercial licensing details.

docs/guides/rsc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ The sample app includes:
4646
## Current scope
4747

4848
The payload endpoint and RSC-mode streaming shell are implemented. Additional
49-
upstream Pro helpers such as `rsc_payload_react_component`, cached helpers, and
49+
upstream helper APIs such as `rsc_payload_react_component`, cached helpers, and
5050
broader RSC example coverage are still being ported.

docs/guides/streaming-ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ The package already supports:
3838
- shared renderer console replay
3939
- streamed RSC payload endpoints under `react_on_django.urls`
4040

41-
Broader controller-level template streaming and more of the upstream Pro
41+
Broader controller-level template streaming and more of the upstream helper
4242
surface are still being expanded.

docs/pro/overview.md

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

docs/pro/upgrading-to-pro.md

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

docs/sidebars.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@ const sidebars: SidebarsConfig = {
2323
"guides/rsc",
2424
"guides/configuration",
2525
"guides/testing-and-operations",
26-
],
27-
},
28-
{
29-
type: "category",
30-
label: "Pro",
31-
items: [
32-
"pro/overview",
33-
"pro/upgrading-to-pro",
26+
"guides/licensing",
3427
],
3528
},
3629
],

0 commit comments

Comments
 (0)