Skip to content

Commit d8e673d

Browse files
committed
Reorg Node v2 docs
1 parent 541c836 commit d8e673d

File tree

4 files changed

+18
-35
lines changed

4 files changed

+18
-35
lines changed

docs/getting-started/verify.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The [example-assets](https://contentauth.github.io/example-assets/) repository c
6161
The code for the Verify site is open source and is available at https://github.com/contentauth/verify-site/.
6262

6363
:::warning Warning
64-
Verify uses the [legacy JavaScript library](js-sdk/getting-started/overview.mdx), which is deprecated and unsupported. For new projects, use the [new JavaScript library](c2pa-js/readme.md) instead.
64+
Verify uses the [legacy JavaScript library](../legacy-js-sdk/overview.mdx), which is deprecated and unsupported. For new projects, use the [new JavaScript library](c2pa-js/readme.md) instead.
6565
:::
6666

6767
## Information displayed

docs/js-sdk/js-landing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ The legacy JavaScript library has been moved to the [c2pa-js-legacy](https://git
1313
You can continue to install and use the old library, but it will no longer be updated or supported. The [Legacy JavaScript library documentation](../legacy-js-sdk/overview.mdx) is also still available for reference.
1414
:::
1515

16-
<Readme name="readme" />
16+
<Readme components={{ h1: () => null }} />

docs/nodejs.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ id: node-landing
33
title: Node.js library
44
---
55

6+
import Readme from './c2pa-node-v2/readme.md';
7+
68
**Sept 2025**: A new Node.js library has been released. We are working on adding documentation for the new library. Please bear with us!
79

810
:::note
911
You can continue to [install and use the old library](c2pa-node/readme.md) the same as before, but it will no longer be updated or supported.
10-
:::
12+
:::
13+
14+
<Readme components={{ h1: () => null }} />

sidebars.js

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -303,40 +303,19 @@ const sidebars = {
303303
collapsed: true,
304304
items: [
305305
{
306-
type: 'category',
307-
label: 'New Node.js library',
308-
link: { type: 'doc', id: 'c2pa-node-v2/readme' },
309-
collapsed: true,
310-
items: [
311-
{
312-
type: 'doc',
313-
id: 'c2pa-node-v2/supported-formats',
314-
label: 'Supported media formats',
315-
},
316-
{
317-
type: 'link',
318-
label: 'API documentation',
319-
href: 'https://contentauth.github.io/c2pa-node-v2/',
320-
},
321-
{
322-
type: 'link',
323-
label: 'GitHub',
324-
href: 'https://github.com/contentauth/c2pa-node-v2/tree/main',
325-
},
326-
],
306+
type: 'doc',
307+
id: 'c2pa-node-v2/supported-formats',
308+
label: 'Supported media formats',
327309
},
328310
{
329-
type: 'category',
330-
label: 'Legacy Node.js library',
331-
link: { type: 'doc', id: 'c2pa-node/readme' },
332-
collapsed: true,
333-
items: [
334-
{
335-
type: 'link',
336-
label: 'GitHub',
337-
href: 'https://github.com/contentauth/c2pa-node',
338-
},
339-
],
311+
type: 'link',
312+
label: 'API documentation',
313+
href: 'https://contentauth.github.io/c2pa-node-v2/',
314+
},
315+
{
316+
type: 'link',
317+
label: 'GitHub',
318+
href: 'https://github.com/contentauth/c2pa-node-v2/tree/main',
340319
},
341320
],
342321
},

0 commit comments

Comments
 (0)