Skip to content

Commit 661b590

Browse files
authored
Merge pull request #249 from contentauth/docusaurus-v3-upgrade
Upgrade Docusaurus to v3
2 parents c7a0558 + 96b1f22 commit 661b590

File tree

7 files changed

+15774
-22024
lines changed

7 files changed

+15774
-22024
lines changed

docs/js-sdk/deprecation-notice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:::warning Warning
2-
The legacy JavaScript library is deprecated and the repository has been renamed to [c2pa-js-legacy](https://github.com/contentauth/c2pa-js-legacy). The new JavaScript web library is now in the <https://github.com/contentauth/c2pa-js> repository. The old package will no longer be updated or supported.
2+
The legacy JavaScript library is deprecated and the repository has been renamed to [c2pa-js-legacy](https://github.com/contentauth/c2pa-js-legacy). The new JavaScript web library is now in the https://github.com/contentauth/c2pa-js repository. The old package will no longer be updated or supported.
33

44
If you're starting a new application, use the new library instead.
55
:::

docs/mobile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ These projects have recently graduated from "incubator" status, but are still un
88
:::
99

1010
These projects are available to enable developing apps for mobile devices:
11-
- [**iOS Library**](/c2pa-ios/README.md): Provides iOS/macOS support via Swift Package/XCFramework. <br/>GitHub repository: <https://github.com/contentauth/c2pa-ios>.
12-
- [**Android Library**](c2pa-android/README.md): Provides native Android support via an AAR library. <br/>GitHub repository: <https://github.com/contentauth/c2pa-android>.
11+
- [**iOS Library**](/c2pa-ios/README.md): Provides iOS/macOS support via Swift Package/XCFramework. <br/>GitHub repository: https://github.com/contentauth/c2pa-ios.
12+
- [**Android Library**](c2pa-android/README.md): Provides native Android support via an AAR library. <br/>GitHub repository: https://github.com/contentauth/c2pa-android.
1313

1414
Both of these projects wrap the C2PA Rust implementation ([c2pa-rs](https://github.com/contentauth/c2pa-rs)) using its C API bindings.

docs/verify.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The [example-assets](https://contentauth.github.io/example-assets/) repository c
5858

5959
### Source code
6060

61-
The code for the Verify site is open source and is available at <https://github.com/contentauth/verify-site/>.
61+
The code for the Verify site is open source and is available at https://github.com/contentauth/verify-site/.
6262

6363
:::warning Warning
6464
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.

docusaurus.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require('prism-react-renderer/themes/github');
5-
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
4+
//const lightCodeTheme = require('prism-react-renderer/themes/github');
5+
//const darkCodeTheme = require('prism-react-renderer/themes/dracula');
6+
7+
const lightCodeTheme = require('prism-react-renderer').themes.github;
8+
const darkCodeTheme = require('prism-react-renderer').themes.dracula;
69

710
const copyright = `
811
<div style="font-size: 0.75rem;">

0 commit comments

Comments
 (0)