From da08105521e7d4299e824e58be16a01a9420f20d Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Thu, 11 Sep 2025 17:09:23 -0700 Subject: [PATCH 1/2] Add mobile libraries --- docs/c2pa-android/.gitkeep | 0 docs/c2pa-ios/.gitkeep | 0 docs/community.md | 12 ------------ docs/mobile.md | 14 ++++++++++++++ scripts/fetch-readme.js | 11 +++++++++++ sidebars.js | 18 ++++++++++++++++++ 6 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 docs/c2pa-android/.gitkeep create mode 100644 docs/c2pa-ios/.gitkeep create mode 100644 docs/mobile.md diff --git a/docs/c2pa-android/.gitkeep b/docs/c2pa-android/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/c2pa-ios/.gitkeep b/docs/c2pa-ios/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/community.md b/docs/community.md index 85bb327f..e3ac5a18 100644 --- a/docs/community.md +++ b/docs/community.md @@ -29,18 +29,6 @@ We also welcome thoughtful pull requests (PRs) from the community, following the Participants are required to follow the [Adobe Code of Conduct](https://github.com/contentauth/c2pa-rs/blob/main/CODE_OF_CONDUCT.md) to maintain an open and welcoming environment for all. -### Incubator projects - -:::warning Warning -Incubator projects are still under active development and are not yet ready for general use. However, input and bug reports are welcome in the GitHub repositories. -::: - -These projects are in early alpha release: -- [iOS Library](https://github.com/contentauth/c2pa-ios): Provides iOS/macOS support via Swift Package/XCFramework. -- [Android Library](https://github.com/contentauth/c2pa-android): Provides native Android support via an AAR library. - -Both of these projects wrap the C2PA Rust implementation ([c2pa-rs](https://github.com/contentauth/c2pa-rs)) using its C API bindings. - ### Related projects These related projects may be of interest, but the CAI team doesn't maintain or support them: diff --git a/docs/mobile.md b/docs/mobile.md new file mode 100644 index 00000000..399a85f9 --- /dev/null +++ b/docs/mobile.md @@ -0,0 +1,14 @@ +--- +id: mobile +title: Mobile libraries +--- + +:::warning Warning +These projects have recently graduated from "incubator" status, but are still under active development. They may have bugs and missing features: Bug reports and feature requests are welcome in the GitHub repositories. +::: + +These projects are available for developing apps on mobile devices: +- [**iOS Library**](/c2pa-ios/README.md): Provides iOS/macOS support via Swift Package/XCFramework.
GitHub repository: . +- [**Android Library**](c2pa-android/README.md): Provides native Android support via an AAR library.
GitHub repository: . + +Both of these projects wrap the C2PA Rust implementation ([c2pa-rs](https://github.com/contentauth/c2pa-rs)) using its C API bindings. \ No newline at end of file diff --git a/scripts/fetch-readme.js b/scripts/fetch-readme.js index 8d51461b..13c97ffd 100644 --- a/scripts/fetch-readme.js +++ b/scripts/fetch-readme.js @@ -248,6 +248,17 @@ const readmes = [ repo: 'adobe/trustmark', path: 'rust/crates/trustmark-cli/README.md', }, + // Mobile libraries + { + dest: resolve(__dirname, '../docs/c2pa-ios/README.md'), + repo: 'contentauth/c2pa-ios', + path: 'README.md', + }, + { + dest: resolve(__dirname, '../docs/c2pa-android/README.md'), + repo: 'contentauth/c2pa-android', + path: 'README.md', + }, ]; function resolveMarkdownLinks(linkBase, content) { diff --git a/sidebars.js b/sidebars.js index b28649e1..3410acdf 100644 --- a/sidebars.js +++ b/sidebars.js @@ -229,6 +229,24 @@ const sidebars = { }, ], }, + { + type: 'category', + label: 'Mobile libraries', + link: { type: 'doc', id: 'mobile' }, + collapsed: true, + items: [ + { + type: 'doc', + id: 'c2pa-ios/README', + label: 'iOS', + }, + { + type: 'doc', + id: 'c2pa-android/README', + label: 'Android', + }, + ], + }, { type: 'category', label: 'Rust library', From 5f76e8fe57e4c5db88ec9b69a110f29b61485f29 Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Thu, 11 Sep 2025 17:12:57 -0700 Subject: [PATCH 2/2] Wording --- docs/mobile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mobile.md b/docs/mobile.md index 399a85f9..68abd9ba 100644 --- a/docs/mobile.md +++ b/docs/mobile.md @@ -7,7 +7,7 @@ title: Mobile libraries These projects have recently graduated from "incubator" status, but are still under active development. They may have bugs and missing features: Bug reports and feature requests are welcome in the GitHub repositories. ::: -These projects are available for developing apps on mobile devices: +These projects are available to enable developing apps for mobile devices: - [**iOS Library**](/c2pa-ios/README.md): Provides iOS/macOS support via Swift Package/XCFramework.
GitHub repository: . - [**Android Library**](c2pa-android/README.md): Provides native Android support via an AAR library.
GitHub repository: .