Skip to content

Commit f346293

Browse files
committed
Add query param, other small edits
1 parent 6cd1072 commit f346293

16 files changed

+23
-13
lines changed

docs/tasks/build.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import NodeBuild from './includes/_node-build.md';
1212
import CppBuild from './includes/_cpp-build.md';
1313
import RustBuild from './includes/_rust-build.md';
1414

15-
<Tabs groupId="programming-lang">
15+
<Tabs groupId="programming-lang" queryString="lang">
1616

1717
<TabItem value="js" label="JavaScript">
1818

19-
You can't currently attach a manifest to an asset and sign the claim using the JavaScript library.
19+
You can't currently attach a manifest to an asset and sign the claim using the JavaScript library. You need to use a language that runs on the "back-end," such as Python, Node.js, C++, or Rust.
2020

2121
</TabItem>
2222

docs/tasks/get-resources.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import RustGetResources from './includes/_rust-get-resources.md';
1414

1515
Manifest data can include binary resources such as thumbnail and icon images which are referenced by JUMBF URIs in manifest data.
1616

17-
<Tabs groupId="programming-lang">
17+
<Tabs groupId="programming-lang" queryString="lang">
1818

1919
<TabItem value="js" label="JavaScript" default>
2020

docs/tasks/includes/_cpp-build.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
This is an example of how to assign a manifest to an asset and sign the claim using C++:
12

23
```cpp
34
const std::string manifest_json = R"{

docs/tasks/includes/_cpp-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To setup the C++ library:
1+
This is how to set up your code to use the C++ library:
22

33
```cpp
44
#include <iostream>

docs/tasks/includes/_js-get-resources.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
The example below shows how to get resources from manifest data using the JavaScript library.
2+
13
```js
24
import { createC2pa, selectProducer } from 'c2pa';
35
import wasmSrc from 'c2pa/dist/assets/wasm/toolkit_bg.wasm?url';

docs/tasks/includes/_js-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is how to setup the JavaScript library:
1+
This is how to set up your code to use the JavaScript library:
22

33
```js
44
const version = '0.24.2';

docs/tasks/includes/_node-build.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
This is an example of how to assign a manifest to an asset and sign the claim using Node.js:
12

23
```ts
34
import { ManifestBuilder } from 'c2pa-node';

docs/tasks/includes/_node-get-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is how to get resources from a manifest using Node.js.
1+
The example below shows how to get resources from manifest data using the Node.js library.
22

33
```js
44
// TBD

docs/tasks/includes/_node-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is how to setup the Node.js library.
1+
This is how to set up your code to use the Node.js library.
22

33
```js
44
import { createC2pa } from 'c2pa-node';

docs/tasks/includes/_python-build.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
This is an example of how to assign a manifest to an asset and sign the claim using Python.
3+
24
Use a `Builder` object to add a manifest to an asset.
35

46
```python

0 commit comments

Comments
 (0)