Skip to content

Commit 131ac2b

Browse files
committed
Change page titles
1 parent e854c70 commit 131ac2b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

docs/manifest/understanding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: understanding-manifest
3-
title: Working with manifests
3+
title: Understanding manifests
44
---
55

66
## Overview

docs/tasks/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
id: common-tasks
3-
title: Common tasks
2+
id: working-manifests
3+
title: Working with manifests
44
---
55

6-
There are a number of common tasks when working with manifests:
6+
There are a number of common tasks when working with manifests.
7+
Although the tasks and APIs are similar at a high level, the way you accomplish each task is specific to the language being used.
78

89
- [Reading manifest data](./read.mdx)
910
- [Getting resources from a manifest](./get-resources.mdx)

docs/tasks/read.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ Use [`c2pa.read`](../../docs/js-sdk/api/c2pa.c2pa#methods) to read manifest data
1818
- **validationStatus**: A list of any validation errors encountered. See [Validation](../../docs/js-sdk/guides/validation) for more information.
1919

2020
```js
21-
import { createC2pa } from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';
22-
21+
const version = '0.17.2';
2322
const sampleImage = '<IMAGE_URL>';
2423

24+
import { createC2pa } from 'https://cdn.jsdelivr.net/npm/c2pa@${version}/+esm';
25+
2526
(async () => {
2627
// Initialize the c2pa-js SDK
2728
const c2pa = await createC2pa({
2829
wasmSrc:
29-
'https://cdn.jsdelivr.net/npm/c2pa@0.17.2/dist/assets/wasm/toolkit_bg.wasm',
30+
'https://cdn.jsdelivr.net/npm/c2pa@${version}/dist/assets/wasm/toolkit_bg.wasm',
3031
workerSrc:
31-
'https://cdn.jsdelivr.net/npm/c2pa@0.17.2/dist/c2pa.worker.min.js',
32+
'https://cdn.jsdelivr.net/npm/c2pa@${version}/dist/c2pa.worker.min.js',
3233
});
3334

3435
try {

docs/tasks/write.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ import TabItem from '@theme/TabItem';
1111
This is how to write a manifest using Python.
1212
</TabItem>
1313

14-
{' '}
1514
<TabItem value="node" label="Node.js">
1615
This is how to write a manifest using Node.js.
1716
</TabItem>
1817

19-
{' '}
2018
<TabItem value="cpp" label="C++">
2119
This is how to write a manifest using C++.
2220
</TabItem>

sidebars.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const sidebars = {
2424
},
2525
{
2626
type: 'category',
27-
label: 'Working with manifests',
27+
label: 'Understanding manifests',
2828
link: { type: 'doc', id: 'manifest/understanding-manifest' },
2929
collapsed: true,
3030
items: [
@@ -63,8 +63,8 @@ const sidebars = {
6363

6464
{
6565
type: 'category',
66-
label: 'Common tasks',
67-
link: { type: 'doc', id: 'tasks/common-tasks' },
66+
label: 'Working with manifests',
67+
link: { type: 'doc', id: 'tasks/working-manifests' },
6868
collapsed: true,
6969
items: [
7070
{

0 commit comments

Comments
 (0)